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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Themes /

Discuss SilverStripe Themes.

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

Includes


Go to End


4 Posts   2683 Views

Avatar
Wil

Community Member, 15 Posts

18 May 2010 at 5:10pm

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

Avatar
3dgoo

Community Member, 135 Posts

18 May 2010 at 6:09pm

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?

Avatar
Wil

Community Member, 15 Posts

19 May 2010 at 2:59am

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

Avatar
Wil

Community Member, 15 Posts

26 May 2010 at 1:22pm

Duh!

I had a small i on the includes folder.

Wil