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

Footer Menu Support Thread

Views: 81,571

Results 101 to 120 of 535
10 Dec 2009, 7:11 PM
#101
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Footer Menu Support Thread

DivaVocals:

People share ideas of how they use or modify mods all the time.. It's how the community shares and learns.. and sometimes some ideas make their way into mods.. I do not think Clyde will mind at all if you share how you have used his excellent contribution..

Clyde,

Do you mind if I share with how I modified your mod?

10 Dec 2009, 9:44 PM
#102
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

autoace:

Clyde,

Do you mind if I share with how I modified your mod?

Not at all

10 Dec 2009, 10:41 PM
#103
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Footer Menu Support Thread

autoace:

Clyde,

Do you mind if I share with how I modified your mod?If you look around the community does this ALL the time.. It's how we all learn and share tips and tricks..:smile: A few folks have shared ideas in THIS support thread already on how they've used and expanded on Clyde's wonderful mod..

12 Dec 2009, 6:20 PM
#104
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Footer Menu Support Thread

Hi,

I have a question regarding the footer menu. Is it possible to make it dynamically show the sub-category links? In other words, how can I display all brand names at the footer menu without hard coding? Thanks in advance.

12 Dec 2009, 6:56 PM
#105
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

dealbyethan.com:

Hi,

I have a question regarding the footer menu. Is it possible to make it dynamically show the sub-category links? In other words, how can I display all brand names at the footer menu without hard coding? Thanks in advance.

The footer menu was designed to provide "page" links not product/manufacture links.

If you want to show subcategory/brand names you'll need to re-write the mod so that it can make database queries to the appropriate tables in order to pull that information.

20 Dec 2009, 9:38 AM
#106
thirdangle avatar

thirdangle

New Zenner

Join Date:
Jun 2009
Posts:
3
Plugin Contributions:
0

Re: Footer Menu Support Thread

Hi, I am having some problem with About Us link in Footer Menu. I have attached the screenshot. Can anyone please help me to make this work?

I can't get the About Us link to work. It shows BOX_Information_About_us and points towards /index.php?main_page=FILENAME_ABOUT_US&zenid=ag4kbpvp6avf2vofaoj9vj2g87

I have modified the footer menu to my needs but this one is causing much problems for me.

Please some one help.

Thank you.

20 Dec 2009, 3:44 PM
#107
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

thirdangle:

Hi, I am having some problem with About Us link in Footer Menu. I have attached the screenshot. Can anyone please help me to make this work?

I can't get the About Us link to work. It shows BOX_Information_About_us and points towards /index.php?main_page=FILENAME_ABOUT_US&zenid=ag4kbpvp6avf2vofaoj9vj2g87

I have modified the footer menu to my needs but this one is causing much problems for me.

Please some one help.

Thank you.

Downloading and installing the About Us Page contribution (from the downloads section) should take care of the problem.

21 Dec 2009, 4:21 PM
#108
thirdangle avatar

thirdangle

New Zenner

Join Date:
Jun 2009
Posts:
3
Plugin Contributions:
0

Re: Footer Menu Support Thread

Hi clydejones,

Thank you verymuch for your timely help. You saved my life.

Thank you once again.

Thirdangle

30 Dec 2009, 3:48 AM
#109
jeskremer avatar

jeskremer

New Zenner

Join Date:
Nov 2008
Posts:
69
Plugin Contributions:
0

Re: Footer Menu Support Thread

Does anyone have an idea of how I would place the following code in the footer_menu_defines.php to work properly?

Define('BOOKMARK','<li><a href="javascript:bookmarksite('Kremer Publications', 'http://www.kremerpublications.com')">Bookmark this site!</a></li>');

It is for bookmarking the site.

Thank you.

30 Dec 2009, 5:06 AM
#110
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

jeskremer:

Does anyone have an idea of how I would place the following code in the footer_menu_defines.php to work properly?

Define('BOOKMARK','<li><a href="javascript:bookmarksite('Kremer Publications', 'http://www.kremerpublications.com')">Bookmark this site!</a></li>');

It is for bookmarking the site.

Thank you.

try this:

Define('BOOKMARK','<li><a href="javascript:bookmarksite(\'Kremer Publications\', \'http://www.kremerpublications.com\')">Bookmark this site!</a></li>');

30 Dec 2009, 7:42 AM
#112
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

jeskremer:

https://www.kremerpublications.com/index.php

is there any additional script(s) associated with the bookmark link?

30 Dec 2009, 7:51 AM
#113
jeskremer avatar

jeskremer

New Zenner

Join Date:
Nov 2008
Posts:
69
Plugin Contributions:
0

Re: Footer Menu Support Thread

Yes...

It is in the tpl_header.php:

<script type="text/javascript">

/***********************************************
* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

/* Modified to support Opera */
function bookmarksite(title,url){
if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}
</script>
30 Dec 2009, 7:58 AM
#114
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

jeskremer:

Yes...

It is in the tpl_header.php:

<script type="text/javascript"> /*********************************************** * Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ /* Modified to support Opera */ function bookmarksite(title,url){ if (window.sidebar) // firefox window.sidebar.addPanel(title, url, ""); else if(window.opera && window.print){ // opera var elem = document.createElement('a'); elem.setAttribute('href',url); elem.setAttribute('title',title); elem.setAttribute('rel','sidebar'); elem.click(); } else if(document.all)// ie window.external.AddFavorite(url, title); } </script>

Its in the wrong place then.

It should be in the <head> </head> section of the site.

The easiest way to accomplish that is to

create a new php document (jscript_bookmark.php) copy the script into that file. save it. and then upload to your server

includes/templates/YOUR_TEMPLATE/jscript/jscript_bookmark.php
30 Dec 2009, 8:05 AM
#115
jeskremer avatar

jeskremer

New Zenner

Join Date:
Nov 2008
Posts:
69
Plugin Contributions:
0

Re: Footer Menu Support Thread

I have made that change.

1 Feb 2010, 11:03 PM
#116
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: Footer Menu Support Thread

Hi,

Need some help getting the styling right with this great mod!

Just looking to get the whole thing centered correctly, I believe its a bit off (to the left).

Here is the css, I have made changes to it (changes marked by comments) - trying to get the styling right!

#footer {
	clear:both;
	margin:5em 0em 0em 0em; /*0*/
	text-align: center; /*added code*/
	}
	
/*
#navSuppWrapper {
	margin: 10px 5px 0;
	padding: 0;
	background:none;
	font-weight: bold;none
	}
*/
	
dl {  /*Adjust the height and width of the menu*/
	/*margin:5px 160px 3px 160px;/*0 0 3px 0*/
	margin:5px auto 3px auto;/*added*/
	padding:0 auto;/*0*/
	clear:both;
	height:125px;/*79px */
	width:75%;/*100%*/
	color: #005599; /*added code*/
	background-color: #d7d7d7;/*added eeeeee*/
	border:0px solid #000;/*added*/
	vertical-align:middle;/*added*/
	}
	
dt {
	margin-bottom:.3em;
	/*font-weight:bold;*/
	}
dd { /*Column width of the menu - currently set for 4 columns*/
	margin:0 25px;/*0*/
	padding:0 auto;/*0*/
	float:left;
	width:18%;/*24.3%*/
	color: #005599; /*added code*/
	}
ul {
	margin:0;
	padding:0;
	list-style: none;
	}
li {
	margin:0;
	padding:0;
	}
li a {
	margin:0;
	padding-left:3.5em;
	display:block;
	/*text-decoration:underline;/*added*/
	}
	
li a:hover {
	color: #005599;
	/*text-decoration:underline;/*added*/
	}
.menuTitle {
	margin:0;
	padding-top:0.5em;/*added*/
	padding-bottom:0.5em; /*.3*/
	padding-left:2.5em;/*added 0.8em*/
	text-align:left;/*center*/
	font-size:1.3em; /*1.2em*/
	font-weight: bold;/*added*/
	color: #000000;/*added ff6600*/
	/*border:1px solid #000;/*added*/
	}
	
.first, .second, .third , .four{
	/*border:1px dotted #000;/*added*/
	vertical-align:middle;/*added*/
	margin-left:2em;/*added*/
	/*border-right:1px dotted #000;*/
	}
	
#siteinfoLegal {
    margin: 0 auto;
	padding: .5em 0 0;
	font-size: 1.2em; /*0.9em*/
	text-align:center;
	width:100%;
	line-height:normal;
	clear:both;
}
#siteinfoLegal a {
	padding: 0 0.5em 1.5em 0.5em;/*0 0.5em 1.5em 0.5em*/
	color: #000059; /*000*/
	text-decoration: underline; /*added code*/
	font-weight:normal; /*bold*/
	white-space: nowrap;
	}
	
#siteinfoLegal a:hover {
	color: #005599; /*000
	background: #EAC27C;*/
	}

Thanks for all help.

2 Feb 2010, 12:21 AM
#117
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

autoace:

Hi,

Need some help getting the styling right with this great mod!

Just looking to get the whole thing centered correctly, I believe its a bit off (to the left).

Here is the css, I have made changes to it (changes marked by comments) - trying to get the styling right!

#footer {
clear:both;
margin:5em 0em 0em 0em; /0/
text-align: center; /added code/
}

/*
#navSuppWrapper {
margin: 10px 5px 0;
padding: 0;
background:none;
font-weight: bold;none
}
*/

dl { /Adjust the height and width of the menu/
/*margin:5px 160px 3px 160px;/0 0 3px 0/
margin:5px auto 3px auto;/added/
padding:0 auto;/0/
clear:both;
height:125px;/*79px */
width:75%;/100%/
color: #005599; /added code/
background-color: #d7d7d7;/added eeeeee/
border:0px solid #000;/added/
vertical-align:middle;/added/
}

dt {
margin-bottom:.3em;
/font-weight:bold;/
}
dd { /Column width of the menu - currently set for 4 columns/
margin:0 25px;/0/
padding:0 auto;/0/
float:left;
width:18%;/24.3%/
color: #005599; /added code/
}
ul {
margin:0;
padding:0;
list-style: none;
}
li {
margin:0;
padding:0;
}
li a {
margin:0;
padding-left:3.5em;
display:block;
/*text-decoration:underline;/added/
}

li a:hover {
color: #005599;
/text-decoration:underline;/added/
}
.menuTitle {
margin:0;
padding-top:0.5em;/added/
padding-bottom:0.5em; /
.3*/
padding-left:2.5em;/added 0.8em/
text-align:left;/center/
font-size:1.3em; /1.2em/
font-weight: bold;/added/
color: #000000;/added ff6600/
/*border:1px solid #000;/added/
}

.first, .second, .third , .four{
/*border:1px dotted #000;/added/
vertical-align:middle;/added/
margin-left:2em;/added/
/border-right:1px dotted #000;/
}

#siteinfoLegal {
margin: 0 auto;
padding: .5em 0 0;
font-size: 1.2em; /0.9em/
text-align:center;
width:100%;
line-height:normal;
clear:both;
}
#siteinfoLegal a {
padding: 0 0.5em 1.5em 0.5em;/0 0.5em 1.5em 0.5em/
color: #000059; /000/
text-decoration: underline; /added code/
font-weight:normal; /bold/
white-space: nowrap;
}

#siteinfoLegal a:hover {
color: #005599; /000
background: #EAC27C;
/
}

> 
> Thanks for all help.

Link to your site?
2 Feb 2010, 4:15 PM
#118
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: Footer Menu Support Thread

clydejones:

Link to your site?

Clyde,

Sorry, forgot this one important piece of info!

Here you go, http://www.a u t o m o t i v e a c e.com

I have to replace my ssl, so you may get a warning about that - working on it!

Thanks for your help

2 Feb 2010, 6:16 PM
#119
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

autoace:

Clyde,

Sorry, forgot this one important piece of info!

Here you go, http://www.a u t o m o t i v e a c e.com

I have to replace my ssl, so you may get a warning about that - working on it!

Thanks for your help

seems your site is down.

3 Feb 2010, 3:32 PM
#120
luxurylives avatar

luxurylives

New Zenner

Join Date:
Jan 2010
Posts:
12
Plugin Contributions:
0

Re: Footer Menu Support Thread

A adding the footer menu (which looks awesome) it aligned my sidebox text to the center. I've removed the files 4 now & my sidebox content is no longer centered. Thus we know the source of the issue.

Has anyone ever resolved this?