Totally Zenned
- Join Date:
- Apr 2006
- Location:
- Texas
- Posts:
- 6,176
- Plugin Contributions:
- 0
Footer Menu Support Thread
This tutorial will help you think of the right process.
Views: 81,574
Totally Zenned
This tutorial will help you think of the right process.
Totally Zenned
Hello Clyde :) Can you tell me how to get the wrapped text in the footer link to align properly? Ie, http://www.loves2nurse.com/ in the footer column that says "Breastfeeding", the link that says "Instructions for using Breast Pumps"...I would like that text to line up. What do I add to the css and where? Thanks! Amy
Deceased
Doodlebuckets:
Hello Clyde :) Can you tell me how to get the wrapped text in the footer link to align properly? Ie, http://www.loves2nurse.com/ in the footer column that says "Breastfeeding", the link that says "Instructions for using Breast Pumps"...I would like that text to line up. What do I add to the css and where? Thanks! Amy
open includes/templates/YOUR_TEMPLATE/css/stylesheet_footer_menu.css
find the following declaration and make the highlighted change:
li a {margin:0;padding-left:2em;white-space: nowrap;}
Totally Zenned
haredo:
This tutorial will help you think of the right process.
I did it and worked really well...except I would like to keep copyright information on pages and not footer. includes/temp/common/tpl_main_page.php
// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'login,account,no_account,checkout,create_account,conditions,privacy,site_map,returns,shopping_cart,checkout_shipping,checkout_payment,checkout_confirmation,checkout_success,account,account_back_in_stock_notifications,account_newsletters,account_notifications')) ) {
$flag_disable_right = true;
$flag_disable_left = true;
$flag_disable_header = true;
$flag_disable_footer = true;
}
How do I keep copyright? Thanks,Kim
Deceased
kburner:
I did it and worked really well...except I would like to keep copyright information on pages and not footer. includes/temp/common/tpl_main_page.php
// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'login,account,no_account,checkout,create_account,conditions,privacy,site_map,returns,shopping_cart,checkout_shipping,checkout_payment,checkout_confirmation,checkout_success,account,account_back_in_stock_notifications,account_newsletters,account_notifications')) ) {
$flag_disable_right = true;
$flag_disable_left = true;
$flag_disable_header = true;
$flag_disable_footer = true;
}
>
> How do I keep copyright? Thanks,Kim
What you want to do will require editing/modifying several files.
I'd need to work out exactly which files would be involved.
Totally Zenned
clydejones:
open includes/templates/YOUR_TEMPLATE/css/stylesheet_footer_menu.css
find the following declaration and make the highlighted change:
li a {margin:0;padding-left:2em;white-space: nowrap;}
Thank ye muchly!
Deceased
Doodlebuckets:
Thank ye muchly!
You're most welcome
Totally Zenned
clydejones:
What you want to do will require editing/modifying several files.
I'd need to work out exactly which files would be involved.
Hi clydejones,
I am looking to disable footer on login,checkout pages, but would still like to display the copyright information. Were you able to figure out what file to modify?
Thanks, Kim
Deceased
kburner:
Hi clydejones,
I am looking to disable footer on login,checkout pages, but would still like to display the copyright information. Were you able to figure out what file to modify?
Thanks, Kim
You'll need to edit
includes/templates/YOUR_TEMPLATE/common/
tpl_footer.php
tpl_tpl_main_page.php
Totally Zenned
clydejones:
You'll need to edit
includes/templates/YOUR_TEMPLATE/common/
tpl_footer.php
tpl_tpl_main_page.php
I am taking a guess at this....
In tpl_main_page - would I add:
// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'login,account,no_account,checkout,create_account,conditions,privacy,site_map,returns,shopping_cart,checkout_shipping,checkout_payment,checkout_confirmation,checkout_success,account,account_back_in_stock_notifications,account_newsletters,account_notifications')) ) {
$flag_disable_right = true;
$flag_disable_left = true;
$flag_disable_header = true;
$flag_disable_footer = true;
}
To disable footer on these pages.
For tpl_footer - what do I modify in the bottom statement to get copyright only to show?
<!--bof- site copyright display -->
<div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY; ?></div>
<!--eof- site copyright display -->
<?php
} // flag_disable_footer
?>
Thank you, Kim
Would I add
Deceased
See the highlighted comments below:
kburner:
I am taking a guess at this....
In tpl_main_page - would I add:
// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'login,account,no_account,checkout,create_account,conditions,privacy,site_map,returns,shopping_cart,checkout_shipping,checkout_payment,checkout_confirmation,checkout_success,account,account_back_in_stock_notifications,account_newsletters,account_notifications')) ) {
$flag_disable_right = true;
$flag_disable_left = true;
$flag_disable_header = true;
$flag_disable_footer = true;
}
>
> To disable footer on these pages.
>
> This is correct!
>
> For tpl_footer - what do I modify in the bottom statement to get copyright only to show?
>
> ```html
<!--bof- site copyright display -->
<div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY; ?></div>
<!--eof- site copyright display -->
<?php
} // flag_disable_footer
?>
Cut this from tpl_footer.php and past is into tpl_main_page.php just before <!--bof- parse time display -->:
<!--bof- site copyright display --> <div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY; ?></div> <!--eof- site copyright display --> <!--bof- parse time display -->Thank you, Kim
Would I add
Totally Zenned
clydejones:
See the highlighted comments below:
Thank you!!!!:clap::clap:
New Zenner
When you click on one particular link in my footer you get a url like this
-http://My_example_site.com/tips/outfitting.html&zenid=g2n4fgkqe9lror90mj4uf2fht1-
If you click back on your browser and click it again it then works correctly without the jibberish at the end of the url.
Ive previously installed the “about us” module which seems to be the solution to others I found in this thread with the problem.
I have version 1.3.0.14 and the newest version is 1.3.1. Does this matter?
In admin/tools/ezpages I put a few pages there. In the example for the link above in the *Internal link url *field I have *tips/outfitting.html * I have also tried it as */tips/outfitting.html * Im sure Im not doing something correct in the ez pages area. Can someone point me in the right direction?
Deceased
angst:
When you click on one particular link in my footer you get a url like this
-http://My_example_site.com/tips/outfitting.html&zenid=g2n4fgkqe9lror90mj4uf2fht1-
If you click back on your browser and click it again it then works correctly without the jibberish at the end of the url.Ive previously installed the “about us” module which seems to be the solution to others I found in this thread with the problem.
I have version 1.3.0.14 and the newest version is 1.3.1. Does this matter?In admin/tools/ezpages I put a few pages there. In the example for the link above in the *Internal link url *field I have *tips/outfitting.html * I have also tried it as */tips/outfitting.html * Im sure Im not doing something correct in the ez pages area. Can someone point me in the right direction?
Since the footer menu mod was developed for ZC 138/139 it may not work as expected in your ZC version.
You might want to consider upgrading.
New Zenner
Oops, should have mentioned.
Zen cart version 1.3.8a
Deceased
angst:
Oops, should have mentioned.
Zen cart version 1.3.8a
Do you have a link to your site.
New Zenner
Site url is kayak outfitting dawt com
The link that is not working is the link to "outfitting tips"
You will notice that after it doesnt work that if you hit back on your browser and then click it again that it does work.
I have other pages in the footer that link to ezpages that are not a problem.
When I look at my ezpages section in admin I can see that one link that I have in the footer menu is "shipping cost" and the value that I have in the "internal link url" field is index.php?main_page=page_2 That link and similar ones work fine.
In the case of the link that works screwy I am trying to get it to go to a html page that is not part of the cart. The value that I have in the "internal link url" field is tips/outfitting.html
This seems to have something to do with why it acts weird. Is this why the link doesn't work right?
Deceased
angst:
Site url is kayak outfitting dawt com
The link that is not working is the link to "outfitting tips"
You will notice that after it doesnt work that if you hit back on your browser and then click it again that it does work.I have other pages in the footer that link to ezpages that are not a problem.
When I look at my ezpages section in admin I can see that one link that I have in the footer menu is "shipping cost" and the value that I have in the "internal link url" field is index.php?main_page=page_2 That link and similar ones work fine.
In the case of the link that works screwy I am trying to get it to go to a html page that is not part of the cart. The value that I have in the "internal link url" field is tips/outfitting.html
This seems to have something to do with why it acts weird. Is this why the link doesn't work right?
You can also have/create "external links" in ez-pages
that would be the input field just below the internal links field.
New Zenner
Thanks
That worked.
I'd swear I had done that before without success in various flavors of with and without the www. and or http:// but I tried it again and it seems to be working.
in admin/tools/ezpages I cleared out the internal link field and put "http://TheWholeAddress.com/TheSpecificPage.html" in the external link field and it seems to have done the trick.
Thanks again
Deceased
angst:
Thanks
That worked.
I'd swear I had done that before without success in various flavors of with and without the www. and or http:// but I tried it again and it seems to be working.
in admin/tools/ezpages I cleared out the internal link field and put "http://TheWholeAddress.com/TheSpecificPage.html" in the external link field and it seems to have done the trick.Thanks again
Glad you got it sorted
Fields marked required must be completed.
Tell staff why this post should be reviewed.