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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

How do urlvariabletools work?


Go to End


2 Posts   901 Views

Avatar
micahsheets

Community Member, 165 Posts

20 May 2009 at 11:13am

The only urlvariabletool that I have ever been able to get working is ?flush=1. How do others work? I want to use ?showtemplate=1 but when I put that at the end of the url the page looks exactly the same as without it.

Is there some variable I need in my ss files like $SilverStripeNavigator so I can see the output of the urlvariabletools?

Avatar
Willr

Forum Moderator, 5523 Posts

20 May 2009 at 12:26pm

Your site has to be in devmode for it to work. Make sure you have set your environment type to dev

//mysite/ _config.php
Director::set_environment_type("dev");