Jump to:

23379 Posts in 18298 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » How do urlvariabletools work?

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

Page: 1
Go to End
Author Topic: 595 Views
  • micahsheets
    Avatar
    Community Member
    164 Posts

    How do urlvariabletools work? Link to this post

    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?

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: How do urlvariabletools work? Link to this post

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

    595 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.