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.

Customising the CMS /

Banner management


Reply


2 Posts   2010 Views

Avatar
snapper

Community Member, 2 Posts

5 June 2010 at 3:38am

Hi all,

I am new to the world of silverstripe and have the majority of the site setup, was very nice and easy to do.

I want to add a module / widget: I want to store a collection of banners, a banner will contain an image, a title, some content and a link. And they will be visible on the home page (only).

I have been trying to follow the [url]http://doc.silverstripe.org/private:tutorial:creating-a-module tutorial[/url], and appear to have failed dismally, as it didnt work, there were no errors, or anything to make it clear where I messed up. I have run the /dev/build/?flush=1, but still there is no button on the top for my banners / random links!

Anyone able to help me out either by knowing the code I want / having the source files from the above tutorial working, or some other way.

Any help would be very much appreciated.

Avatar
craesh

Community Member, 25 Posts

16 June 2010 at 3:24am

Hi snapper!

I've created a banner module some while ago with DataObjectManager. Basically, you start with something similar as what I just described [url=http://silverstripe.org/customising-the-cms/show/285845?start=0#post286528]in another answer[/url].

Maybe you can show is what you have already done, so we can help you extending it.

Greetings!
craesh