Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Oct 2010
    Posts
    40
    Plugin Contributions
    0

    Default questions about ezpages

    I have some questions about ezpages.

    1. There are several pages within Tools > EZ-Pages that I did not create (Gift Certificates, Google, Shared, Zen Cart, EZPages and What is EZ-Pages) Do they have a particular function, if so, what function? If not can they be used as general pages?

    2. Using Chapters - TOC creates a Table of Contents in each page, this is ok but I want to be able to customize it. For instance, within the actual table, I want to remove the words "Table of Contents" but not sure where to do it.

    Firebug shows <h2 id="ezPagesTOCHeading">Table of Contents</h2> and Developers Toolkit points me to tpl_page_default.php but I do not see anything for <h2 Could someone point me in the right direction? Thanks

    3. By default, an EZ-Page with TOC shows Next - Continue - Previous at the top of each page. I want to remove these and just use TOC, I see where they are referenced in tpl_page_default.php but not sure what to do with them. Do I just comment them out? You probably realise I am not a PHP guru.

    thanks

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: questions about ezpages

    1. Yes, you can re-use them. Or delete them if they're not relevant for you. They were just examples that were auto-installed by default.

    2. You need to edit that in the appropriate language file.
    The fast way to find out which specific file to edit is by using the Developers Toolkit in your Admin:
    http://www.zen-cart.com/content.php?...-files-to-edit
    http://www.zen-cart.com/content.php?...lopers-toolkit
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Oct 2010
    Posts
    40
    Plugin Contributions
    0

    Default Re: questions about ezpages

    Quote Originally Posted by DrByte View Post
    1. Yes, you can re-use them. Or delete them if they're not relevant for you.
    I thought that was right, thank you.

    You need to edit that in the appropriate language file.
    Knowing that it is a languages file helps.

    The fast way to find out which specific file to edit is by using the Developers Toolkit in your Admin:
    I was doing this but because I didn't know it was a languages file I used 'Look-up in all files' also, I was using the wrong search phrase. I should have used the text instead of the code.

    What about 3. can I just comment out
    Code:
    <div class="centerColumn" id="ezPageDefault">
    <h1 id="ezPagesHeading"><?php echo $var_pageDetails->fields['pages_title']; ?></h1>
    
    <?php if (EZPAGES_SHOW_PREV_NEXT_BUTTONS=='2' and $counter > 1) { ?>
    <div id="navEZPageNextPrev">
          <a href="<?php echo $prev_link; ?>"><?php echo $previous_button; ?></a>
          <?php echo zen_back_link() . $home_button; ?></a>
          <a href="<?php echo $next_link; ?>"><?php echo $next_item_button; ?></a>
        </div>
    <?php } elseif (EZPAGES_SHOW_PREV_NEXT_BUTTONS=='1') { ?>
        <div id="navEZPageNextPrev"><?php echo zen_back_link() . $home_button . '</a>'; ?></div>
    <?php  } ?>
    
    <?php

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: questions about ezpages

    Quote Originally Posted by devlin View Post
    What about 3. can I just comment out
    No, don't comment out anything.
    Just go to Admin->Configuration->Ez-Pages->EZ-Pages Prev/Next Buttons and set it to 0.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Oct 2010
    Posts
    40
    Plugin Contributions
    0

    Default Re: questions about ezpages

    Excellent. Thank you. Now I need to figure out how to give kudos

 

 

Similar Threads

  1. Two Questions 1) Increase Price Font 2) Eliminate EzPages Footer Bar Completely
    By C_R_C in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 May 2010, 09:37 PM
  2. Two questions: Categories and EZPages
    By blag in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 1 Jun 2007, 10:39 AM
  3. About sideboxes and EZpages
    By sukhada in forum Basic Configuration
    Replies: 11
    Last Post: 2 Feb 2007, 10:03 AM
  4. Questions about Templates
    By zoekool in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 24 Jan 2007, 07:40 PM
  5. EZPages Configuration Questions
    By mlindi in forum Basic Configuration
    Replies: 1
    Last Post: 18 Oct 2006, 07:04 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