Jump to:

23487 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Don't want BannerImage on HomePage.ss

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 777 Views
  • Valorinbattle
    Community Member
    95 Posts

    Don't want BannerImage on HomePage.ss Link to this post

    Okay so I've successfully setup BannerImage per the tutorials. I'm wanting it to appear on all "Page" type pages but not for "HomePage" pages.

    Right now the code is on Templates/Page.ss.
    If I remove it to Templates/Layouts/Page.ss it is being called thru $Layout (from Templates/Page.ss). This doesn't work for me since it then appears in the middle of my page instead of above the $Layout section.

    What can I do to move it off Templates/Page.ss, get it out of $Layout, and still call it for all "Page" type pages?

    Thanks for your help!
    ~ James

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.