Support Forums

Browse listings issue

This is a discussion on Browse listings issue within the TemplateCodes forums, part of the Third Party Support category; Hi, I have a couple of queries regarding the browse listings function. Firstly, when you click on browse from the ...


Go Back   68 Classifieds Forums > Third Party Support > TemplateCodes

Reply
 
Thread Tools Display Modes
Old 09-15-2010, 04:55 AM   #1
Customer
 
Join Date: Aug 2010
Posts: 11
Rep Power: 5
legallea is on a distinguished road
Default Browse listings issue

Hi,

I have a couple of queries regarding the browse listings function.

Firstly, when you click on browse from the main navigation on my site only the top category shows. Is it possible to have the parent categories show underneath without having to click on 'motorcycles' for them to appear?

Eg. Motorcycles

Road Dual Sport Scooter

Secondly, when you click on 'motorcycles' the message 'Sorry no items were found', however, there are listings in the parent categories. Could you please suggest how I might fix this?


Legal Learner Bikes

Many thanks.
legallea is offline   Reply With Quote
Old 09-15-2010, 05:09 AM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

1. We do not supply this template file in fact - browse.tpl . However in the default template you need to take the comments of this line in categories/browse.tpl


<!--{$data[td].subcats}-->

It should then display the subcategories underneath each parent category.


2. Have you changed browse.tpl or category.php . In addition you are using the default template showlistings2.tpl which is not part of the Sigma template. Have you modified it for example? Do you still get the error message if you set to showlistings.tpl in your admin control panel?
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting

Last edited by seymourjames; 09-15-2010 at 05:16 AM.
seymourjames is offline   Reply With Quote
Old 09-16-2010, 05:29 AM   #3
Customer
 
Join Date: Aug 2010
Posts: 11
Rep Power: 5
legallea is on a distinguished road
Default

Thank for your reply.

I tried taking the comments <!--{$data[td].subcats}--> in categories/browse.tpl and it did display the subcategories but it placed them all in a row like this:

Road Dual Sport Scooter ...

Is there any way to have them appear in a bulleted format?

Road

Dual Sport

Scooter

I haven't made any changes to browse.tpl or category.php. I did have the template set to showlistings2.tpl. I have changed it to showlistings.tpl and the error message still comes up.
legallea is offline   Reply With Quote
Old 09-16-2010, 06:28 AM   #4
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

1. You will need to work on the css to align things as you want. This is standard 68C. Make sure you have the right number of columns set up in your admin control panel for categories and subcategories. There are posts on the forum about manipulation of the category browse pages and showing subcats.

2. Change to the default template - does this still happen? You do have the settings in motorcycles for example to say ads are not allowed don't you.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 09-20-2010, 04:12 AM   #5
Customer
 
Join Date: Aug 2010
Posts: 11
Rep Power: 5
legallea is on a distinguished road
Default

Hi,

I had 'allow ads' for motorcycles set to yes, which was obviously the problem.

I will look at posts on subcategory layout for further direction on this.

Many thanks again.
legallea is offline   Reply With Quote
Old 09-20-2010, 08:41 AM   #6
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

One thing that I noticed and quite honestly doesn't make any sense to me is the fact that you have one main category, "Motorcycles". Were you planning on adding others? All of your categories are under that one, which means they are NOT parent categories, they are sub categories. If you are not planning on adding other "Parent" categories other than "Motorcycles", I would suggest that you move your other categories to be "Parent" categories (e.g. in the admin settings set to parent category) and delete the Motorcycle category.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 09-20-2010, 09:12 AM   #7
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Yup - I think that makes a lot of sense.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enhancing browse pages with listings seymourjames TemplateCodes 20 08-23-2010 04:14 PM
How to show listings on browse category page? rdouglas Technical Support 3 06-24-2009 07:11 AM
SEO/Browse Your listings bad urls petey Technical Support 6 01-24-2009 09:10 PM


All times are GMT -4. The time now is 07:39 AM.


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