This is a discussion on How to show listings in sub-categories? within the v4 Questions & Support forums, part of the Help & Support category; Hi, Is there a way to show listings under the sub-categories when browsing? If so, how? Same as when searching ...
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
Is there a way to show listings under the sub-categories when browsing? If so, how? Same as when searching on a parent category will show listings on it's child categories. Thanks, |
|
#2
|
||||
|
||||
|
Hi,
If you open the home.tpl file you should see this: Code:
<!--{$data[td].subcats}-->
Code:
{$data[td].subcats}
When searching it will search any sub-categories of the current category chosen.
__________________
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 | Twitter |
|
#3
|
|||
|
|||
|
Got it!
![]() Modify category.php: Quote:
|
|
#4
|
|||
|
|||
|
Quote:
Thanks, |
|
#5
|
||||
|
||||
|
I am not sure about that code you posted. I do not see it in the v4 category file.
__________________
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 | Twitter |
|
#6
|
|||
|
|||
|
I think what he mean is showing the listings of subcategories on their parent category page.
For example, Cars - Ford - Honda - BMW I set no posting of ads for main categories. Users can only post to sub-categories. So how to show the listings of Ford, Honda, BMW on Cars main category page? Else, main category index pages will be empty.
__________________
Using V4++ Developer... and loving it. |
|
#7
|
||||
|
||||
|
The category page will show any sub categories. Here is an example:
http://demo.68classifieds.com/catego...autos-for-sale That category allows listings but you can see the sub categories above them.
__________________
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 | Twitter |
|
#8
|
|||
|
|||
|
There's a miscommunication here. Sorry, maybe I didn't explain clear enough.
We are referring to showing the ads from subcategories, on their parent categories index page. For example, my Car category will be closed. But I want the Car category to show the ads from the subcategories of Ford, Honda, BMW... I will be doing like this member is doing Categories My main categories will act like headers, ad posting is only allowed in subcategories. But I want the main category to show ads from subcategories. How to do this? Thanks.
__________________
Using V4++ Developer... and loving it. Last edited by Success; 04-28-2008 at 12:20 PM. |
|
#9
|
||||
|
||||
|
Quote:
So you want hundreds of ads all displayed on a single page?
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
#10
|
|||
|
|||
|
No, because you can set the number of ads to be displayed on each page right?
__________________
Using V4++ Developer... and loving it. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| V4 Changes | Eric Barnes | v4 Questions & Support | 24 | 11-12-2007 02:35 AM |
| How to display category total listings? | dankellaway | v3.1 Questions & Support | 2 | 03-13-2007 02:25 PM |
| Not all listings show when I "search listings" | gabs | v3.1 Questions & Support | 6 | 12-29-2006 12:34 PM |
| Prevent Browse Categories Table for hidden categories | free2take | v3.0 Questions & Support | 3 | 05-12-2006 11:14 AM |
| Show Top Listings On Home Page | zman78 | HTML, CSS, and Design Help | 3 | 04-21-2006 05:32 AM |