5540 Posts in 1738 Topics by 1224 members
|Go to End|
7 May 2009 at 11:58am Last edited: 7 May 2009 11:59am
I know little and even less about php / silverstripe etc. Any ideas or pointers are greatly appreciated.
No matter what I do I can't get the sub navigation modified to fit. I can't figure it out. There's a Navigation.ss file and a Sidebar.ss file. When I edit the Navigation.ss file and upload the edited file absolutely nothing happens. It's as if I didn't edit the file. I can even remove the file and the site still works flawlessly. I can change styles via the Layout.css file but I can't seem to actually edit the includes.
The site is viewable at dev.bluelinecomputer.com and if anyone has any ideas on how to integrate the Sidebar.ss file into the navigation.ss file and it actually work I'd appreciate it. All I need is to be pointed in the right direction and I'll figure out the rest but for the moment I'm beating my head against the wall with this.
7 May 2009 at 9:12pm
You have to edit the Page.ss file. Silvertripe checks if this file has been updated - if not it uses the auto generated cache to display the page. So if you have changed an include or a layout-file you always have to re-save the template container (Page.ss) as well.
I guess there's a setting which disables this behavior, but I haven't really searched for it. So if anybody knows the magic code, please feel free to reply.
|Go to Top|