Jump to:

1347 Posts in 439 Topics by 514 members

Themes

SilverStripe Forums » Themes » Includes

Discuss SilverStripe Themes.

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

Page: 1
Go to End
Author Topic: 1794 Views
  • Wil
    Avatar
    Community Member
    15 Posts

    Includes Link to this post

    I am still working on getting my theme to work and everything appears to be working until I use <% include Footer %>.

    None of the includes work. I tried to move my Header by using <% include Header %> and that didn't work either.

    I am still searching the forums and hoping someone can point me in the right direction. Right now I have to have everything in Page.ss.

    tx

    Wil

  • ampedup
    Avatar
    Community Member
    133 Posts

    Re: Includes Link to this post

    After you change a file in the Includes folder you must flush the page with ?flush=1 or ?flush=all.

    Does this fix the problem you were having?

  • Wil
    Avatar
    Community Member
    15 Posts

    Re: Includes Link to this post

    I have tried ?flush=1 several times, but so far only formatting in the main Pages.ss works. As soon as I try to use an include, everything in the include dissappears.

    I am working on the footer and header right now and both when using includes do not work, but both when placed in Page.ss work.

    tx

    Wil

  • Wil
    Avatar
    Community Member
    15 Posts

    Re: Includes Link to this post

    Duh!

    I had a small i on the includes folder.

    Wil

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