Files
ROC/doc/concepts.md
2014-11-17 12:44:37 -03:00

52 lines
1.5 KiB
Markdown

CMS Concepts
============
[Work in progress]
##### Table of Contents
[Theme](#theme)
[Regions](#regions)
[Blocks](#blocks)
<a name="theme"/>
Theme
-----
In a CMS , a theme is a collection of templates files (HTML, CSS, Images, etc ) that determine how a CMS web site looks. The goal of a theme is to let you change the look and feel of the site.
Our CMS uses the same default regions as Drupal for themes.
> Current Theme design [Work in Progress]
<a name="regions"/>
Regions
------
In a CMS site, you can image it divided into different areas called regions. Our CMS uses the same default regions as Drupal, so let's see them in an image
![enter image description here](http://themery.com/sites/default/files/figure-15-10.png)
regions[page_top] = Top
regions[header] = Header
regions[content] = Content
regions[highlighted] = Highlighted
regions[help] = Help
regions[footer] = Footer
regions[first_sidebar] = first sidebar
regions[second_sidebar] = second sidebar
regions[page_bottom] = Bottom
**Regions Hold Blocks**
What goes inside regions? Generally, regions hold smaller piece of content called blocks. Blocks hold chunks of content, like the user login form, navigation menu or the information for the footer.
Regions are defined in a configuration file theme.info.
<a name="blocks"/>
CMS_BLOCK
---------
**What is a cms block?**
Blocks are chunk of content that can be created to display whatever you want, and then can be placed in various resgions in your template (theme) layout.
> CMS block design [To be completed]