Quote from: mmuller at Jul 21, 2010, 07:06 AM
Quote from: BobRay at Jul 21, 2010, 12:24 AM
Maybe I’m misunderstanding what you want, but this seems really simple to me in Revo.
A page with screenshots of each theme can set a User Setting for the current user to the theme ID of the image clicked on.
A snippet (call it GetThemeCSS) in each template checks the User Setting and determines the appropriate CSS file for that theme:
<link rel="stylesheet" type="text/css" href="http://yoursite.com/[[!GetThemeCSS]]" />
Any time the user returns, they get their chosen theme and they can revisit the theme selection page at any time to change it.
Bingo Ringo !
Do you not think that this is something that would benefit the whole modxcms community - a global theme selector, and still have page templates for offering different page layouts
Absolutely, but as an add-on component, which in Revolution, can be added with a few clicks.
-
☆ A M B ☆
- 24,524 Posts
And for Evo, there is the SkinGraft module. Auto-load templates, chunks, TVs; even switch the configuration settings for default template.
-
☆ A M B ☆
- 3,112 Posts
@Susan,
SkinGraft still ok for 1.0.4?
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
☆ A M B ☆
- 24,524 Posts
Hmm... haven’t gotten around to using it in 4, it’s fine with 3 though.