Results 1 to 10 of 40

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Location
    Amarillo, Tx
    Posts
    1,674
    Plugin Contributions
    0

    Default Re: How can I do this???

    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.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How can I do this???

    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)

  3. #3
    Join Date
    Aug 2007
    Location
    Amarillo, Tx
    Posts
    1,674
    Plugin Contributions
    0

    Default Re: How can I do this???

    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?
    Last edited by wmorris; 5 Aug 2007 at 11:09 PM. Reason: forgot to add something

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How can I do this???

    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)

  5. #5
    Join Date
    Aug 2007
    Location
    Amarillo, Tx
    Posts
    1,674
    Plugin Contributions
    0

    Default Re: How can I do this???

    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

  6. #6
    Join Date
    Aug 2007
    Location
    Amarillo, Tx
    Posts
    1,674
    Plugin Contributions
    0

    Default Re: How can I do this???

    Amyone please HELP!

  7. #7
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How can I do this???

    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)

 

 

Similar Threads

  1. how is this speed and can this be improved?
    By raj3396 in forum General Questions
    Replies: 1
    Last Post: 12 Apr 2012, 11:07 AM
  2. How can I do this?
    By spotlight in forum Customization from the Admin
    Replies: 1
    Last Post: 17 Oct 2010, 07:59 PM
  3. how can i do this??
    By kitcorsa in forum General Questions
    Replies: 0
    Last Post: 4 Jan 2008, 12:46 PM
  4. How can I do this...
    By TDman in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 22 Apr 2007, 12:29 AM
  5. How can I do this
    By Massilla in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Jun 2006, 10:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg