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)

PhilJ 09-23-2005 03:34 PM

Horizontal and Vertical Flyout Category Menu
Search engine friendly, works well with the HTML catalog.
Easy to customise with separate CSS file.
Fast, won't bloat your page sizes.

balinor 09-24-2005 05:29 AM

Does this automatically generate from the categories/sub-categories like Fancy Cats or is it a manual update each time you change something?

PhilJ 09-24-2005 05:36 AM

Hi Balinor, it's auto generated, so no manual updating required.

balinor 09-24-2005 05:38 AM

Nice! Drop me a PM with cost please :)

Dongan 09-24-2005 11:41 PM

Plase PM me the cost.

PhilJ 09-26-2005 07:51 AM

It's now free folks. See link in first post.

shan 09-26-2005 12:04 PM


QVS 09-26-2005 12:31 PM

thanks for sharing.

balinor 09-26-2005 12:45 PM

Yes, thank you indeed. This looks like a fantastic mod....

Dongan 09-26-2005 08:00 PM

Thank you for sharing.. It should be one of the great mods...

mffowler 09-27-2005 11:48 AM

Thanks Phil! Talk about making it easy to add some flyouts... worked great on one clients site and am working the CSS to make it perfect.

Thanks for your generousity,


garry 09-27-2005 01:23 PM

Thank you, tried it and it works great, will fully implement when I have edited the css.
Great mod

mffowler 09-27-2005 01:27 PM

If anyone can get additional sub-categories to fly-out further, please add the code modification here.

This mod takes about 30 seconds to implement as is. Thanks again.

- Mike

shipmerchant 09-27-2005 06:14 PM

Hi Xcart Experts,

Can some please post a snippet of code for the head.tpl

skin1/customer/home.tpl just before the </head> tag.
<LINK rel="stylesheet" href="{$SkinDir}/flyouts/vert.css">
<SCRIPT language=JavaScript1.3 src="{$SkinDir}/flyouts/menu.js"></SCRIPT>

Here is what I have for the above, could someone please tell me if this is correct?

{ 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>

Please post snippet of where to place this code below for flyouts to appear for the categories menus area.

{include file="flyouts/vert.tpl"}

Thanks a bunch! Its been one of those days!

mffowler 09-27-2005 06:24 PM

There is a readme file with the zip...

- Mike

PhilJ 09-28-2005 09:14 AM

Hi shipmerchant, your head.tpl code is correct. Where you put the menu is up to you. If you want it as shown in the screenshot, locate skin1/customer/home.tpl and replace


{ include file="customer/categories.tpl" }



{include file="flyouts/vert.tpl"}

PhilJ 09-28-2005 09:22 AM

Incidentally, if anyone has solved the reason why it shows a broken sub-menu for categories without subcategories, please post the code.

This is the code I thought would work.


{if $subcategories}
Show the DIV

shipmerchant 09-28-2005 01:50 PM

HI PhilJ,

Thanks for your help, thats exactly what I was looking for in my request, clear direction from a someone who has some positive feedback! This is what exactly what the Xcart forums needs, people with answers.
Thats what I call help, thanks again. :D

vivienne 09-30-2005 05:41 PM

Note on limitations
This is cool but I misunderstood the limitations, it is not that it will only display one level of subcat - it will not work at all if there are more levels.

(correct me if I am wrong)


mffowler 09-30-2005 05:59 PM

Yes, Phil's mod shows root categories and one level of sub-categories. It does not show anything deeper in the menu. This may be OK, as it is lean and you can select further in the main template.

Showing further cats would result in a similarity between this and the fancy cats mod. But, I would love to see a solution to having at least one additional subcats. level....

- Mike

SpikeWeb 10-16-2005 08:16 PM

Where do I download from?
Where am I to find this mod?
When I go to that RapidShare site it says the uploader has now deleted the file.

Any help appreciated.

Tye 10-16-2005 11:50 PM

Yeah - has anyone got a link to this mod? :D

HWT 10-17-2005 05:59 AM

I've put it up for you here:


pctechtoys 10-17-2005 06:17 AM

Getting this error

Warning: Smarty error: unable to read resource: "flyouts/vert.tpl" in /home/pctech/public_html/shopping/Smarty-2.6.3/Smarty.class.php on line 1082

Tye 10-17-2005 03:41 PM

Thanks HWT :D

balinor 10-17-2005 03:45 PM

Make sure the directory and file exist, and that they have read permissions.

pctechtoys 10-18-2005 05:35 AM

I figured it out last night.

I thought if it was looking in the shopping area for the file that is where I had to put the information, and well I'll be gawrsh darned if that wasn't where it was supposed to go.

eaglemobiles 10-29-2005 08:10 PM

Thanks for sharing,
Is it possible to display different Horizontal Menu and different in Vertical Menu.


Amy 10-30-2005 11:06 AM

anyone else able to get this download zip?

Amy 10-30-2005 11:08 AM

File /files/5558151/Flyouts_v4.zip.html has been deleted.
Reason: Deleted by uploader.

Tye 10-30-2005 01:11 PM

Have a look 8 posts up from this one :)

Amy 10-30-2005 09:24 PM


seth@lowel.com 01-04-2006 08:06 AM

Sub-Category Hierarchy
I integrated the vertcal flyout menu (works great), but is there a way to pick the order of the flyout/sub-categories. As of now the order is generated alphabetically. I set the order positions, but it is only sorted to those specs when the main category is clicked, not on the flyout.

Any Ideas?

X-Cart version 4.0.17
PHP 4.3.10
MySQL server 4.1.15
MySQL client 5.0.16
Apache/1.3.33 (Unix) DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/ PHP/4.3.10 mod_ssl/2.8.22 OpenSSL/0.9.7e

DRONE 01-12-2006 07:12 AM

THe link is now dead, does anyone know where I can get this mod?


HWT 01-12-2006 08:28 AM

Use my link on page 2. It works.

photo 04-06-2006 09:30 AM

Just tested this Mod out and it works a charm in 4.1.8, but when I tested it in 4.1.0 RC4 it did not work properly. Has anyone had any success getting this to work in 4.1.0 RC4 ?


kimmo 04-12-2006 08:17 AM

problem with Horizontal sub menu
Hi All

I have added the flyouts to my xcart (3.5.14) and the horizontal menus are showing up. But the problem is that it is not showing the subcategories. Only the main menu are there it is not seen droping down to list the subcategories. It would be highly valued if any one could suggest a solution.

Thanks and Regards

shakes 04-12-2006 10:10 PM

Awesome mod, was about to buy one... thank god I checked this out first!!! after a bit of tinkering with the CSS, I blended it right in with the look and feel of my shop.

Great job again!

PhilJ 04-21-2006 03:19 PM

I have updated this for 4.0.x and 4.1.x and ironed out all bugs.

You can get the update for a small fee.

If interested please PM me, or message me through ICQ.

mffowler 04-21-2006 03:38 PM


You mean that your mod is still better than X-Cart's updated fancy cats mod? ;-)

- Mike

All times are GMT -8. The time now is 01:06 AM.

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