I'm looking to build some new themes for my site. I'm currently using SMF 1.1.4 and TPS 0.9.8.
I have a number of packages installed in SMF. It seems the packages all installed to the default SMF theme and when I add a new theme they are not migrated into the newly added theme. Any suggestions as to how I can accomplish this - moving all the packages into the new theme?
Is there a trick to making this happen? If so, what?
Thanks in advance.
A suggest a search in this forum, or even better on SMF and their docsection.
It's more or less all about adding the mods code into the new theme the same way the mod installs to the default theme
You would need to make edits to your themes to support packages/mods you have installed.
You can use this:http://modparser.dev.dansoftaustralia.net/ to get the ida of what code needs to be added into your templates.
All the best!
Thanks, guys. I'll look into it that way. Sounds like an aweful amount of work, but I guess that's what it is.
I'll have to check the documentation, but isn't there a way to force the packages to install to a specific theme?
Just install your package on the default theme and it'll most likely work on every other theme.
Let me explain why...
SMF looks for template files in your current theme.
If it can't find a specific template it'll use the one in the default theme that it needs.
For example, if your theme has a profile.template.php it will not go into the default theme for it's profile.template.php and vice-versa.
Hope you understand.
That doesn't mean it will work on most themes. A lot of themes include the index.template, boardindex.template, display.template etc. So the only way the mod would work is if you remove the templates (with the exception of index.template), or added the code to the theme yourself.
Quote from: Jpgâ,,¢ on April 18, 2008, 08:05:20 PM
Just install your package on the default theme and it'll most likely work on every other theme.
Let me explain why...
SMF looks for template files in your current theme.
If it can't find a specific template it'll use the one in the default theme that it needs.
For example, if your theme has a profile.template.php it will not go into the default theme for it's profile.template.php and vice-versa.
Hope you understand.
Ya, I think I get it. Based on what I've seen in themes, I'm gonna end up doing a whole bunch of porting and what not, which is why I've been putting this off for so long (almost 4 months). I was hoping for a little more plug and play portability, but I guess that just isn't in the cards at this point, So I'll look around and find a theme that I like (I basically want to create a couple of themes for specific areas of my forum, and then one overall theme that has a few different color variations.), install it and then begin to figure out how to modify the theme or bring in the packages.
Quote from: DWillis on April 18, 2008, 10:11:23 PM
Ya, I think I get it. Based on what I've seen in themes, I'm gonna end up doing a whole bunch of porting and what not, which is why I've been putting this off for so long (almost 4 months). I was hoping for a little more plug and play portability, but I guess that just isn't in the cards at this point, So I'll look around and find a theme that I like (I basically want to create a couple of themes for specific areas of my forum, and then one overall theme that has a few different color variations.), install it and then begin to figure out how to modify the theme or bring in the packages.
You are not alone! The problem I faced was the usual problem of making a mistake and then not knowing what you did! Although now I have a greater understanding than I did before, But i still mess up!
Best of luck! Let us know how you get on!
I definitely will. I have roughly 60 packages installed, including the arcarde, gallery, chess mod and a bunch of other stuff... Guess I have quite the tall order coming. I'll keep you posted as I progress. You can also visit my site and follow along with the progress as well.
perhaps posting up your site in the showcase area, as that should get you some feedback as well.. ;)
To be honest, I'm a bit afraid to do that. I'm using the default theme so it's very plain-jane, and I'm still at odds with figuring things out. I have a very small community at the moment which I'm hoping to grow. I just don't think it's worthy of being showcased... yet...