X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Horizontal and Vertical Flyout Category Menu (https://forum.x-cart.com/showthread.php?t=16820)

Wambli 02-26-2007 04:06 PM

Re: Horizontal and Vertical Flyout Category Menu
 
Ok here is my home.tlp I need all the help I can get I'm new at all of this

{* $Id: home.tpl,v 1.88.2.4 2006/10/13 10:41:21 svowl Exp $ *}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{if $printable ne ''}
{include file="customer/home_printable.tpl"}
{else}
{config_load file="$skin_config"}
<html>
<head>
<title>
{if $config.SEO.page_title_format eq "A"}
{section name=position loop=$location}
{$location[position].0|strip_tags|escape}
{if not %position.last%} :: {/if}
{/section}
{else}
{section name=position loop=$location step=-1}
{$location[position].0|strip_tags|escape}
{if not %position.last%} :: {/if}
{/section}
{/if}
</title>
{include file="meta.tpl" }
<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}" />

{ include file="meta.tpl" }
<LINK rel="stylesheet" href="{$SkinDir}/{#CSSFile#}">
<LINK rel="stylesheet" href="{$SkinDir}/flyouts/vert.css">
<SCRIPT language=JavaScript1.3 src="{$SkinDir}/flyouts/menu.js"></SCRIPT>

</head>
<body{$reading_direction_tag}{if $body_onload ne ''} onload="javascript: {$body_onload}"{/if}>
{include file="rectangle_top.tpl" }
{include file="head.tpl" }
{if $active_modules.SnS_connector}
{include file="modules/SnS_connector/header.tpl"}
{/if}
<!-- main area -->
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="VertMenuLeftColumn">
{if $categories ne "" and ($active_modules.Fancy_Categories ne "" or $config.General.root_categories eq "Y" or $subcategories ne "")}

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{include file="flyouts/vert.tpl"}</td>
</tr>
</table>
<br />
{if $login eq "" }
{include file="auth.tpl" }
{else}
{include file="authbox.tpl" }
{/if}
<br />
{/if}
{if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu eq "Y"}
{/if}
{if $active_modules.Manufacturers ne "" and $config.Manufacturers.manufacturers_menu eq "Y"}
{include file="modules/Manufacturers/menu_manufacturers.tpl" }
{/if}

{if $active_modules.Survey && $menu_surveys}
{foreach from=$menu_surveys item=menu_survey}
{include file="modules/Survey/menu_survey.tpl"}
<br />
{/foreach}
{/if}
{include file="help.tpl" }
<img src="{$ImagesDir}/spacer.gif" width="150" height="1" alt="" />
</td>
<td valign="top">
<!-- central space -->
{include file="location.tpl"}

{if $gcheckout_enabled and $main ne "cart" and $main ne "checkout" and $main ne "anonymous_checkout" and $main ne "order_message"}
<div align="right">{include file="modules/Google_Checkout/gcheckout_button.tpl"}</div>
{/if}

{include file="dialog_message.tpl"}

{if $active_modules.Special_Offers ne ""}
{include file="modules/Special_Offers/customer/new_offers_message.tpl"}
{/if}

{include file="customer/home_main.tpl"}
<!-- /central space -->
&nbsp;
</td>
<td class="VertMenuRightColumn">
{if $active_modules.SnS_connector && $config.SnS_connector.sns_display_button eq 'Y' && $sns_collector_path_url ne ''}
{include file="modules/SnS_connector/button.tpl"}
<br />
{/if}
{if $active_modules.Feature_Comparison ne "" && $comparison_products ne ''}
{include file="modules/Feature_Comparison/product_list.tpl" }
<br />
{/if}
{if $active_modules.XAffiliate ne ""}


<br />
{include file="partner/menu_affiliate.tpl" }
{/if}
{if $active_modules.Interneka ne ""}
<br />
{include file="modules/Interneka/menu_interneka.tpl" }
{/if}
<br />
{include file="poweredby.tpl" }
<br />
<img src="{$ImagesDir}/spacer.gif" width="150" height="1" alt="" />
</td>
</tr>
</table>
{include file="rectangle_bottom.tpl" }
</body>
</html>
{/if}

Wambli 02-26-2007 05:07 PM

Re: Horizontal and Vertical Flyout Category Menu
 
Carpeperdiem,

in a another post you said:
In my instructions, you have to modify /include/categories.php

I didn't modify my /include/categories.php? where are your instructions maybe I would have better luck to follow them.

PhilJ 02-26-2007 05:35 PM

Re: Horizontal and Vertical Flyout Category Menu
 
What problems are you having?

Wambli 02-26-2007 05:56 PM

Re: Horizontal and Vertical Flyout Category Menu
 
Phily you can look at it here:

http://www.omagruene.com/xcart/home.php

my subcategories will not flayout (or show up at all) plus I have 3 categories and only two will show up I followed your README.file and it just won't work I think it is because I have x-cart 4.1.6 gold

PhilJ 02-26-2007 06:07 PM

Re: Horizontal and Vertical Flyout Category Menu
 
That just ruined my eyesight, this old mod won't work with the newer versions of x-cart, PM me and I'll sort you out.

carpeperdiem 02-26-2007 06:11 PM

Re: Horizontal and Vertical Flyout Category Menu
 
Quote:

Originally Posted by PhilJ
That just ruined my eyesight.


Phil, you had me rolling on the floor. :lol:

Wambli 02-26-2007 06:25 PM

Re: Horizontal and Vertical Flyout Category Menu
 
hmmmm thinking I should tone down my colors

balinor 02-26-2007 07:01 PM

Re: Horizontal and Vertical Flyout Category Menu
 
Holy crap, you aren't kidding

YINIA 02-27-2007 09:14 AM

Re: Horizontal and Vertical Flyout Category Menu
 
I've checked out all the cool stuff at the xCart mods link in PhilJ's siggy, but I'm not seeing this download. :o None really fit the exact description of what's discussed here. I don't even mind paying for it! I'd really like to have this. :)

JWait 02-27-2007 09:54 AM

Re: Horizontal and Vertical Flyout Category Menu
 
Its there.. the first 2 links, depending on if you want vertical or horizontal menus


All times are GMT -8. The time now is 04:10 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.