Alright, I went back and reset all of the pages and then started fresh from the instructions. The images are still not linking and there are error text links showing up below them. What am I doing wrong?
Alright, I went back and reset all of the pages and then started fresh from the instructions. The images are still not linking and there are error text links showing up below them. What am I doing wrong?
It looks like there are two problems. First, you are defining headings when you want category links. Do not use any of those defines - comment them all out.
Second, you are somehow getting the classname generated incorrectly. You should be getting output similar to thisNote the space; this is two classnames, cat-not-selected and catBg25.Code:<li class="cat-top"><a class="cat-not-selected catBg25" href="
You are getting thisThis is one classname, cat-not-selectedcatBg69, and .catBg69 in the stylesheet will have nothing to do with this name.Code:<li class="cat-top"><a class="cat-not-selectedcatBg69" href="http://shoptekne.com/zencart/index.php?main_page=index&cPath=69"><img src="includes/templates/tekne_default/images/pixel_trans.gif" alt="" width="100%" height="100%" title="Necklaces" /></a></li>
The space is created in categories_dressing_functions.php; did you do any editing of that file at all?
' catBg' has a space before cat, which is necessary for the function to work.PHP Code:
function cat_name_display($cat_name_display, $current_path) {
//...
//display background image if exists for category name in current language - with title tag
} elseif (file_exists(DIR_WS_TEMPLATE . 'buttons/' . $_SESSION['language'] . '/catbg' . $current_path . CAT_NAME_IMG_EXT)) {
$cat_name_display = zen_image(DIR_WS_TEMPLATE_IMAGES . 'pixel_trans.gif', '', '100%', '100%', 'title="' . $cat_name_display . '"');
$cat_img_bg = ' catBg' . $current_path;
What does that line in your copy of categories_dressing_functions.php look like?
Weirdly enough when I deleted and replaced the functions page it started working fine. I guess it was a dreamweaver issue. Thanks for all of your help!
Can someone tell me how to remove this thing from my zen cart? I wanted banner images for my sideboxes and I ended up with a mess of stuff I don't understand or have time to figure out. I do not need images in my category box, just images to add in place of the text for my sideboxes. If someone could explain how to implement this or tell me how to remove without crashing my site, I would greatly appreciate it.
http://www.allclipart.info/store
Thank You...amandavz
Categories Dressing will let you have images in place of text in your categories sidebox, but it does not affect other sideboxes.
The readme.html has complete instructions for substituting images, as well as bold notes for turning off the features you don't need.
If you want to uninstall it, just delete the files in the mod (the readme has a complete file list).
Hi Glen,
Thanks for the quick response. Maybe I am a total moron, but I would have to be college degreed to understand your instructions. I was looking for zen cart for dummies instructions. I did try to delete the files in the mod once already and I lost all side boxes and content for my site, I was left with only a background, header and "HOME / LOGIN" buttons at the top.
None of the mod files overwrites any existing file, so deleting them would have no effect on the rest of the site. First try deleting /includes/templates/your_template/sideboxes/tpl_categories.php. Without that one, the rest just sit there and do nothing.
There are many options in this mod, so the readme needs to have a lot of text. The basic information for replacing category names with images is just this:
To display images in place of selected category names:
Make your images with names like catimg#.gif (or catbg#.gif and catbg#hover.gif), and save in /includes/templates/your_template/buttons/english/. ...
Replace the # with the category cPath.
@Glenn
regarding my problem described in this thread I am switching to support thread
I have followed installation instructions for Categories Dressing and installed it successfully. Problem for me is where to start and what is the first step, so I could achieve my subcategories listing looks like this:
http://img138.imageshack.us/img138/6494/28265514.jpg
instead of this
http://img138.imageshack.us/img138/5663/41595109.jpg
also, in last post you have mentioned that I must have good knowledge of CSS, no problem I think I will be able to handle it![]()
find a hard time playing with the parameter. can you suggest any combination?
for example, i want all the tree when any cate or sub cate or sub sub cate is select
adi2009 -
If all your client wants is to have the current category's subcategories listed as you show, you can do it with one rule change in your regular stylesheet - something like this.But I had the impression that they wanted a bunch more customization. If you want the "Parts" sidebox on the right at the last subcat level, you would use the #chcategories sidebox for the main (left) menu and the #categories sidebox on the right with code to let it show only at the right level.Code:.categoryListBoxContents { width: 100% !important; float: none; border: 2px solid #224466; background: #aabbcc; text-align: left; }
Bookmarks