/* Enjoy!!! Dino Ciuffetti - dam2k@users.sourceforge.net * * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; version 2 of the License. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * * You should have received a copy of the GNU General Public License along * with this program (COPYING); if not, go to http://www.fsf.org/ or write * to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, * MA 02111-1307, USA. * */ /* Sections file!! May be someone want to change this file and use a file with [] sections, or other stuff instead!!! This file is the main template file, site structure is defined here! */ /* This is the default HTML layout, common in many portals, cms, and so on... MAIN CONTAINER |----------------------------------| | HEADER | |----------------------------------| | | | | | | | | | | | | | | | | | LEFT | BODY | RIGHT | | | | | | | | | | | | | | | | | |----------------------------------| | FOOTER | |----------------------------------| */ if (!($cms->sections->section_isvalid($cms->sections->section_requested))) { // Section not valid // Set the default section to the first available section (home ?!) $cms->sections->section_requested = $cms->conf->Section_arr[0]; } /* This is the HEAD index template Print lines from to
VERY IMPORTANT!!! This method must be called before any character is sent to the browser!! */ // Write out the HTML header, setting the page title to the requested section name $cms->general->flush_html_header_block($cms->conf->site_title . " - " . $cms->sections->section_ldesc($cms->sections->section_requested)); ?>cmsdAm, work in progress!!
Latest news:
1- website grafical restiling: Logic and Grafic design will fully support CSS to improve Logic/Presentation full separation
2- i18n scalable support in cmsdAm: Now you can use language specific (short/long) descriptions for your sections
Please, stay tuned!! Ciao, Dino.
cmsdAm is searching people to write code, plugins, features, testing, and debugging to make it even better.
I would like to make it more robust and powerful, not just a very simple cms framework!
If you want to help me writing/testing/upgrade features for cmsdAm, your help is appreciated!!
Please subscribe to cmsdam-devel and cmsdam-people mailinglists. Also write me a note with all
your comments!! Thanks. Dino.