Jump to:

3445 Posts in 1031 Topics by 872 members

Template Questions

SilverStripe Forums » Template Questions » random banner

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

Page: 1
Go to End
Author Topic: 801 Views
  • MjamTaart!
    Avatar
    Community Member
    5 Posts

    random banner Link to this post

    Hi,

    I'm a newby at SilverStripe and php. I already succeed in making my own theme. Now I'm wondering if it is possible to add some sponsor banners at the top and side of the page (not in the sidebar as a widget). The banners need to show at random and link to their own URLs in a new window.

    I already searched the forum and documentation, but I can't find a way to do this in SS.
    The current website uses a included php file in the template. Can I use the same file for my SS theme? How?

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: random banner Link to this post

    Shouldn't be too much of a problem... Create something like...

    *snip* <-- was going to write code here, but...

    I think you'll find enough info here --> http://silverstripe.org/template-questions/show/10853

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