Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    156
    Plugin Contributions
    0

    Default Add back button to my EZ pages?

    Hi,
    Could anyone tell me how to add the back button to the bottom of my EZ pages so they match the Shipping & Returns, Privacy, Conditions of Use etc. pages?

    I have looked through the php files and found this code
    Code:
    <div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
    but when I paste this onto my EZ page it doesn't do anything. I assume I need to tell the page where to get the button information from but I'm not sure how to do this or which page is required.

    Please can someone point me in the right direction?

    Thanks

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

    Default Re: Add back button to my EZ pages?

    That's PHP code, and belongs in template files. So add it to your custom ez-page template file: tpl_page_default.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. #3
    Join Date
    Jul 2007
    Posts
    156
    Plugin Contributions
    0

    Default Re: Add back button to my EZ pages?

    Thanks DrByte, That worked a treat I added the tpl_page_default to my overrides.

    Thanks

 

 

Similar Threads

  1. Hide back button in ez pages
    By samuelbarnaby in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Apr 2011, 01:59 PM
  2. Add a BACK button to an EZ Page?
    By thelawman in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 29 May 2010, 06:19 PM
  3. Back button for EZ Pages
    By tryphon in forum Customization from the Admin
    Replies: 4
    Last Post: 21 Mar 2010, 11:11 AM
  4. Back button for product pages
    By Scarlet in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 Apr 2007, 02:12 AM
  5. back button - want to add one to more pages like prod listing
    By mex in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Mar 2007, 11:46 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