View Single Post
  #1  
Old 03-27-2009, 08:57 AM
 
rageon75 rageon75 is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Changing links from category to static pages

Hello everybody.

I am starting to create a new website for a bicycle company www.chimera-bikes.com. I decided to use one of the new skins from X-Cart: "Artistic Tunes - Car Tires" as a starting point. They wanted to have two menus. A horizontal menu on the top with static pages and another menu on the left with products and categories.

So, I added the left menu with categories but the Horizontal menu is still displaying the category links.

How do I change it so I can link the static pages to the horizontal menu?

This is what I have changed so far in the head.tpl:

------------------------------------------------------------------

{if $categories_menu_list}

<div class="top-categories">

<div class="hor-categories">
<ul id="hr_list">
{foreach from=$categories_menu_list item=c}
<li><a href="http://www.chimera-bikes.com/age_guide.html" title="Age Guide">{$c.category}</a></li>
<li><a href="http://www.chimera-bikes.com/size_guide.html" title="Size Guide">{$c.category}</a></li>
<li><a href="http://www.chimera-bikes.com/style_guide.html" title="Style Guide">{$c.category}</a></li>

{/foreach}
</ul>
</div>

<div class="more-categories" onmouseover="javascript: hrMenuShow('cat_list');" onmouseout="javascript: hrMenuHide('cat_list');">
<a href="javascript:void(0);"><img id="menu_more" src="{$ImagesDir}/custom/menu_more.gif" alt="" /></a>
<ul id="hr_menu" style="display: none;" ><li>&nbsp;</li></ul>
</div>

</div>

{/if}
----------------------------------------------------------------------

When I made the new changes it generated the links three times? I am still trying to learn the basics of php so any help would be appreciated.

Thanking everybody for their time and knowledge.
__________________
X-Cart Gold 4.2 - 4.3 - 4.4.5 - 4.6 - 4.7
Reply With Quote