Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2010
    Posts
    248
    Plugin Contributions
    0

    Default New EZ page-- no text

    Hellooo and Happy Australia day

    I've created an EZ page and have it showing up under my heading "Good to Know" When I click on the E-Juice link there is no information. I wrote a whole lot of text for the page and it is visible in Admin> tools> Define pages editor.

    I think I'm getting EZ pages mixed up with define pages!!

    What file do I need to edit to have text appear under the E-Juice EZ page?

    Also how do I get rid of the text "You can include text, links, images, HTML markup and even PHP code" This is showing up under the E-Juice link.

    Please help. I'm going greyer!!!

    cheers,

    Maxy
    Mitch B
    www.lovetovape.com.au
    love the Zen-Cart forums!!!

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: New EZ page-- no text

    Edit/create EZpages in admin>tools>ez-pages
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: New EZ page-- no text

    That text will be in your sidebox's module or tpl_ file.

    To make a define page show in the ez-page links menu, make an "internal link" ez-page. The only content of that will be the link to the define page, entered at the bottom in the "internal link" box. Name the ez-page the way you want the link to appear, and give it appropriate sort orders.

  4. #4
    Join Date
    Dec 2010
    Posts
    248
    Plugin Contributions
    0

    Default Re: New EZ page-- no text

    Excellent!!
    Off to a BBQ then I'll get stuck into it... if I haven't had one to many beverages
    Mitch B
    www.lovetovape.com.au
    love the Zen-Cart forums!!!

  5. #5
    Join Date
    Dec 2010
    Posts
    248
    Plugin Contributions
    0

    Default Re: New EZ page-- no text

    I kept the EZ pages and removed the text from Lines #19 & 20 of the TPL_blank_sidebox file as shown in red below:

    <?php
    /**
    * blank sidebox - allows a blank sidebox to be added to your site
    *
    * @package templateSystem
    * @copyright 2007 Kuroi Web Design
    * @copyright Portions Copyright 2003-2007 Zen Cart Development Team
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: blank_sidebox.php 2007-05-26 kuroi $
    */

    $content = '';
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';

    // Replace the text and HTML tags between the apostophes on lines 19 and 20.
    // Use as many or as few lines using this model as you need for your custom content.
    // If you have a multilingual site define your text in the languages/YOUR_LANGUAGE/extra_definitions/blank_sidebox_defines.php and include it as shown in line 19.
    // If your site is monolingual, you can put the text right here as shown on line 20 (and nobody will know!)
    $content .= '<p>' . TEXT_BLANK_SIDEBOX . '</p>';
    $content .= '<p>You can include text, links, images, HTML markup and even PHP code</p>';

    $content .= '</div>';
    ?>

    I thought I'd post this in case it helps someone else.

    Cheers,

    Maxy
    Mitch B
    www.lovetovape.com.au
    love the Zen-Cart forums!!!

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: New EZ page-- no text

    $content .= '</div>';
    ?>

    You shouldn't remove that </div>, as it balances the '<div id="' . str_replace(... at the top of the file.
    If your output needs one less </div> to be correct, it would be better to remove it from the $content accumulation in the module file, or add one at the beginning of the module sequence if really necessary.

  7. #7
    Join Date
    Dec 2010
    Posts
    248
    Plugin Contributions
    0

    Default Re: New EZ page-- no text

    Thanks Glenn,
    I put that back with no problems!!
    Mitch B
    www.lovetovape.com.au
    love the Zen-Cart forums!!!

 

 

Similar Threads

  1. Add new text to show on every page?
    By MHulak in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Mar 2012, 07:08 AM
  2. Text under new products on main page
    By evil turinp in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 6 Sep 2011, 07:16 PM
  3. Followed steps, defined new page, but no text shows up.
    By slichdesign in forum Customization from the Admin
    Replies: 3
    Last Post: 2 Apr 2009, 01:16 AM
  4. How do I add text to a new page, change page status?
    By METOOTECH in forum General Questions
    Replies: 2
    Last Post: 2 Jun 2007, 01:31 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