nevermind, I'm an idiot. It's just a current selection indicator.
nevermind, I'm an idiot. It's just a current selection indicator.
Note: The readme_ch_categories.txt was inadvertently left out of the v2.7.3 package. It has no important information beyond the other instructions, but there is a copy posted here (post 1378) if you want to read it:
http://www.zen-cart.com/forum/showth...ies#post886565
Here is the v2.8 beta zip for testing. Please report any problems here. There is one known bug with IE7 category name image replacement positioning - please check this out.
(Note - I had to remove the GPL license file from the zip to get it down to the forum-allowed attachment size.)
http://www.vintage-adventures.com/
simple question, can't locate the code..
How do I disconnect the example category 25? I commented out styling for it in css, so no image is displayed, but there is still a class connection defined somehow, so the display is a big blank area containing the one-pixel gif. I need the source code for cat 25 to flow like this
<a class="cat-not-selected"
not like this
<a class="cat-not-selected catBg25"
so that cat 25 will be a regular old category again.
thank you if anyone knows the answer..
Last edited by finlander; 10 Nov 2010 at 09:55 PM. Reason: site URL
looks as though this code from the functions.php is/was responsible for setting up the category 25, but what to do now to stop the appending action?
Is the database permanently changed now to always append catBg25 to the class, or can cat 25 be a normal cat again..
$cat_img_bg = ' catBg' . $current_path;
} else {
$cat_img_bg = '-text';//append to main classname
}
return array($cat_img_bg, $cat_name_display);
wow, I am really dense, as long as the .gif file has a valid name for getting called, then the code is going to try to do so, and since I commented out the style, the code was then displaying the one-pixel gif as a placeholder.
It will help to read the readme file line by line, especially for any element/feature you want to eliminate or customize. I made it HTML for clarity of presentation. There will always be a bolded note on how to disable a feature if it is active by default.