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 /

random banner


Reply


2 Posts   863 Views

Avatar
MjamTaart!

Community Member, 5 Posts

20 November 2010 at 5:30am

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?

Avatar
swaiba

Forum Moderator, 1804 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 --> http://silverstripe.org/template-questions/show/10853