1.5 KiB
1.5 KiB
CMS Concepts
[Work in progress]
Table of Contents
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.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 imageCurrent Theme design [Work in Progress]

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.
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]