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.

Customising the CMS /

Assist with sidebar greatly appreciated.


Reply


2 Posts   1020 Views

Avatar
Blue

Community Member, 1 Post

7 May 2009 at 11:58am

Edited: 07/05/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!

Avatar
bschmitt

Community Member, 22 Posts

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