New Theme Manager module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: New Theme Manager module

Post by kermit »

calguy1000 wrote: Imported templates and stylesheet names are prefixed with the theme name, which stops most interference, and the system won't let you install a theme twice :)
i've been basically doing that now with my template and css names.. (prepending resource names with a 'theme' name), such as "theme_description_of_resource"

that could get interesting..

i have: aura_2col_layout, aura_2col_screen, aura_2col_print in one "theme"

i export it as a theme name of cmsms_aura10.

someone imports it and all the resources get tagged cmsms_aura10_aura_2col_xxxxx.

they repackage it (changing things or not) as a new theme. now we end up with

theme aura_reloaded_11, that when reimported by a third person, contains resource names like aura_reloaded11_cmsms_aura10_aura_2col_xxxxx

:o ;D

i gather you're anticipating a scenario like this and have planned ahead a bit, so the theme manager knows when a resource was imported via a theme and can strip out the old theme name on a re-export (as a different theme name)?
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: New Theme Manager module

Post by calguy1000 »

uhhm.... no, hadn't thought of that
currently, I'm prefixing everything as "theme_name : template_name" or "theme_name : stylesheet_name"
I could easily strip everything before the delimiter off of te name when exporting though.
that may be a good thing to do.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: New Theme Manager module

Post by kermit »

so i take it there's no database record of what goes with what? you're just relying upon prepending a theme name to the resources to identify what theme they go to. 

if you haven't read my long post txt yet, you might find something worthwhile in it (more possible snags, possible solutions, etc).
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: New Theme Manager module

Post by calguy1000 »

No there's no database activity in the theme manager right now, well at least for keeping track of themes.

This is because of the ability in the stylesheet editor to atach a stylesheet from theme A to a template from theme B, or a default theme, or alternatively, to edit the associations, etc, change their order, etc. which would make exporting very difficult.  We also want to maintain that functionality.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
vostefan

Re: New Theme Manager module

Post by vostefan »

Hi Guys

I am cmsms newbie and can't get the theme manager working. It reports an error on the page ... something should be wrong on line 497 of the code in the ThemeManager.module.php file.

Does anyone know what I'm doing wrong???

Thanks
Post Reply

Return to “Modules/Add-Ons”