Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
Archive
SilverStripe Forums » Archive » View Alternative Theme
Our old forums are still available as a read-only archive.
|
Page:
1
|
Go to End | |
| Author | Topic: View Alternative Theme | 1003 Views |
-
View Alternative Theme

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.
-
Re: View Alternative Theme

13 November 2007 at 12:20pm Last edited: 13 November 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?
-
Re: View Alternative Theme

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.
| 1003 Views | ||
|
Page:
1
|
Go to Top |


