Jump to:

3439 Posts in 1028 Topics by 869 members

Template Questions

SilverStripe Forums » Template Questions » sub page not working

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

Page: 1
Go to End
Author Topic: 882 Views
  • studio6
    Community Member
    14 Posts

    sub page not working Link to this post

    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 page.ss 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.

  • 3dgoo
    Community Member
    133 Posts

    Re: sub page not working Link to this post

    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.

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.