Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: ezpages not showing

    Quote Originally Posted by picaflor-azul View Post
    This is a bug with 1.5.3. I have seen a fix posted for this on the forum. If you do a search you will find the thread. I'll try to find it also. A bandaid fix would be to upload the includes/modules/pages/page/header_php.php file from version 1.5.1


    Thanks,

    Anne
    I think this may be the fix you were meaning ... but I'm not sure it fixes the posted issue https://github.com/zencart/zencart/pull/152/files

    I don't believe the symptoms posted in this thread are actually a ZC bug, but merely an incompatibility between versions.
    .

    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.

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

    Default Re: ezpages not showing

    The ez-pages template for v1.5.1 is NOT compatible with v1.5.3, because of core changes to ez-pages required to fix other errors that were troublesome in 151.

    So, if you're using a custom template built for v1.5.1 on a v1.5.3 site, you'll need to re-customize your tpl_page_default.php file ...

    Code:
    // vertical TOC listing// create a table of contents for chapter when more than 1 page in the TOC
      if ($pages_listing->RecordCount() > 1 and EZPAGES_SHOW_TABLE_CONTENTS == '1') {?>
    <div id="navEZPagesTOCWrapper">
    <h2 id="ezPagesTOCHeading"><?php echo TEXT_EZ_PAGES_TABLE_CONTEXT; ?></h2>
    <div id="navEZPagesTOC">
    <ul>
    <?php while (!$pages_listing->EOF) {
    // could be used to change classes on current link and toc (table of contents) links
          if ($pages_listing->fields['pages_id'] == $_GET['id']) { ?>
    
    
    <li><?php echo CURRENT_PAGE_INDICATOR; ?><a href="<?php echo zen_ez_pages_link($pages_listing->fields['pages_id']);?>"><?php echo $pages_listing->fields['pages_title']; ?></a></li>
    
    
    <?php } else { ?>
    
    
    <li><?php echo NOT_CURRENT_PAGE_INDICATOR; ?><a href="<?php echo  zen_ez_pages_link($pages_listing->fields['pages_id']); ?>"><?php echo $pages_listing->fields['pages_title']; ?></a></li>
    <?php
          }
          $pages_listing->MoveNext();
        } ?>
    becomes
    Code:
    // vertical TOC listing
    // create a table of contents for chapter when more than 1 page in the TOC
      if (sizeof($toc_links) > 1 and EZPAGES_SHOW_TABLE_CONTENTS == '1') {?>
    <div id="navEZPagesTOCWrapper">
    <h2 id="ezPagesTOCHeading"><?php echo TEXT_EZ_PAGES_TABLE_CONTEXT; ?></h2>
    <div id="navEZPagesTOC">
    <ul>
    <?php foreach($toc_links as $link) {
    // could be used to change classes on current link and toc (table of contents) links
          if ($link['pages_id'] == $_GET['id']) { ?>
    
    
    <li><?php echo CURRENT_PAGE_INDICATOR; ?><a href="<?php echo zen_ez_pages_link($link['pages_id']);?>"><?php echo $link['pages_title']; ?></a></li>
    
    
    <?php } else { ?>
    
    
    <li><?php echo NOT_CURRENT_PAGE_INDICATOR; ?><a href="<?php echo zen_ez_pages_link($link['pages_id']); ?>"><?php echo $link['pages_title']; ?></a></li>
    <?php
          }
        } ?>
    .

    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. #13
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    Default Re: ezpages not showing

    I will keep this in mind for future reference.

    However, I'm not sure this is totally an incompatibility issue as it happened on a clean install with the correct PHP version and Mysql version.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. ezpages not showing
    By Kitty in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 18 Sep 2010, 04:29 PM
  2. EZPages Not showing text that i write?!
    By Nove in forum General Questions
    Replies: 1
    Last Post: 29 Jun 2010, 10:20 AM
  3. EZpages not showing?
    By TrulieBliss in forum General Questions
    Replies: 5
    Last Post: 28 Sep 2008, 10:46 PM
  4. ezpages content not showing up
    By tracyselena in forum General Questions
    Replies: 0
    Last Post: 19 Jun 2008, 06:34 PM
  5. ezpages not showing up in sitemap
    By humbll in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Aug 2007, 11:14 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