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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Template Questions /

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

sub page not working

Go to End

2 Posts   1282 Views


Community Member, 14 Posts

19 October 2010 at 1:41pm

Hi i have a template that im trying to move over to ss. on it there is a bit of flash at the top it all works well on the home pager but thats all. all the page are useing the same file so cant work out why this is. the funny thing is if i put the url in for any top lever pages but take the / off the end it will work but will not with the / and it will not work on any sub pagers. can any one help me im going nuts trying to work this one out.


Community Member, 135 Posts

21 October 2010 at 11:01am

I'm guessing in your .ss template you have code for your flash. And this is referenced with a relative path. My guess about the problem is the relative path is wrong on all pages, except the home page.

Make the path to the flash absolute by putting {$BaseHref} before the rest of path.

This is all a guess, let me know how you go.