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.

General Questions /

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

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

How do urlvariabletools work?


Reply


2 Posts   654 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, 5513 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");