Hi all ! !http://teksol.info/cms-pages.png! This is how you setup your pages. Each page has a slug, and the path to a page includes all of it's parent's slug. A page with the Products behavior renders a list of products. This will change, but that is what it does now: !http://teksol.info/cms-product.png! A page with the text behavior does what it's supposed to do: !http://teksol.info/cms-text.png! A random page selects a random page from it's children and renders that instead of itself. Left to do: layouts. That shouldn't be too long. I fully expect to have the CMS up and running by late this evening. Bye ! -- François h4. DOCUMENTATION: XLsuite's CMS(Content Management System) is loosely based on "Radiant":http://radiantcms.org/. The concepts of layouts, pages and behaviors are implemented almost exactly the same. XLsuite's implementation uses "Liquid":http://home.leetsoft.com/liquid as it's template engine. Please read "Liquid's DesignerHowTo":http://home.leetsoft.com/liquid/wiki/DesignerHowTo for details on how to use the template engine. Each behavior makes certain objects available for use in the view. h2. Variables Available to All Templates
user
user.name, user.tile, user.position, user.email, user.dom_id
page
page.title, page.url, page.author, page.guid, page.updated_at, page.dom_id
h2. Text The simplest of the behaviors, this is simply a pass-through. Whatever you put will be directly copied on the output page. h3. Available Variables None, beyond what is already available at the top-level. h2. Random A slightly more complex type of behavior. Pages implementing this behavior will select a random page from it's children, and present that instead of itself. The child's behavior will obviously be respected. h3. Available Variables None, beyond what is already available at the top-level. h2. Products This behavior is slightly more complex. The behavior asks you for two pieces of information. The first one is the product category from which you want to grab products from. The second piece of information is the template you want to run with the products. h3. Available Variables
products
A collection of products
category
category.name, category.picture, category.dom_id
product
product.name, product.unit_price, product.base_length, product.product_no, product.description, product.sku, product.dom_id
h2. Specifics Simply referencing the picture in a block generates an anchor tag and displays a thumbnail of the picture. For example:


generates