Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Remove Information Sidebox & put links in Footer?

Remove Information Sidebox & put links in Footer?

Locked

Views: 6,732

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
22 Dec 2006, 6:03 PM
#1
mommydesigns avatar

mommydesigns

Zen Follower

Join Date:
Jul 2006
Posts:
135
Plugin Contributions:
0

Remove Information Sidebox & put links in Footer?

This sounds so straight forward and yet, I'm at a loss for where to start. Is this do-able (hahah.... in Zen, it should be right?)?

Thank you for pointing me in the right direction. Once I know how to do one, it should be straight forward to do the rest.
Jennie

22 Dec 2006, 8:48 PM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Remove Information Sidebox & put links in Footer?

Turn the sidebox off in admin -> tools -> layout boxes controller

to add links to the footer try here in the tutorials/FAQ
www.zen-cart.com/tutorials/index.php?article=125

23 Dec 2006, 1:12 AM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,606
Plugin Contributions:
0

Re: Remove Information Sidebox & put links in Footer?

There is no need to handcode links to put in the footer when you can turn on the EZPages footer Menu.

23 Dec 2006, 1:31 AM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Remove Information Sidebox & put links in Footer?

You still have to include (hand code) the EZpages internal links so that they show up in the footer.

23 Dec 2006, 2:59 AM
#5
mommydesigns avatar

mommydesigns

Zen Follower

Join Date:
Jul 2006
Posts:
135
Plugin Contributions:
0

Re: Remove Information Sidebox & put links in Footer?

clydejones:

Turn the sidebox off in admin -> tools -> layout boxes controller

to add links to the footer try here in the tutorials/FAQ
www.zen-cart.com/tutorials/index.php?article=125

Thanks Clyde.

I went to look at this tutorial you linked but it's for the header logo?

I want to get rid of the "Contact Us", "Shipping & Returns", etc.

23 Dec 2006, 3:19 AM
#6
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Remove Information Sidebox & put links in Footer?

If you read the tutorial closely I think it says something like:

we will use tpl_header.php in this article but the same technique is used for tpl_footer.php.

Also as Kim pointed out; you could use the internal link functionality of EZpages to add the links and turn on the EZpages footer.

23 Dec 2006, 5:56 PM
#7
mommydesigns avatar

mommydesigns

Zen Follower

Join Date:
Jul 2006
Posts:
135
Plugin Contributions:
0

Re: Remove Information Sidebox & put links in Footer?

I found the problem - there was no reference to the footer so I did a search on the tpl_footer.php you mentioned above and I found the correct FAQ. :D

https://www.zen-cart.com/tutorials/index.php?article=234

Am working on this as we speak. Thank you! I knew it had to be here somewhere.

3 Jan 2007, 8:17 PM
#8
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Re: Remove Information Sidebox & put links in Footer?

clydejones:

If you read the tutorial closely I think it says something like:

we will use tpl_header.php in this article but the same technique is used for tpl_footer.php.

Also as Kim pointed out; you could use the internal link functionality of EZpages to add the links and turn on the EZpages footer.

I am "Lost" on this one...

I wish also to move all the information (sidebox links) to the footer.

In admin>Tools>EZpages

I see "privacy notice" listed but not "conditions of use", "site map" but not "contact us" etc...

How do I add the links to this menu in order to enable adding to the footer?

So do I create a new EZ page for "conditions of use" in admin>Tools>EZpages>new file and then what about the pages defined in Define Pages Editor?

6 Jan 2007, 9:43 PM
#9
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Re: Remove Information Sidebox & put links in Footer?

Ok, I got "contact us" into the footer using the above link.

But thats where the trail goes cold...

Unless a page is already in the In admin>Tools>EZpages

you must hand code a link into the tpl_footer

like contact us in the above link:

<?php if (DEFINE_CONTACT_US_STATUS <= 1) { ?>
<li><?php echo '<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . BOX_INFORMATION_CONTACT . '</a>'; ?></li>
<?php } ?>

I do not know the zen href link code (. zen_href_link(FILENAME_CONTACT_US, '', 'SSL') for the other terms:

Shipping & returns, conditions of use, and Newsletter Unsubscribe.

I have searched for these terms and found : BOX_INFORMATION_SHIPPING etc....but am unsure of the their true FILENAME or correct coding:unsure: I guess I could copy the url and paste in as an external URL, but that doesn't seem to be the correct way.

6 Jan 2007, 10:08 PM
#10
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Re: Remove Information Sidebox & put links in Footer?

dharma:

Ok, I got "contact us" into the footer using the above link.

But thats where the trail goes cold...

Unless a page is already in the In admin>Tools>EZpages

you must hand code a link into the tpl_footer

like contact us in the above link:

<?php if (DEFINE_CONTACT_US_STATUS <= 1) { ?>
<li><?php echo '<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . BOX_INFORMATION_CONTACT . '</a>'; ?></li>
<?php } ?>

I do not know the zen href link code (. zen_href_link(FILENAME_CONTACT_US, '', 'SSL') for the other terms:

Shipping & returns, conditions of use, and Newsletter Unsubscribe.

I have searched for these terms and found : BOX_INFORMATION_SHIPPING etc....but am unsure of the their true FILENAME or correct coding:unsure: I guess I could copy the url and paste in as an external URL, but that doesn't seem to be the correct way.

Found the correct file names : /includes/modules/sideboxes/MYTEMPLATE/information.php

and have copied

<?php if (DEFINE_CONTACT_US_STATUS <= 1) { ?>
<li><?php echo '<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . BOX_INFORMATION_CONTACT . '</a>'; ?></li>
<?php } ?>

to

<?php if (DEFINE_SHIPPINGINFO_STATUS <= 1) { ?> <li><?php echo '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>'; ?></li> <?php } ?>

etc...

24 Jan 2007, 3:22 PM
#11
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Re: Remove Information Sidebox & put links in Footer?

Kim:

There is no need to handcode links to put in the footer when you can turn on the EZPages footer Menu.
For the benefit of others I am posting: kim was right....There is no need to hardcode....as I finally figured out: if you want a link in the footer, copy the post store url ex: index.php?main_page=conditions and create a new page called "Conditions" and paste url in the Internal Link URL: under the html box in the ez page admin....and place in the footer on this page...sometimes the easy way can be elusive...

15 Jun 2007, 6:16 AM
#12
tex avatar

tex

New Zenner

Join Date:
Jun 2007
Location:
Sydney
Posts:
15
Plugin Contributions:
0

Re: Remove Information Sidebox & put links in Footer?

Just wanted to say a quick thanks to dharma for posting the solutions as it plus OPTION 2 of https://www.zen-cart.com/tutorials/index.php?article=234 helped solve soemthing I have been stuggling with for many many hours!