Jump to:

3447 Posts in 1032 Topics by 872 members

Template Questions

SilverStripe Forums » Template Questions » Multiple Sidebar and Footer bar

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

Page: 1
Go to End
Author Topic: 1007 Views
  • hunman
    Avatar
    Community Member
    18 Posts

    Multiple Sidebar and Footer bar Link to this post

    Hi,

    I need two sidebars, one on left and other on right in my template , also a footer bar in the bottom. I want to populate content in these sidebars and footer from the back-end only but not manually.

    Which is the best way to achieve this functionality ??? Please Help

    Regards,

    Kumar

  • 3dgoo
    Avatar
    Community Member
    133 Posts

    Re: Multiple Sidebar and Footer bar Link to this post

    The content in the sidebars and the footer, do you want them to be the same for every page?

  • hunman
    Avatar
    Community Member
    18 Posts

    Re: Multiple Sidebar and Footer bar Link to this post

    No it will change depending on the page we are browsing.

  • 3dgoo
    Avatar
    Community Member
    133 Posts

    Re: Multiple Sidebar and Footer bar Link to this post

    You could create three HTMLText fields in your Page class: LeftColumn, RightColumn, FooterText

    You could then enter the text into each page for each of those items and show them on the front end how you like.

    You could be tricky, and check if the fields are empty, and in that case use the parent field.

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