Zen Cart Logo
Forums / All Other Contributions/Addons / Footer Menu Support Thread

Footer Menu Support Thread

Views: 81,574

Results 241 to 260 of 535
11 Jun 2010, 2:45 PM
#242
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Footer Menu Support Thread

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

11 Jun 2010, 3:15 PM
#243
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

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

12 Jun 2010, 4:25 PM
#244
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Footer Menu Support Thread

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

12 Jun 2010, 5:50 PM
#245
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

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.
14 Jun 2010, 2:06 AM
#246
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Footer Menu Support Thread

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!

14 Jun 2010, 3:06 AM
#247
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

Doodlebuckets:

Thank ye muchly!

You're most welcome

22 Jun 2010, 6:51 PM
#248
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Footer Menu Support Thread

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

22 Jun 2010, 10:26 PM
#249
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

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

23 Jun 2010, 1:05 AM
#250
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Footer Menu Support Thread

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

23 Jun 2010, 5:44 AM
#251
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

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

24 Jun 2010, 12:46 AM
#252
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Footer Menu Support Thread

clydejones:

See the highlighted comments below:

Thank you!!!!:clap::clap:

1 Jul 2010, 7:58 PM
#253
angst avatar

angst

New Zenner

Join Date:
Dec 2008
Posts:
62
Plugin Contributions:
0

Re: Footer Menu Support Thread

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?

1 Jul 2010, 8:01 PM
#254
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

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.

1 Jul 2010, 10:30 PM
#255
angst avatar

angst

New Zenner

Join Date:
Dec 2008
Posts:
62
Plugin Contributions:
0

Re: Footer Menu Support Thread

Oops, should have mentioned.
Zen cart version 1.3.8a

1 Jul 2010, 10:40 PM
#256
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

angst:

Oops, should have mentioned.
Zen cart version 1.3.8a

Do you have a link to your site.

1 Jul 2010, 10:44 PM
#257
angst avatar

angst

New Zenner

Join Date:
Dec 2008
Posts:
62
Plugin Contributions:
0

Re: Footer Menu Support Thread

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?

1 Jul 2010, 10:52 PM
#258
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

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.

2 Jul 2010, 2:19 AM
#259
angst avatar

angst

New Zenner

Join Date:
Dec 2008
Posts:
62
Plugin Contributions:
0

Re: Footer Menu Support Thread

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

2 Jul 2010, 2:56 AM
#260
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

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