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 /

I'd like customize the ".ss" page


Reply


2 Posts   388 Views

Avatar
r4nm4

Community Member, 4 Posts

16 August 2013 at 4:17pm

Hi Staff,
I'm a very simple web developer and I wanna start to customize this CMS.
I have a just stupid questione:

If I open to a file, for exampe "ProductPage.ss" I find to the code:
<% control RelatedPages %>
<a href="$Link">$Title</a><br />
<% end_control %>

I'd like adding a new "variable", for example $Image just for show the images and not only the title and link :)
But in which file it's possible add this variable?
I used another Framework in my small past, but this FW... it's very difficult :(

Maybe my question is a very stupid question... but I don't understand :(

Thanks you at all.

Avatar
martimiz

Forum Moderator, 1132 Posts

17 August 2013 at 6:26am

Hi,
The best thing you can do to get to know SilverStripe is to follow the tutorials. I think you're using SilverStrope 2.4? In that case start here:

http://doc.silverstripe.org/framework/en/2.4/tutorials/1-building-a-basic-site

If you're just starting, and you're thinking of building a new site, I'd go for SilverStripe 3.0, or even 3.1, that will be stable soon. Select your silverStripe version in the top bar of the docs site :)