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.

Template Questions /

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

random banner

Go to End

2 Posts   1280 Views


Community Member, 5 Posts

20 November 2010 at 5:30am


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?


Forum Moderator, 1899 Posts

2 December 2010 at 9:43pm

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