Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2006
    Posts
    48
    Plugin Contributions
    0

    EZpages back, continue and next buttons

    Can anyone tell me where to look so I can rearrange the layout of the ezpages? I want the buttons to be at the bottom and want to just get rid of the continue button altogether. Thanks

  2. #2
    Join Date
    Mar 2006
    Posts
    48
    Plugin Contributions
    0

    Default Re: EZpages back, continue and next buttons

    Well, I've found that I can move the previous, continue and next buttons and even deleted out the continue button. It was found on the
    includes->templates->template_defaults->templates->tpl_page_default.php file which I copied to
    includes->templates->custom->templates->tpl_page_default.php so it would overide and I could change things without messing it up. I moved the following to the bottom and changed part of it to take out the continue

    <?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>

    <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 } ?>


    So that part I have working. The only problem I am having now is that I want my text above the TOC, not wrapped around the side. Any thoughts on how to do this?

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

    Default Re: EZpages back, continue and next buttons

    I don't recall the exact stylename at the moment ... but you'll most likely be needing to alter some stylesheet settings to do that.
    .

    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.

  4. #4
    Join Date
    Mar 2006
    Posts
    48
    Plugin Contributions
    0

    Default Re: EZpages back, continue and next buttons

    Ok, got that part figured out too.

    I moved more stuff around. I hope it still works right. It looks ok now.

    I have one more question though if anyone ever reads this post.

    Without hacking the code, is there a way to just turn off the TOC in ezpages and still have the previous and next buttons show? I want it on the first chapter page amd mpt on the rest of the pages in that chapter. I know it's something stupid I'm missing but my brain must be on strike. Thanks in advance.

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

    Default Re: EZpages back, continue and next buttons

    Peek in the Configuration ... EZ-Pages ...

    EZ-Pages Table of Contents for Chapters Status
    Enable EZ-Pages Table of Contents for Chapters?
    0= OFF
    1= ON
    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!

  6. #6
    Join Date
    Aug 2006
    Posts
    197
    Plugin Contributions
    1

    Default Re: EZpages back, continue and next buttons

    Quote Originally Posted by newbieone View Post
    Well, I've found that I can move the previous, continue and next buttons and even deleted out the continue button. It was found on the
    includes->templates->template_defaults->templates->tpl_page_default.php file which I copied to
    includes->templates->custom->templates->tpl_page_default.php so it would overide and I could change things without messing it up. I moved the following to the bottom and changed part of it to take out the continue

    <?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>

    <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 } ?>


    So that part I have working. The only problem I am having now is that I want my text above the TOC, not wrapped around the side. Any thoughts on how to do this?
    Very helpful, thanks for posting this.

 

 

Similar Threads

  1. Removing product 1 of xxx and listing, next, back buttons from product detail
    By Agent_KGB in forum Customization from the Admin
    Replies: 5
    Last Post: 3 May 2010, 09:19 PM
  2. back in stock notification - buttons 'back' and 'update' not working
    By flix in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 24 Mar 2010, 10:02 PM
  3. How to duplicate EZpage Prev/continue/Next buttons
    By rweeks in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 21 Oct 2008, 08:05 PM
  4. Back buttons, continue buttons erratic
    By tvadpro in forum General Questions
    Replies: 1
    Last Post: 14 Dec 2006, 04:05 PM
  5. Continue Shopping and Checkout buttons css style?
    By Wils in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 27 Jun 2006, 08:13 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