15 July 2011 at 8:23am
I was wondering if there is a way to remove or disable the Silverstripe Navigator on the front end? It seems to be overwriting some of my CSS styles for the rest of my site.
I'd really rather turn this off than hunt down all of the conflicts. I saw that there is a Compact Navigator module too. Which is closer to what I want if I *have* to keep the navigator on the front end.
16 July 2011 at 12:00am
This worked, thanks! I feel silly that I didn't see that myself.
Also, just for reference the SilverStripeNavigator class/function is located in a php file in sapphire/core/control
I haven't poked around yet to see if I can change where the CSS file is inserted in the header. In my installation layout, form and typography also seem to get re-inserted even though I've included them in my template. But this may be a question/conversation for another thread.
16 July 2011 at 1:33am
...also seem to get re-inserted ...
If you include your stylesheets in your template, check your /mysite/Page.php file.
Maybe you are calling them again in your Page_Controller class.
(Have a look at the init method for Requirements:: ...)