Support Forums

Display Sub Category in Accordion

This is a discussion on Display Sub Category in Accordion within the Modules / Plugins / Modifications forums, part of the Developer Forums category; Do you know where I can find a script that I can integrate in home.tpl to have a display like ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 08-26-2008, 10:26 PM   #1
Senior Member
 
hel68c's Avatar
 
Join Date: Jun 2008
Location: Canada, Quebec
Posts: 284
Rep Power: 15
hel68c is just really nice hel68c is just really nice
Default Display Sub Category in Accordion

Do you know where I can find a script that I can integrate in home.tpl to have a display like accordion in my sub category?

Thanks!
__________________
Serge
HobbyClassified.com
V4.08 Developper, Module installed (CIV Scam Filter, Maffo Location System, Maffo News,Youtube, Seller Store)
hel68c is offline   Reply With Quote
Old 11-29-2009, 10:53 PM   #2
Senior Member
 
Join Date: Oct 2009
Posts: 199
Rep Power: 5
guillopuig is on a distinguished road
Default

no reply here?

its an interesting option to have.
__________________
4.1.6 Designer ----> soon to be Developer
guillopuig is offline   Reply With Quote
Old 11-30-2009, 11:09 AM   #3
Senior Member
 
Join Date: Apr 2009
Posts: 386
Rep Power: 11
damiun is on a distinguished road
Default

@hel68c

So you are looking for a accordion script?

Accordion v2.0 Demo

Or email templatecodes and ask their permission because they are also using a kind of accordion for their doc system (to see this go to your web administration - modules - find a templatecodes module - click the question mark and choose for "documentation"

And about the categories,
I am not sure how to do so, i like the idea though.
I dont think this has to be that difficult,
just the head category as the clickable accordion part, and the subs underneath.
Just have a look at the source code of the accordion,
first try to make it work without the categories and try , justy try.

And if you need help, just ask for it,
I will try it also in a few days,...

If i have it done i will pm it to you.

Last edited by damiun; 11-30-2009 at 03:55 PM.
damiun is offline   Reply With Quote
Old 12-13-2009, 02:58 PM   #4
Senior Member
 
Join Date: Oct 2009
Posts: 199
Rep Power: 5
guillopuig is on a distinguished road
Default

Danium,

did you have luck with this?
__________________
4.1.6 Designer ----> soon to be Developer
guillopuig is offline   Reply With Quote
Old 12-13-2009, 07:53 PM   #5
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,310
Rep Power: 55
seymourjames has a spectacular aura about
Default

If you are using it within your same installation/directory you can use the existing accordion that you have. Why complicate matters.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds, Matching WordPress Themes & Magento Online Stores
seymourjames is offline   Reply With Quote
Old 12-13-2009, 08:59 PM   #6
Senior Member
 
Join Date: Oct 2009
Posts: 199
Rep Power: 5
guillopuig is on a distinguished road
Default

Fair enough... Will try it this week.
__________________
4.1.6 Designer ----> soon to be Developer
guillopuig is offline   Reply With Quote
Old 01-09-2010, 11:52 PM   #7
Senior Member
 
Join Date: Oct 2009
Posts: 199
Rep Power: 5
guillopuig is on a distinguished road
Default

David.
id like to have categories show up and auto populate as accordion headings and subcategories as accordion sub-headings under its appropriate category to be placed as a stand alone accordion on the side column.

Could you please share some insight as to how to tweak the current accordion menu. I will be duplicating it.

Thanks!
__________________
4.1.6 Designer ----> soon to be Developer
guillopuig is offline   Reply With Quote
Old 01-10-2010, 07:28 AM   #8
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,310
Rep Power: 55
seymourjames has a spectacular aura about
Default

The normal accordion uses a standard plugin supplied by 68C to generate the main categories - function.categories_parent.php. This is used by the templatezones module (specifically templates/categories.tpl). It is being called like this {categories_parent}

In order to make it display subcategories you will need to make a similar plugin which also renders the subcategories (instead) and call that plugin from categories.tpl . It may or may not help there is another plugin you might be able to use function_categories_js.php . What is really needed is a plugin where you enter the category and it returns all the subcategories for it. The job will then be a lot easier.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds, Matching WordPress Themes & Magento Online Stores
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Display all ads and their category hel68c Modules / Plugins / Modifications 5 08-21-2008 05:36 PM
Adding 'category' to 'new listings' display Chaslie v3.1 Modules & Modifications 5 01-31-2008 04:31 PM
Display Banner in one Category BABBSELA v3.1 Questions & Support 3 02-10-2007 03:22 PM
modifying display of one category dawyatt v3.1 Modules & Modifications 4 08-27-2006 06:18 PM
Browse Category Display dawyatt v3.1 Questions & Support 5 05-17-2006 02:06 PM


All times are GMT -4. The time now is 03:08 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0