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   1571 Views

Avatar
lukehumble

17 Posts

13 November 2007 at 1:06am

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

Community Member, 501 Posts

13 November 2007 at 12:20pm

Edited: 13/11/2007 12:20pm

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

17 Posts

14 November 2007 at 11:11pm

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.