Re: always display subcategories in sidebox
Before any modification, look up at the admin first.
In admin => Configuration => My Store
Code:
Show Category Counts true
Show Category Counts - Admin true
In admin => Configuration => Layout Settings
Code:
Categories Separator between links Status 1
Categories Separator between the Category Name and Count ->
Categories Separator between the Category Name and Sub Categories |_
Categories Count Prefix (
Categories Count Suffix )
Categories SubCategories Indent
Re: always display subcategories in sidebox
I just want to say a big fat thank you for that :D, it seems so obvious that i've missed it, but weeks of working on my zencart i think my brains started to give in a bit. Thanks again, you've been allot of help i appreciate it.
Re: always display subcategories in sidebox
You are welcome! :smile:
And gald that it can be of help.
.
Re: Show Subcategories All The Time
Quote:
Originally Posted by
seethrou
I have tried to update the file and it seems without your problem in a brief test.
You can try my file as link follow:
ch_category_1.3x.zip
Please feed back for any problem! :smile:
If no problem will submit to the download area later.
.
Thanks for the update. Unfortunately I am still having the same problem. I uploaded the new files (overwriting the old ones), turn the module off and then on again and I am getting the same double * as before. I do not see this behavior with the original categories module.
I've left both the original and the ch_category boxes on if you'd like to see what I see:
http://www.decaldepot.net/zencart/index.php
Thanks for your help
Re: always display subcategories in sidebox
As an update, until I have time to work on this, I've changed the seperator to " " which generates two blank spaces to indent the categories. I'm not overly concerned with getting the "*" to work. I see others are not having the troubles I am facing so perhaps it is just something screwy with my set up.
I'm willing to try any additional fixes, but don't worry too much about it if others are not having problems.
Re: always display subcategories in sidebox
The problem is confirmed! :(
It need to trace the program and see what happen.
.
Re: always display subcategories in sidebox
Give below is the link for the updated ch_category sidebox.
ch_category_1.3x_a1.zip
* 2006-10-26 updated for Zen Cart v1.3.x
* Fix the double display issue for the "Categories SubCategories Indent"
It is the follow up for a problem for the prevous discussion.
Quote:
Originally Posted by
dinki
Thank you for the mod. It does appear to do exactly what I want to do too. One minor issue to report is that the "categories subcategories indent" appears to be printing twice. In my case, I use a nonbreaking space, then an asterix, then another nonbreaking space.
.
Re: always display subcategories in sidebox
Works great! Thank you for the update.
The only thing that could make it better would be if you could 'fix' the issue when category names span two lines. It would be ideal if the category name would line up with the subcategory name rather than with the main category heading. I'm pretty sure this can be done with an html unordered list, but it will require a good bit of modification to the categories template php file. If you 're interested in working on this, I've started a thread here . I've given it a try but I'm by no means anything more than a novice php hacker. I think this would make a nice addition to your great contrib!
Thanks again for the update!
Re: always display subcategories in sidebox
Great Tool. Works very well for small category Sites
Re: always display subcategories in sidebox
Quote:
Originally Posted by
seethrou
There are only two php files of the mod and two docs, one is readme.txt and the other is gnu license.txt.
The installations should within half minute. :smile:
Including one setup in admin
=> Tools => Layout Boxes Controller => sideboxes/ch_categories.php
Then enable and config the sort order of => sideboxes/ch_categories.php
Or
If you don't like two Categories Sideboxes Co-Existing
Then Disable / Config the sort order of => sideboxes/categories.php
Attached is the screen capture of the default display of the un-collapse Ch_Categories Sidebox (only show the upper portion), for your preview and run under v1.3.5.
very good cood,haha! thanks for seethrou!
--------chinese---------