Totally Zenned
- Join Date:
- Aug 2007
- Location:
- Amarillo, Tx
- Posts:
- 1,683
- Plugin Contributions:
- 0
How can I do this???
In the More Information box How can I change,add pages and/or links?
Totally Zenned
In the More Information box How can I change,add pages and/or links?
Totally Zenned
You would create an over-ride file for includes/modules/sideboxes/more_information.php and then add extra text or links to it as required.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Totally Zenned
I have done that I was creating a page information about my fund raisers at this address ~~>http://www.mtechama.com/index.php?main_page=fund_raisers it gave me an error. why is that?
Totally Zenned
What files did you create to make up your fund raisers page? I would expect to see at minimum:
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Totally Zenned
I don't have this includes/templates/YOUR_TEMPLATE/templates/tpl_fund_raisers_default.php what can I do?
Totally Zenned
That's the template file for your new page. You will need to create it. What files do you have? and what do they do?
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Totally Zenned
I got thank you, I also got another problem I got the box and "HEADER_SALES_TAXT" in the header how can I get rid of it?
Totally Zenned
Looks like your includes/languages/english/header.php and includes/languages/english/classic/header.php files are missing or incomplete. Maybe you didn't want a logo or tag line and edited them out of the language file without removing them from your common/tpl_header.php template.
It's also a bad idea to use classic as your template folder as all your changes risk being over-written when you next upgrade.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Totally Zenned
I have created a page 1 but when I go into admin Tools>Define Pages the drop down menu don't have the new page that I created.
Totally Zenned
Without information about what files you have created and their functions I am unable to help you with this.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Totally Zenned
Here are the files I have created for Clearwire page:
this is for page 1
/includes/modules/pages/clearwire/header_php.php
<?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
<?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:
<?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?
Totally Zenned
Try putting a copy of /includes/languages/english/html_includes/define_clearwire.php in /includes/languages/english/html_includes/classic/define_clearwire.php
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Totally Zenned
I just did that and I still can't do anything here is my link to my Clearwire page http://www.mtechama.com/index.php?main_page=clearwire
Totally Zenned
Amyone please HELP!
Totally Zenned
Did you move, or copy, your define_clearview.php to the includes/languages/english/html_includes/classic folder? i.e. did you leave a copy in the includes/languages/english/html_includes folder?
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Totally Zenned
Yes I did that but it still doesn't work
this is my /includes/languages/english/html_includes/classic/define_clearwire.php
<p><strong>Clearwire Sample Text ...</strong></p>
<p>This section of text is from the Define Pages Editor located under Tools in the Admin.</p>
<p>To remove this section of the text, delete it from the Define Pages Editor.</p>
<p>This file is located in<code> /languages/english/html_includes/classic/</code></p>
<p><strong>NOTE: Always backup the files in<code> /languages/english/html_includes/your_template</code></strong></p>
and my /includes/languages/html_includes/defin_clearwire.php
<p><strong>Page 1 Sample Text ...</strong></p>
<p>This section of text is from the Define Pages Editor located under Tools in the Admin.</p>
<p>To remove this section of the text, delete it from the Define Pages Editor.</p>
Totally Zenned
The file path for the second file that you listed is incomplete. But unless it is correctly placed (whatever it's contents) the file in the classic folder that you need to amend won't be found.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Totally Zenned
kuroi:
The file path for the second file that you listed is incomplete. But unless it is correctly placed (whatever it's contents) the file in the classic folder that you need to amend won't be found.
What do you mean incomplete? I don't understand?
Totally Zenned
It should be /includes/languages/english/html_includes/classic/define_clearwire.php not /includes/languages/html_includes/defin_clearwire.php
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Totally Zenned
kuroi:
It should be /includes/languages/english/html_includes/classic/define_clearwire.php not /includes/languages/html_includes/defin_clearwire.php
Please be more specific which file is not purpose to be in /includes/languages/html_includes/define_clearwire.php ?
and what file do I need to replace it?
Tell staff why this post should be reviewed.