Here are the files I have created for Clearwire page:
this is for page 1
/includes/modules/pages/clearwire/header_php.php
Code:
<?php
/**
* Clear Wire
*
* @package page
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: header_php.php 3230 2006-03-20 23:21:29Z drbyte $
*/
require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
$breadcrumb->add(NAVBAR_TITLE);
// include template specific file name defines
$define_page = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', FILENAME_DEFINE_PAGE_1, 'false');
?>
/includes/languages/english/clearwire.php
Code:
<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers |
// | |
// | http://www.zen-cart.com/index.php |
// | |
// | Portions Copyright (c) 2003 osCommerce |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available through the world-wide-web at the following url: |
// | http://www.zen-cart.com/license/2_0.txt. |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to |
// | [email protected] so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// $Id: clearwire.php 1969 2005-09-13 06:57:21Z drbyte $
//
define('NAVBAR_TITLE', 'Clearwire');
define('HEADING_TITLE', 'Clearwire');
define('TEXT_INFORMATION', 'Clear Wire information goes here.');
?>
/includes/templates/templates_defualt/templates/tpl_clearwire_default.php:
Code:
<?php
/**
* Page Template
*
* @package templateSystem
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_page_1_default.php 3464 2006-04-19 00:07:26Z ajeh $
*/
?>
<div class="centerColumn" id="pageOne">
<h1 id="pageOneHeading"><?php echo HEADING_TITLE; ?></h1>
<?php if (DEFINE_PAGE_1_STATUS >= 1 and DEFINE_PAGE_1_STATUS <= 2) { ?>
<div id="pageOneMainContent" class="content">
<?php
/**
* require the html_define for the page_1 page
*/
require($define_page);
?>
</div>
<?php } ?>
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
</div>
/includes/languages/english/html_includes/define_clearwire.php
am I missing anything here?