You aren't signed in     Sign In    Help

Slate: Theme Template

Slate: Theme Template by dmolsen.
This is a simple template that can be used to provide the layout for pages in slate. If it looks like a Rails view well... it should. Partials allow a developer to include code across multiple templates (think "libraries" in DreamWeaver). The "content_for()" block creates an editable region. To add another editable region to this page the developer would only have to update the template with a new content_for() section. No configuration in the CMS itself. The three options in the content_for() are a key for uniquely identifying content (meaning if you assign a new theme/template to the page but it has the same key the data will show up just fine), the role of the user who should have access (in this case only administrators or above will have access) and lastly the flag that turns on the help message for the content area.

learn more 

Would you like to comment?

Sign up for a free account, or sign in (if you're already a member).

[?]
view photos Uploaded on June 8, 2009
by dmolsen

dmolsen's photostream

2,202
uploads

This photo also belongs to:

slate: v0.4.5a (Set)

24
items

Tags

Click this icon to see all public photos and videos tagged with ror ror
Click this icon to see all public photos and videos tagged with cms cms

Additional Information

AttributionNoncommercialShare Alike Some rights reserved Anyone can see this photo

Add to your map