Forums / Templates, Stylesheets, Page Layout / Add back button to my EZ pages?

Add back button to my EZ pages?

Views: 1,140

Results 1 to 3 of 3
20 Aug 2012, 10:19 AM
#1
phil020782 avatar

phil020782

Zen Follower

Join Date:
Jul 2007
Posts:
158
Plugin Contributions:
0

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

<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

20 Aug 2012, 7:10 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.