Hi everyone, In my accordion sidebar, instead of showing all most viewed listings, I'd like to show only new listings of one single category. I already changed most viewed to new listings. Say I have 3 cats : Cat1, Cat2 and Cat3. How can I show only new listings of Cat1 ? Also, as my website won't exactly be about buying and selling objects, but more of a jobboard, I don't want prices to show under my featured - new - top listings on my homepage (smkorby has a good image of what I'm talking about in his thread) I have tried preventing all users - even admins - to see prices, but they still appear on the home page...
To stop prices being shown you need to edit modules/custom_plugins/plugins/function.css_listings_horizontal.php this line $show_price = 'Y'; You will need to modify the code on your other request in modules/templatezones/templates/accordion.tpl The specific part is calling the a plugin. You would need to modify this to pick out the category you want. Again you should be able to work this out from the instructions on how to make a list from just one category. {css_listings_horizontal number=5 type="top" list="true" truncate=true truncate_end="17" truncate_suffix="..."}
Okay, I'm sorry, I'm loosing my mind. I meant multiple categories. Is there a way to show listings of multiple, but not all categories ? I naïvely thought a parent category would show listings in its sub-categories. So I have : Cat1 > SubCat1 > SubCat2 > SubCat3 Cat2 I want to show listings of SubCat1, 2 and 3 in the accordeon. Is that possible ? (Sorry I made you repeat what you already said in the instructions, David...)
No, the plugin will not do this in a single call. You would need to modify it to showlistings from just some categories. an idea which should work. You could use the plugin call several times in the accordion, one for each category you want and to display just one link. That may work.