Jump to:

5554 Posts in 1742 Topics by 1227 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Assist with sidebar greatly appreciated.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 979 Views
  • Blue
    Avatar
    Community Member
    1 Post

    Assist with sidebar greatly appreciated. Link to this post

    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!

  • bschmitt
    Avatar
    Community Member
    22 Posts

    Re: Assist with sidebar greatly appreciated. Link to this post

    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

    979 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.