Jump to:

1347 Posts in 439 Topics by 514 members

Themes

SilverStripe Forums » Themes » [SOLVED]Bootstrap theme - footer include is not included

Discuss SilverStripe Themes.

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

Page: 1
Go to End
Author Topic: 661 Views
  • Cgull
    Avatar
    Community Member
    23 Posts

    [SOLVED]Bootstrap theme - footer include is not included Link to this post

    Hello,

    I have downloaded the Twitter Bootstrap theme from the themes extensions.

    I have changed the page.ss to include a Footer.ss I have created, but the footer is not being included.
    The Header.ss is included, why isn't the Footer?

    My code:
    Page.ss (adding only the part that I have changed)

    <div id="page">
       <% include Header %>
    <div class="container">

    $Layout

    <hr>
    </div> <!-- /container -->
       
       <% include Footer %>
    </div><!-- /page -->

    Footer.ss

    <footer id="footer">
    <div class="left main"><p>&copy; The Clarens Community Policing $Now.Year | <% include Navigation %></p></div>
    <div class="right main"><p>Web developer: <a href="http://www.sigalz.co.za" target="_blank">Sigal Zahavi</a> | Silverstripe Bootstrap Theme by <a href="/">Visit Toowoomba</a></p></div>
    </footer>

  • IOTI
    Avatar
    Community Member
    187 Posts

    Re: [SOLVED]Bootstrap theme - footer include is not included Link to this post

    Did you do a ?flush=1 ? I would also check your spelling. ie if your include is Footer, make sure your filename is Footer and not footer (lowercase f).

  • Cgull
    Avatar
    Community Member
    23 Posts

    Re: [SOLVED]Bootstrap theme - footer include is not included Link to this post

    Thank you IOTI,

    Although I did do flush before, it didn't work, tried it again, this time, the footer is there.

    Maybe I did the flush on the wrong time, with a different change that I've made, do not know anymore

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