Template folder required following files
- index.php
- info.php
- install
- uninstall.php
- upgrade.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
if(defined('WB_PATH') == false) { exit("Cannot access this file directly"); }
your php code here
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<!-- add your meta tags here -->
<title><?php page_title(' | ', '[WEBSITE_TITLE][SPACER][PAGE_TITLE]'); ?></title>
<meta http-equiv="Content-type" content="text/html; charset=<?php
if(defined('DEFAULT_CHARSET')) { echo DEFAULT_CHARSET; } else
{ echo 'utf-8'; }?>" />
<meta name="keywords" content="<?php page_keywords(); ?>" />
<meta name="description" content="<?php page_title(', ', '[PAGE_TITLE][SPACER]'); ?><?php page_description(); ?>" />
<meta http-equiv="content-language" content="<?php echo strtolower(LANGUAGE); ?>" />
<meta name="generator" content="CMS: Website Baker; www.websitebaker2.org"/>
<link rel="alternate" type="application/rss+xml" title="Feedbezeichnung" href="<?php print WB_URL ?>/modules/news/rss.php?page_id=15" />
<link href="<?php echo TEMPLATE_DIR; ?>/css/my_layout.css" rel="stylesheet" type="text/css" />
<?php
register_frontend_modfiles('css');
// register_frontend_modfiles('jquery');
register_frontend_modfiles('js');
?>
</head>
<body>
<!-- your content here -->
<div class="page">
<!-- to include show_menu2, snippets, page_content, Droplets see detail informations -->
</div>
<?php
// register_frontend_modfiles_body('jquery');
register_frontend_modfiles_body('js');
?>
</body>
</html>
<?php /** * * @category templates * @package frontend // backend * @author WebsiteBaker Project * @copyright 2004-2009, Ryan Djurovich * @copyright 2009-2010, Website Baker Org. e.V. * @link http://www.websitebaker2.org/ * @license http://www.gnu.org/licenses/gpl.html * @platform WebsiteBaker 2.8.x * @requirements PHP 5.2.2 and higher * @version $Id: $ * @filesource $HeadURL: $ * @lastmodified $Date: $ * */ // OBLIGATORY WEBSITE BAKER VARIABLES $template_directory = 'example'; $template_name = 'Example 1.0.0'; $template_function = 'template'; // 'theme' $template_version = '1.0.0'; $template_platform = '2.8.x'; $template_author = 'Autornames'; $template_license = '<a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>'; $template_license_terms = '-'; $template_description = 'Description'; // OPTIONAL VARIABLES FOR ADDITIONAL MENUES AND BLOCKS // $menu[1] = 'Main'; // $menu[2] = 'Top'; // $block[1] = 'Inhalt'; // $block[2] = 'Spalte links';
<?php
/**
*
* @category templates
* @package frontend // backend
* @author WebsiteBaker Project
* @copyright 2004-2009, Ryan Djurovich
* @copyright 2009-2010, Website Baker Org. e.V.
* @link http://www.websitebaker2.org/
* @license http://www.gnu.org/licenses/gpl.html
* @platform WebsiteBaker 2.8.x
* @requirements PHP 5.2.2 and higher
* @version $Id: $
* @filesource $HeadURL: $
* @lastmodified $Date: $
*
*/
// Must include code to stop this file being access directly
if(defined('WB_PATH') == false) { exit("Cannot access this file directly"); }
// your own code here
<?php
/**
*
* @category templates
* @package frontend // backend
* @author WebsiteBaker Project
* @copyright 2004-2009, Ryan Djurovich
* @copyright 2009-2010, Website Baker Org. e.V.
* @link http://www.websitebaker2.org/
* @license http://www.gnu.org/licenses/gpl.html
* @platform WebsiteBaker 2.8.x
* @requirements PHP 5.2.2 and higher
* @version $Id: $
* @filesource $HeadURL: $
* @lastmodified $Date: $
*
*/
// Must include code to stop this file being access directly
if(defined('WB_PATH') == false) { exit("Cannot access this file directly"); }
// your own code here
<?php
/**
*
* @category templates
* @package frontend // backend
* @author WebsiteBaker Project
* @copyright 2004-2009, Ryan Djurovich
* @copyright 2009-2010, Website Baker Org. e.V.
* @link http://www.websitebaker2.org/
* @license http://www.gnu.org/licenses/gpl.html
* @platform WebsiteBaker 2.8.x
* @requirements PHP 5.2.2 and higher
* @version $Id: $
* @filesource $HeadURL: $
* @lastmodified $Date: $
*
*/
// Must include code to stop this file being access directly
if(defined('WB_PATH') == false) { exit("Cannot access this file directly"); }
// your own code here


