Home
Serr.biz
Move RSS icon right - Show only 1 feed
Question: We enable the category feeds in virtuemart. However, if the parent category doesn't have any products, then the feed is blank. Plus, we just want to promote ONE feed with our NEWEST PRODUCTS category. We also don't like the feed icon right next to the category name. We would like it move it all the way to the right of the page for design purposes. Answer: The default Virtuemart RSS feeds only generate xml if the category has product. It does NOT apply to sub.categories within a parent category. This was shortsighted by the VM developers. But, with enough ruckus they will likely address in later versions. In the mean time you can achieve your desire by following these steps. Objective: Make the RSS icon in the category browse pages float right. 1) Open /components/ com_virtuemart/themes/default/templates/browse/includes/browse_header_category.tpl.php. 2) Around line 4 find: feed Let's just wrap the above code in a div and float it right. 3) Save, upload, test and adjust Div as needed. Objective: Make all of the RSS links show the same feed from the newest category. 1) First navigate to the category RSS feed you want *Note: RSS must be enabled in VM configuration first. 2) Copy the feed URL from the browser window. 3) Open /components/ com_virtuemart/themes/default/templates/browse/includes/browse_header_category.tpl.php 4) Around line 5 find : Comment it out and replace with the url on your clipboard. 5) Save and upload.
 

Add your comment

Your name:
Subject:
Comment:
  The word for verification. Lowercase letters only with no spaces.
Word verification:


Request Services
 
First Name
Last Name
E-mail
Phone
Domain
Question
Budget
  

My cart


+ Suggested tags