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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

New to SS


Go to End


5 Posts   1176 Views

Avatar
AstroDaz

Community Member, 3 Posts

15 September 2012 at 1:15am

Hi all

I am currently working with ModX Revolution but always keen to learn/try new things!

So, I have a few basic question - I guess what I need is 'read up on ....' type answers, as I don't know enough about SS to ask about specific components, if that makes sense...

I'm not a CMS provider or developer by any means, but run my own site, and a couple of other simple ones for family/friends. I have a smattering of PHP, OK-ish at HTML and CSS - but again, learning is fun!

So...

1. In ModX, I can set up 'Template Variables' - for example, to display a side bar on a page, or which side bar to display
2. I can do conditional statements in the template, using Template Variables as the subject for example, to determine which elements should be output. So, if the 'Show Sidebar' TV was set to 0, the sidebar DIV would not be rendered in the template
3. I can call snippets of PHP in Modx to specific tasks - for example, return the current month as a number
4. I can call chunks of HTML in Modx to save having the same code in multiple places

Again, answers in the form of 'read up on....' would be great :)

And if there is any thing else an SS newbie should read up on, please let me know!!

Thanks
Daz

Avatar
Spihex

Community Member, 5 Posts

15 September 2012 at 3:47pm

And if there is any thing else an SS newbie should read up on, please let me know!!

There are guidelines that cover your questions

http://doc.silverstripe.org/framework/en/topics/page-types
http://doc.silverstripe.org/framework/en/topics/controller
http://doc.silverstripe.org/framework/en/reference/templates

Avatar
AstroDaz

Community Member, 3 Posts

17 September 2012 at 7:21pm

Perfect!!

Many thanks Spihex!!

Avatar
Dr. J

Community Member, 8 Posts

23 September 2012 at 5:39pm

In a similar vein, is it worth buying any of the existing books given the release of SS3?

Avatar
copernican

Community Member, 189 Posts

26 September 2012 at 3:55am

Dr. J

Buying one of the existing books (this is a good one - http://www.amazon.com/SilverStripe-Module-Extension-Themes-Widgets/dp/184951500X) will help you get started, but you'll have to re-learn basic things like instead of using DataObject::get(), use DataList::create() when fetching info from the database, and it wont cover any of the new template controls, but those are pretty easy to grasp and haven't changed much.