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.

Themes /

Discuss SilverStripe Themes.

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

How can I add multiple columns to the home page?


Reply


3 Posts   1619 Views

Avatar
Larry7

Community Member, 21 Posts

29 May 2010 at 9:29am

I am new to SS and the scripting language and I hope I don't have to be an expert to achieve this.

I just want to create a home page based on any existing template that has multiple columns in it where I can place clickable images and text in the columns. Is this hard? Are there any online tutorials where I might be able to get some help?

I do have an extensive coding background but not in the scripting language that SS uses nor PHP but I can follow a reasonable tutorial.

Any pointers appreciated.

Thanks

Larry

Avatar
joshy

Community Member, 57 Posts

29 May 2010 at 11:32am

Hiya,

Welcome to SilverStripe. This is really easy once you know how but you'll need to know how to do a few things, such as:
* Adding DB fields to a new page type
* Showing them in the CMS area
* Outputting them in the template

I'd consider looking through the tutorials - they're really good. #2 in particular should help, but start at #1!

http://doc.silverstripe.org/tutorial:1-building-a-basic-site

Cheers,

Josh

Avatar
Larry7

Community Member, 21 Posts

4 June 2010 at 3:50pm

Thanks. I had hoped I hadn't need to delve in to the guts of the system but it seems like I have to. Oh well - set aside some time this weekend to dig in.