Support Forums


Go Back   68 Classifieds Forums > Help & Support > v4 Questions & Support

Notices

 
LinkBack Thread Tools Display Modes
Old 04-25-2008, 03:30 PM   #1
Senior Member
 
Join Date: Jul 2007
Posts: 116
Rep Power: 11
Success is on a distinguished road
Default Show 2nd level categories on homepage?

How to show all the subcategories under the main categories on the homepage?
__________________
Using V4++ Developer... and loving it.
Success is offline   Reply With Quote
Old 04-25-2008, 04:02 PM   #2
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,058
Rep Power: 117
Eric Barnes is a jewel in the rough
Default

Open the home.tpl template file and locate this:
Code:
<!--{$data[td].subcats}-->
Just uncomment or change it to:

Code:
{$data[td].subcats}
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 04-25-2008, 11:26 PM   #3
Senior Member
 
Join Date: Jul 2007
Posts: 116
Rep Power: 11
Success is on a distinguished road
Default

Thanks a lot Eric.
__________________
Using V4++ Developer... and loving it.
Success is offline   Reply With Quote
Old 04-27-2008, 12:45 AM   #4
Senior Member
 
Join Date: Jul 2007
Posts: 116
Rep Power: 11
Success is on a distinguished road
Default

Eric, uncommenting that shows some subcats but not the entire list.

How to show all subcats?

thanks.
__________________
Using V4++ Developer... and loving it.
Success is offline   Reply With Quote
Old 04-28-2008, 12:44 AM   #5
Senior Member
 
 
Join Date: Jan 2007
Posts: 370
Rep Power: 19
michael is a jewel in the rough
Default

Go to /includes/classes/kernel/Categories.php and find;

PHP Code:
function getSubCategoriesList($parent$limit=
Change the 3 to your desired limit.
__________________
M Michael
V4.1.3 Developer - 3 Column Default Template


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
michael is offline   Reply With Quote
Old 04-28-2008, 03:39 AM   #6
Senior Member
 
Join Date: Jul 2007
Posts: 116
Rep Power: 11
Success is on a distinguished road
Default

Thank you Michael.
__________________
Using V4++ Developer... and loving it.
Success is offline   Reply With Quote
Old 06-11-2008, 07:41 AM   #7
Senior Member
 
hel68c's Avatar
 
Join Date: Jun 2008
Location: Canada, Quebec
Posts: 244
Rep Power: 12
hel68c is just really nicehel68c is just really nice
Default

Hello,

If we want to return to the home page by press Home it work fine. But if we press Categories by press the link Categories � car. It does'nt show the subcategories.

Do you have a solution?
__________________
Serge
HobbyClassified.com
V4.08 Developper, Module installed (CIV Scam Filter, Maffo Location System, Maffo News, VBulletin Usershare)
hel68c is offline   Reply With Quote
Old 06-11-2008, 05:16 PM   #8
Senior Member
 
hel68c's Avatar
 
Join Date: Jun 2008
Location: Canada, Quebec
Posts: 244
Rep Power: 12
hel68c is just really nicehel68c is just really nice
Default

Any advice?
__________________
Serge
HobbyClassified.com
V4.08 Developper, Module installed (CIV Scam Filter, Maffo Location System, Maffo News, VBulletin Usershare)
hel68c is offline   Reply With Quote
Old 06-11-2008, 09:16 PM   #9
Senior Member
 
hel68c's Avatar
 
Join Date: Jun 2008
Location: Canada, Quebec
Posts: 244
Rep Power: 12
hel68c is just really nicehel68c is just really nice
Default

Ok I find it,

just do the samething in the file default/categories/browse.tpl
__________________
Serge
HobbyClassified.com
V4.08 Developper, Module installed (CIV Scam Filter, Maffo Location System, Maffo News, VBulletin Usershare)
hel68c is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Place an Ad Categories Some Not Working daina11 v3.1 Questions & Support 2 08-03-2007 05:19 PM
categories and sub categories darby64 v3.1 Questions & Support 0 05-19-2007 02:57 AM
Different template for categories? Mike-N-Tosh v3.1 Modules & Modifications 31 04-11-2007 07:29 AM
Show the visitors which category has new ads pat01 v3.1 Modules & Modifications 7 07-28-2006 01:25 AM
Prevent Browse Categories Table for hidden categories free2take v3.0 Questions & Support 3 05-12-2006 10:14 AM


All times are GMT -4. The time now is 12:37 AM.


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