21282 Posts in 5730 Topics by 2601 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 265 Views |
-
New to SS

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 placesAgain, 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 -
Re: New to SS

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 -
Re: New to SS

23 September 2012 at 5:39pm
In a similar vein, is it worth buying any of the existing books given the release of SS3?
-
Re: New to SS

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.
| 265 Views | ||
|
Page:
1
|
Go to Top |



