From c3a582f85c6982f70ba8bcb90aff7abd306a06a2 Mon Sep 17 00:00:00 2001 From: jvelilla Date: Mon, 17 Nov 2014 12:10:51 -0300 Subject: [PATCH] Added cms_concepts --- doc/CMS_concepts.md | 43 ++++++++++++++++++++++++++ library/src/kernel/content/cms_block.e | 2 +- 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/doc/CMS_concepts.md b/doc/CMS_concepts.md index e69de29..3bee562 100644 --- a/doc/CMS_concepts.md +++ b/doc/CMS_concepts.md @@ -0,0 +1,43 @@ +CMS Concepts +============ +[Work in progress] + +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] + +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. + + +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] \ No newline at end of file diff --git a/library/src/kernel/content/cms_block.e b/library/src/kernel/content/cms_block.e index 7800a39..16ce3ae 100644 --- a/library/src/kernel/content/cms_block.e +++ b/library/src/kernel/content/cms_block.e @@ -1,5 +1,5 @@ note - description: "Summary description for {CMS_BLOCK}." + description: "Describe content to be placed inside Regions." date: "$Date: 2014-08-28 08:21:49 -0300 (ju. 28 de ago. de 2014) $" deferred class