Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Location
    United Kingdom
    Posts
    457
    Plugin Contributions
    0

    Default Re: adding content to a page

    thankyou, i have it working

    just to make sure ive done it correctly, i will just briefly explain incase you see a way i can streamline it

    /includes/extra_datafiles/extra_define_pages.php
    <?php
    /**
    * @package Pages
    * @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
    */

    // Specials
    define('DEFINE_SPECIALS_STATUS', '2');
    define('FILENAME_DEFINE_SPECIALS', 'define_specials');
    ?>

    /includes/modules/pages/specials/header_.php
    // include template specific file name defines
    $define_page = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', FILENAME_DEFINE_SPECIALS, 'false');

    /includes/templates/myoveridefolder/templates/tpl_specials_default.php
    <?php if (DEFINE_SPECIALS_STATUS >= '1' and DEFINE_SPECIALS_STATUS <= '2') { ?>
    <div id="contactUsNoticeContent" class="content">
    <?php
    require($define_page);
    ?>
    </div>
    <?php } ?>

    includes/languages/english/html_includes/myoveridefolder/define_specials.php
    this contains my text and images in html format

    Ta for help

    Rob

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: adding content to a page

    Thanks for the update that this is working for you and especially for posting the step by step customizations summary that you made ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. adding email address links to page content
    By Interdigital_Designs in forum General Questions
    Replies: 2
    Last Post: 23 Aug 2011, 11:14 PM
  2. Adding extra content to a page ?
    By mjmindustrial in forum General Questions
    Replies: 2
    Last Post: 28 Jul 2011, 03:20 PM
  3. Adding content to main page above and below "Featured" products???
    By aly22 in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 12 Sep 2010, 07:52 PM
  4. Adding Content To The Manufacturer Product Page.
    By CoolCarPartsOnline in forum General Questions
    Replies: 0
    Last Post: 30 Jul 2009, 04:14 AM
  5. Adding Content
    By walper in forum General Questions
    Replies: 1
    Last Post: 3 Jun 2006, 05:16 AM

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