Browse listings issue

Discussion in 'TemplateCodes' started by legallea, Sep 15, 2010.

  1. legallea Customer

    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.
  2. seymourjames All Hands On Deck

    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?
  3. legallea Customer

    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.
  4. seymourjames All Hands On Deck

    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.
  5. legallea Customer

    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.
  6. Mike-N-Tosh Developer & Moderator

    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.
  7. seymourjames All Hands On Deck

    Yup - I think that makes a lot of sense.

Share This Page