Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

View Alternative Theme


Reply

3 Posts   1557 Views

Avatar
lukehumble

13 November 2007 at 1:06am 17 Posts

I am trying to setup a new theme for my site but have noticed that l cannot view this theme unless l make the hard-coded change.
Is it therefore possible to view the page using the new theme by calling it through the url such as:

http://www.mysite.com/?stage=Stage&theme=MyTheme

Thanks.

Avatar
dio5

13 November 2007 at 12:20pm (Last edited: 13 November 2007 12:20pm), Community Member, 501 Posts

AFAIK the only way to enable a theme is to do

SSViewer::set_theme('my_theme');

in _config.php of your project folder.

Are there any other ways, anyone?

Avatar
lukehumble

14 November 2007 at 11:11pm 17 Posts

It would make great sense to be able to view a theme that you are working on without having to make it live as this means you need to have a separate install just to develop a theme for the same content of your site.