4572 Posts in 1316 Topics by 981 members
Customising the CMS
SilverStripe Forums » Customising the CMS » Assist with sidebar greatly appreciated.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 712 Views |
-
Assist with sidebar greatly appreciated.

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.
Thanks!
-
Re: Assist with sidebar greatly appreciated.

7 May 2009 at 9:12pm
Hi Blue,
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.
Best Bjoern
| 712 Views | ||
|
Page:
1
|
Go to Top |

