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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1050 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");