News:

Wondering if this will always be free?  See why free is better.

Main Menu

Is the stock theme of 2.0.x available in VCS form anywhere?

Started by ajv, December 31, 2024, 04:42:54 PM

Previous topic - Next topic

ajv

I admin a small private forum running SMF 2.0.x, and we've made some changes to (a copy of) the stock theme. There doesn't seem to be a .d-style drop-in directory for local overrides, so we've had to modify the built-in index.css, etc. As a result, I expect hassle incorporating any future updates to the stock theme.

Normally I would maintain such changes in a git (or other VCS) branch based on the appropriate upstream repository, and merge updates as needed. But the stock theme doesn't seem to be published separately from SMF itself, and the SMF repo turned up by web searches doesn't include 2.0.x.

Is there any public VCS repository that contains the 2.0.x stock theme?

(my plan B is to fake an upstream branch using the initial files produced by "Install new theme -> Create a copy of Default", and repeat that to produce a new commit anytime 2.0 gets an update, so that I have something to merge with. My understanding is that 2.0 isn't technically EOL but that updates are rare, so it shouldn't be that much hassle, but I would still rather do things right if possible.)

Sir Osis of Liver

2.0 branch is in extended support for security updates only, and there haven't been any of those since 2.0.19 was released several years ago.  There will be no changes to default Curve theme.  If you want a clean original copy of Curve, you can take it from the 2.0.19 install or upgrade packages.
When in Emor, do as the Snamors.
                              - D. Lister

Kindred

The trick is...  you create a second theme from the default  -- it's an option in the theme install page.

Then you set the secondary theme as the system default and do your edits to the secondary theme instead of the default theme
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

ajv

Quote from: Kindred on December 31, 2024, 05:19:14 PMThe trick is...  you create a second theme from the default  -- it's an option in the theme install page.
Yes, that's what I did. The problem I wanted to solve is proper merging of future upstream changes. But, as Osis says:

Quote from: Sir Osis of Liver on December 31, 2024, 05:00:20 PM2.0 branch is in extended support for security updates only [...] There will be no changes to default Curve theme.
This renders the problem moot anyway. Thanks.

Arantor

Even if that were the case, official theme changes for 2.0 would be derivable from taking 2.0.0 and sequentially installing the 2.0 patches. That said, historically patches have always tried to avoid touching themes where possible for the exact reason you want to keep version history.
Holder of controversial views, all of which my own.


Advertisement: