View Full Version : Drop Down Menu
acegames
04-Mar-2009, 09:01 PM
I had my site made for me a couple of years ago and the navigation menu has allways bugged me , I just want to add a basic navigation menu on the left that is seo friendly
Can I do this with V7 ?
grantglendinnin
04-Mar-2009, 11:11 PM
I had my site made for me a couple of years ago and the navigation menu has allways bugged me , I just want to add a basic navigation menu on the left that is seo friendly
Can I do this with V7 ?
SEO with v7 is like lamb and tuna fish, who likes lamb and tuna fish?
If you want SEO you should consider upgrading to v8/v9 - the generated HTML markup in v7 is nasty from what I've seen.
malbro
05-Mar-2009, 06:42 AM
I had my site made for me a couple of years ago and the navigation menu has allways bugged me , I just want to add a basic navigation menu on the left that is seo friendly
Can I do this with V7 ?I would upgrade to V9, the menu system is better from SEO point of view and as standard gives you what you are looking for. V8 and V9 are better supported.
RuralWeb
05-Mar-2009, 07:10 AM
There is nothing wrong with v7 and it uses the exact same menu systems as v9. The menu you need is toplevelsection - just replace your current one which looks like one of drillpines.
V9 is better at seo yes but you can improve what you have in v7.
acegames
05-Mar-2009, 09:47 AM
There is nothing wrong with v7 and it uses the exact same menu systems as v9. The menu you need is toplevelsection - just replace your current one which looks like one of drillpines.
V9 is better at seo yes but you can improve what you have in v7.
thankyou , I cant afford to upgrade to v9 just now so need to make the most of what I have
Can you give me some help with "toplevelsection" please ?
acegames
05-Mar-2009, 09:54 AM
Im not being lazy I have looked at editing it but I never made all the changes to my site so I am unsure what I need to remove and add now
RuralWeb
05-Mar-2009, 10:22 AM
This area is well covered ok the forum so a search will help bit basically you need to edit two templates - actprimary and actbrochureprimary assuming your designer has not changed the names. Remove the code for the current menu and replace with toplevelsection menu
Or you you could install a copy of v7 on another pc and apply one of the clean themes then look at the template code for each of the templates and copy the bits you need into your site.
Or post your template code here and someone may be kind enough to change it for you
acegames
05-Mar-2009, 11:22 AM
This area is well covered ok the forum so a search will help bit basically you need to edit two templates - actprimary and actbrochureprimary assuming your designer has not changed the names. Remove the code for the current menu and replace with toplevelsection menu
Or you you could install a copy of v7 on another pc and apply one of the clean themes then look at the template code for each of the templates and copy the bits you need into your site.
Or post your template code here and someone may be kind enough to change it for you
Thanks , I am really confused as they have renamed some templates too :confused:
Act_BrochurePrimary
<html>
<head>
<TITLE>
NETQUOTEVAR:PAGETITLE
</TITLE>
<Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF" FORCED=NETQUOTEVAR:BASEHREFFORCED/>
<META NAME="ACTINICTITLE" CONTENT="NETQUOTEVAR:PAGEHEADER">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
<!--@act NETQUOTEVAR:HEADERMETA -->
<!--@act NETQUOTEVAR:LOADFUNCTION -->
<!--@act NETQUOTEVAR:P3PFULLPOLICYLINK -->
<LINK REL=STYLESHEET HREF="actinic.css">
<SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="Act_section_tree.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
function YahooSections(ar)
{
var strIDs = '';
for (var i=1;i<=ar.length;i++)
{
if (ar[i].sURL != null)
{
strIDs += '<a href="' + ar[i].sURL + '"><span class="actxxsmall"><b><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].sName + '</font></b></span></a><br>';
{
if (ar[i].pChild)
{
for (var j=1;j<=ar[i].pChild.length;j++)
{
if (ar[i].pChild[j].sURL != null)
{
strIDs += '<a href="' + ar[i].pChild[j].sURL + '"><span class="actxxsmall"><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].pChild[j].sName + '</font></span></a><br>';
}
}
}
}
strIDs += '<br>'
}
}
return strIDs
}
//-->
</SCRIPT>
<!-- Placeholder of cookie checking javascript code. Do not remove it! -->
<Actinic:COOKIECHECK/>
</head>
<BODY TEXT="NETQUOTEVAR:FGCOLOR" leftmargin="1" topmargin="1" marginwidth="0" marginheight="0" OnLoad="NETQUOTEVAR:ONLOAD" NETQUOTEVAR:BGIMAGE NETQUOTEVAR:BGCOLOR NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR>
<table width="100%" cellpadding="0" cellspacing="0" class="thinborder">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="gradient1.gif"></td>
<td align="right"><img src="gradient2.gif"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>NETQUOTEVAR:BROCHURELOGO</td>
</tr>
</table>
</td>
</tr>
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="26" background="top_bar.gif"> </td>
</tr>
</table> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="11"><img src="shim.gif" width="11"></td>
<td width="170" valign="top">
<table width="170" border="0" cellpadding="0" cellspacing="0" class="thinborder">
<tr>
<td><img src="main_pages.gif" width="170" height="27"></td>
</tr>
<tr>
<td>NETQUOTEVAR:HEADERGUIDE</td>
</tr>
<tr>
<td height="25" background="cart_bg.gif"><font color="NETQUOTEVAR:PALBGCSS"><strong>
<script language="JavaScript">
<!--
document.write("Items: " + getCartItem(3)+" ");
document.write("Value: " + getCartItem(1));
// -->
</script>
</strong></font></td>
</tr>
<tr>
<td valign="top" bgcolor="NETQUOTEVAR:PALCOLOR1CSS"><img src="departments.gif" width="170" height="27"></td>
</tr>
<tr>
<td valign="top" bgcolor="NETQUOTEVAR:PALBGCSS"> <table width="100%" border="0" cellpadding="1" cellspacing="5">
<tr>
<td> <script language=Javascript1.2>
document.write(YahooSections(section_tree))
</script> </td>
</tr>
</table></td>
</tr>
<tr>
<td width="170" valign="top" bgcolor="NETQUOTEVAR:PALCOLOR1CSS"><img src="menu_bottom.gif" width="170" height="91"></td>
</tr>
</table>
</td>
<td width="15"><img src="shim.gif" width="15"></td>
<td align="center" valign="top">
<table width="98%" cellpadding="5" cellspacing="0" class="thinborder">
<tr>
<td valign="top">
<!-- If customer accounts are in operation following two lines allow displaying -->
<!-- User name and customer account name on every page -->
<!-- NETQUOTEVAR:LOGINLINK --><Actinic:NOWSERVING/><Actinic:CURRACCOUNT/><Actinic:LOGOUT_SIMPLE/>
<table width="CUSTOMVAR:ACTSTDWIDTH" cellpadding="5" cellspacing="0" border="0" cols="3">NETQUOTEVAR:BROCHUREBODY
</table>
<br>NETQUOTEVAR:POWEREDBY
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="4"> </td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
acegames
05-Mar-2009, 11:23 AM
Act_Primary
<html>
<head>
<TITLE>
NETQUOTEVAR:PAGETITLE
</TITLE>
<Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>
<META NAME="ACTINICTITLE" CONTENT="NETQUOTEVAR:PAGEHEADER">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
<!--@act NETQUOTEVAR:HEADERMETA -->
<!--@act NETQUOTEVAR:LOADFUNCTION -->
<!--@act NETQUOTEVAR:SUBMITFUNCTION -->
<!--@act NETQUOTEVAR:P3PFULLPOLICYLINK -->
<LINK REL=STYLESHEET HREF="actinic.css">
<SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
<!--@act NETQUOTEVAR:SECTIONTREE_RAW -->
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
function YahooSections(ar)
{
var strIDs = '';
for (var i=1;i<=ar.length;i++)
{
if (ar[i].sURL != null)
{
strIDs += '<a href="' + ar[i].sURL + '"><span class="actxxsmall"><b><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].sName + '</font></b></span></a><br>';
{
if (ar[i].pChild)
{
for (var j=1;j<=ar[i].pChild.length;j++)
{
if (ar[i].pChild[j].sURL != null)
{
strIDs += '<a href="' + ar[i].pChild[j].sURL + '"><span class="actxxsmall"><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].pChild[j].sName + '</font></span></a><br>';
}
}
}
}
strIDs += '<br>'
}
}
return strIDs
}
//-->
</SCRIPT>
<!-- Placeholder of cookie checking javascript code. Do not remove it! -->
<Actinic:COOKIECHECK/>
<!--
The NETQUOTEVARs below can be uncommented for getting raw section lists:
1. Top level section list
2. Section list from current level and all children
3. The whole section tree
The rest covers the standalone structure members for each array - e.g. if
you only need sName or sURL from an array.
See the documentation for details.
NETQUOTEVAR:TOPLEVELSECTIONS_RAW
NETQUOTEVAR:CHILDSECTIONS_RAW
NETQUOTEVAR:SECTIONTREE_RAW
NETQUOTEVAR:SECTIONTREE_NAMES
NETQUOTEVAR:SECTIONTREE_URLS
NETQUOTEVAR:SECTIONTREE_IMAGES
NETQUOTEVAR:SECTIONTREE_IMAGEWIDTHS
NETQUOTEVAR:SECTIONTREE_IMAGEHEIGHTS
NETQUOTEVAR:SECTIONTREE_SECTIONIDS
NETQUOTEVAR:TOPLEVELSECTIONS_NAMES
NETQUOTEVAR:TOPLEVELSECTIONS_URLS
NETQUOTEVAR:TOPLEVELSECTIONS_IMAGES
NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEWIDTHS
NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEHEIGHTS
NETQUOTEVAR:TOPLEVELSECTIONS_SECTIONIDS
NETQUOTEVAR:CHILDSECTIONS_NAMES
NETQUOTEVAR:CHILDSECTIONS_URLS
NETQUOTEVAR:CHILDSECTIONS_IMAGES
NETQUOTEVAR:CHILDSECTIONS_IMAGEWIDTHS
NETQUOTEVAR:CHILDSECTIONS_IMAGEHEIGHTS
NETQUOTEVAR:CHILDSECTIONS_SECTIONIDS
The section level can be accessed through:
NETQUOTEVAR:SECTIONLEVEL
-->
<!--
The NETQUOTEVARs below can be uncommented and moved to the appropriate
location
to save and load shopping lists
<A HREF="NETQUOTEVAR:SAVECARTURL"><FONT FACE=ARIAL SIZE=-1><I><B>Save
Shopping List</B></I></FONT></A>
<A HREF="NETQUOTEVAR:RESTORECARTURL"><FONT FACE=ARIAL SIZE=-1><I><B>Load
Shopping List</B></I></FONT></A>
--->
<!-- Fireworks MX Dreamweaver MX target. Created Fri Jan 30 14:06:11 GMT+0000 (GMT Standard Time) 2004-->
</head>
<BODY TEXT="NETQUOTEVAR:FGCOLOR" leftmargin="1" topmargin="1" marginwidth="0" marginheight="0" OnLoad="NETQUOTEVAR:ONLOAD" NETQUOTEVAR:BGIMAGE NETQUOTEVAR:BGCOLOR NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR>
<table width="100%" cellpadding="0" cellspacing="0" class="thinborder">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="gradient1.gif"></td>
<td align="right"><img src="gradient2.gif"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>NETQUOTEVAR:LOGOIMAGE</td>
</tr>
</table>
</td>
</tr>
<tr>
<td background="top_bar.gif"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="168" height="26">NETQUOTEVAR:NAVBSITEMAP</td>
<td width="167">NETQUOTEVAR:NAVBMAIL</td>
<td width="168">NETQUOTEVAR:NAVBINFO</td>
<td> </td>
</tr>
</table> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="11"><img src="shim.gif" width="11"></td>
<td width="170" valign="top">
<table width="170" border="0" cellpadding="0" cellspacing="0" class="thinborder">
<tr>
<td width="170" height="59" background="search_background.gif" align="right">
<a href="NETQUOTEVAR:NAVBSEARCHLINK"><font color="NETQUOTEVAR:PALBGCSS">Advanced</font></a> <br>NETQUOTEVAR:SIMPLESEARCH
</td>
</tr>
<tr>
<td>NETQUOTEVAR:NAVBCART</td>
</tr>
<tr>
<td>NETQUOTEVAR:NAVBCHECKOUT</td>
</tr>
<tr>
<td height="25" background="cart_bg.gif"><font color="NETQUOTEVAR:PALBGCSS" size="1"><strong>
<script language="JavaScript">
<!--
document.write("NETQUOTEVAR:CARTCOOKIEITEMS " + getCartItem(3)+" ");
document.write("NETQUOTEVAR:CARTCOOKIEVALUE " + getCartItem(1));
// -->
</script>
</strong></font></td>
</tr>
NETQUOTEDEL:CAPTURECOUPON
<tr>
<td background="menu_bottom.gif"><font color="NETQUOTEVAR:PALBGCSS" size="1">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<form method="NETQUOTEVAR:CGIMETHOD" action="NETQUOTEVAR:CGIURL">
<tr>
<td colspan="2" valign="top"><strong><font color="NETQUOTEVAR:PALBGCSS">NETQUOTEVAR:COUPONTITLE</font></strong></td>
</tr>
<tr>
<td colspan="2" valign="top"><font color="NETQUOTEVAR:PALBGCSS">NETQUOTEVAR:COUPONMESSAGE</font></td>
</tr>
<tr>
<td valign="top"><input type="TEXT" name="COUPONCODE" size="15" maxlength="255" value="NETQUOTEVAR:COUPONCAPTION" onFocus="this.value='';this.style.background='#FFFFFF'"></td>
<td><input type="IMAGE" name="ACTION_SEND" border="0" src="quicksearch.gif" alt="NETQUOTEVAR:COUPONACTION"></td>
</tr>
</form>
</table>
</td>
</tr>
NETQUOTEDEL:CAPTURECOUPON
<tr>
<td valign="top" bgcolor="NETQUOTEVAR:PALCOLOR1CSS"><img src="departments.gif" width="170" height="27"></td>
</tr>
<tr>
<td valign="top" bgcolor="NETQUOTEVAR:PALBGCSS">
<table width="100%" border="0" cellpadding="1" cellspacing="5">
<tr>
<td>
<script language=Javascript1.2>
document.write(YahooSections(section_tree))
</script>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="main_pages.gif" width="170" height="27"></td>
</tr>
<tr>
<td>NETQUOTEVAR:NAVBHOMENETQUOTEVAR:NAVBCATALOGNETQUOTEVAR:NAVBUPNETQUOTEVAR:NAVBLOGIN
</td>
</tr>
<tr>
<td width="170" valign="top" bgcolor="NETQUOTEVAR:PALCOLOR1CSS"><img src="menu_bottom.gif" width="170" height="91"></td>
</tr>
</table>
</td>
<td width="15"><img src="shim.gif" width="15"></td>
<td valign="top" align="center">
<table width="98%" cellpadding="5" cellspacing="0" class="thinborder">
<tr>
<td valign="top">NETQUOTEVAR:FORMBEGIN <A NAME="top">
<INPUT TYPE=HIDDEN NAME=RANDOM VALUE="NETQUOTEVAR:RANDOM"></A>
NETQUOTEVAR:HIDDENFIELDS
<!-- If customer accounts are in operation following two lines allow displaying -->
<!-- User name and customer account name on every page -->
<!-- NETQUOTEVAR:LOGINLINK --><Actinic:NOWSERVING/><Actinic:CURRACCOUNT/><Actinic:LOGOUT_SIMPLE/>
<!-- NETQUOTEVAR:HEADER -->
<div align="center"><span class="actxsmall">NETQUOTEVAR:HEADERTEXT</span></div>
NETQUOTEVAR:BULK <br>
<div align="center"><span class="actxsmall">NETQUOTEVAR:FOOTERTEXT</span></div>
<!-- NETQUOTEVAR:FOOTER -->
NETQUOTEVAR:FORMEND</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="4"> </td>
</tr>
</table>
</td>
</tr>
</table>
<a href="http://www.acegamesshop.co.uk/acatalog/sitemap.html">Site Map</a>
</body>
</html>
acegames
05-Mar-2009, 11:24 AM
Then I have this one
ACEGAMES_PRIMARY_TEMPLATE
EDIT: sorry I should have posted all as text files
NormanRouxel
05-Mar-2009, 12:07 PM
The ACEGAMES one is the likely one. Replace everything from
<!-- START NorTree Act_Primary.html patch -->
down to and including
<noscript>NorTree (V11) requires JavaScript</noscript>
with
NETQUOTEVAR:TOPLEVELSECTIONSTOP
And also go to Design / Options / Layouts / Primary Templates and make sure that you've done the same to all listed there if required. Hint - click the Edit button to open the file in Notepad, where you'll be able to see its name.
acegames
05-Mar-2009, 12:21 PM
The ACEGAMES one is the likely one. Replace everything from
<!-- START NorTree Act_Primary.html patch -->
down to and including
<noscript>NorTree (V11) requires JavaScript</noscript>
with
NETQUOTEVAR:TOPLEVELSECTIONSTOP
And also go to Design / Options / Layouts / Primary Templates and make sure that you've done the same to all listed there if required. Hint - click the Edit button to open the file in Notepad, where you'll be able to see its name.
Thanks for your help , I changed to this but now I dont have a menu
http://www.acegamesshop.co.uk/acatalog/Nurburgring_Stickers.html
NormanRouxel
05-Mar-2009, 12:35 PM
That shouldn't be happening. The top level sections should display but nothing is being generated. It works fine here on my 7.0.4.
I've no idea why NETQUOTEVAR:TOPLEVELSECTIONSTOP isn't generating the list of top-level sections as it should.
Best put things back as they were.
acegames
05-Mar-2009, 12:49 PM
That shouldn't be happening. The top level sections should display but nothing is being generated. It works fine here on my 7.0.4.
I've no idea why NETQUOTEVAR:TOPLEVELSECTIONSTOP isn't generating the list of top-level sections as it should.
Best put things back as they were.
Thankyou , I will keep trying and see what I have done wrong
acegames
05-Mar-2009, 01:00 PM
I now have it half working , I went to design/options and selected :
Location and arrangement of top level section list
and selected include in all except front page and top
But its showing the images too although that is not selected :confused:
http://www.acegamesshop.co.uk/acatalog/Motorola_Lcd_Screens.html
EDIT: I had to edit section layout template
leehack
05-Mar-2009, 01:04 PM
Subsection listings been added instead by mistake possibly, ie the layout you normally see in the central area of your site?
RuralWeb
05-Mar-2009, 01:06 PM
As Norman designed the menu you are currently using then his instructions are 100% correct unforunately when things have been changed from standard it's difficult for us to see what is happening but as norm says just adding the toplevelsection should simply work.
Keep trying or contact someone to see if they can do it for you as it's a simple job.
acegames
05-Mar-2009, 01:06 PM
Subsection listings been added instead by mistake possibly, ie the layout you normally see in the central area of your site?
I think so , now I changed the section layout template for the menu on the side it has altered the section layout for products in the middle :confused:
acegames
05-Mar-2009, 01:46 PM
Finally got there , thankyou everyone for your help , sorry for being a pain
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.