Css Flyout Categories Menu troubles
Ok, Hopefully this will get someones attention.
I installed this contribution on my locals testing setup and everything worked perfectly.
I then installed it on my live site and it isn't working. It shows the menu but no catagories show up. Only the Specials... New Products ... Featured Products ...
All Products ... links that are normally at the bottom of the menu. There is a space above where the catagories would go, enough room for maybe one line but nothing there.
During instalation i did make the mistake of installing it in the template_default directories instead of the classic directory. I thought that may be the problem and causing some kind of conflict but i went and got rid of all of the files from template_default and restored the template_info.php file.
Any ideas on what is wrong here. It's working great on my testing server.
I am using ZC 1.2.7
Re: Css Flyout Categories Menu troubles
If no categories are showing in it, then it's not finding them in the database, or you've installed something wrong.
What's the URL of your hosted server where this is "not" working?
If you turn on the original categories sidebox, what shows?
Re: Css Flyout Categories Menu troubles
DrByte,
My Url is www.diytacticalstore.com/catalog it is on a dedicated server but i share it with my other sites if that makes sense.
In my original menu everything shows up perfectly with no issues as far as I can tell.
The site is live and has been for almost 2 months. I will activate the CSS menu and place it at the bottom of the left column so you can look at it.
Re: Css Flyout Categories Menu troubles
Im having the exact same issue. Very interested in anyone input on this. Here is a link to my site so you can see what we mean. I activated the orginal catagories menu to show it works also.
www.dakotafiresupply.com
Re: Css Flyout Categories Menu troubles
Just guessing, but you could try removing this line from includes/modules/sideboxes/YOURTEMPLATE/categories_css.php (approx line 53):
PHP Code:
and ptc.product_type_id not in " . $document_types_list . "
Re: Css Flyout Categories Menu troubles
DrByte,
I have same problem, and the last suggestion didn't help...
Re: Css Flyout Categories Menu troubles
DrByte,
That line is not in my categories_css.php file only the following code:
Code:
<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers |
// | |
// | http://www.zen-cart.com/index.php |
// | |
// | Portions Copyright (c) 2003 osCommerce |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available through the world-wide-web at the following url: |
// | http://www.zen-cart.com/license/2_0.txt. |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to |
// | [email protected] so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// $Id: categories_css.php 2004/06/23 00:00:00 DrByteZen Exp $
//
// load the UL-generator class and produce the menu list dynamically from there
require_once (DIR_WS_CLASSES . 'categories_ul_generator.php');
$zen_CategoriesUL = new zen_categories_ul_generator;
$menulist = $zen_CategoriesUL->buildTree(true);
require($template->get_template_dir('tpl_categories_css.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_categories_css.php');
$title = BOX_HEADING_CATEGORIES;
$left_corner = false;
$right_corner = false;
$right_arrow = false;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
?>
I also checked my original file and the file on my local machine (where the menu is working properly) and there is no diference.
Any other sugestions?
Re: Css Flyout Categories Menu troubles
what version of the CSS flyout do you have? ie: what's the date of the readme.txt file ... and what are the last 10 lines of the readme.txt file?
Re: Css Flyout Categories Menu troubles
Here is the entire readme.txt file.
Quote:
#####################################
# #
# CSS Flyout Category Menu #
# #
# by DrByte 2004-07-11 #
# #
# for Zen Cart v1.2.x/1.3.x #
# #
# donations to: paypal AT zen-cart DOT com #
# #
#####################################
Now you can have a CSS-based flyout menu for your Zen Cart categories sidebox!
To see what it looks like, view the enclosed screenshot.jpg
It's currently configured to go up to 5 subcategories deep, but can be set to
however deep you desire it to go.
############################
Installation
----------------------------
1. Unzip the package, retaining the folder structure.
2. Read the following notes before proceeding to copy all the files to your site,
Before copying, take care to rename the "YOURTEMPLATE" folders to match your
custom template's foldername.
3. You need to enable the categories_css sidebox.
Go to Admin->Tools->Layout Boxes Controller and enable the new "categories_css" sidebox.
4. Of course, you don't need to upload this readme.txt or the screenshot.jpg ... :)
############################
About this contribution
----------------------------
This contribution was compiled as a combination of resources including:
- site map contribution by NetworkDad, but modified to produce the proper UL structure for this menu
- Eric Meyer's CSS Flyout Menu work
- Zen Cart's built-in sidebox manipulation features and other overrides functions
#############################
Compatibility
-----------------------------
This contribution should work fine in any Zen Cart v1.2.x or v1.3.0 installation
Version 1.1.x installations will require a few changes to the modules/sideboxes/.../categories_css.php file
#############################
Version History
-----------------------------
2004-07-11 First Release
2005-04-17 Adapted slightly to conform a little better with version 1.2.4.x
2005-04-19 Updated to properly exclude disabled categories from the menu. Props to Merlin for spotting this.
2005-04-21 Updated to fix a missing </a> tag in the menu bar, causing a small
pink strip down right side of menu. Props to mamont for pointing this out!
2006-03-06 Updated the csshover.htc script to newer version with bugfixes from their website.
2006-04-09 Updated for compatibility with Zen Cart v1.3.0
Re: Css Flyout Categories Menu troubles
Same as Angel, my zip that i downloaded says: css-flyout-categories-v1.3.0