VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: tzic on January 31, 2015, 11:45:26 AM

Title: Edit the categories page
Post by: tzic on January 31, 2015, 11:45:26 AM
Hello,

I need to edit the buttons and some other details in the products category page VM2. Take a look http://www.ahealthcare.gr/%CE%B5%CE%BE%CE%BF%CF%80%CE%BB%CE%B9%CF%83%CE%BC%CF%8C%CF%82-%CE%B9%CE%B1%CF%84%CF%81%CE%B5%CE%AF%CE%BF%CF%85/%CE%B1%CE%BD%CE%B1%CE%BB%CF%8E%CF%83%CE%B9%CE%BC%CE%B1-%CE%B9%CE%B1%CF%84%CF%81%CE%B5%CE%AF%CE%BF%CF%85 (http://www.ahealthcare.gr/%CE%B5%CE%BE%CE%BF%CF%80%CE%BB%CE%B9%CF%83%CE%BC%CF%8C%CF%82-%CE%B9%CE%B1%CF%84%CF%81%CE%B5%CE%AF%CE%BF%CF%85/%CE%B1%CE%BD%CE%B1%CE%BB%CF%8E%CF%83%CE%B9%CE%BC%CE%B1-%CE%B9%CE%B1%CF%84%CF%81%CE%B5%CE%AF%CE%BF%CF%85)

Which page is this, can anyone tell me please?

PS Is there a way to determine with firebug (or similar) which page is this?
Title: Re: Edit the categories page
Post by: jenkinhill on January 31, 2015, 12:18:35 PM
It is obviously the category (Κατηγορίες) display - it says so on the page, but if you just turned SEF off you would see that in the real url.

It is whatever override file you are using for the default file at components/com_virtuemart/views/category/tmpl/default.php  which is probably located at /templates/ja_purity_ii/html/com_virtuemart/category/

Looking at the page code you don't seem to be using a current version of VirtueMart. For security reasons you should be using at least VM2.6.10 (http://virtuemart.net/news/latest-news/462-security-release-of-vm2-6-10-and-vm2-9-9b)  but if updating you should test first on a backup copy of the website as your overrides may need updating.
Title: Re: Edit the categories page
Post by: tzic on February 02, 2015, 07:03:44 AM
Quote from: jenkinhill on January 31, 2015, 12:18:35 PM
It is obviously the category (Κατηγορίες) display - it says so on the page, but if you just turned SEF off you would see that in the real url.
...

Thank you for the info. I got the security fix without updating which would be very hard after all these customizations. I searched in all these default.php files but I couldnt find the code for the button...
Title: Re: Edit the categories page
Post by: GJC Web Design on February 02, 2015, 11:27:15 AM
you are using some non standard layout and paths

your css for example is http://www.ahealthcare.gr/templates/ja_purity_ii/html/com_virtuemart/themes/default/assets/css/general/default-firefox.css

so assume your templates are in http://www.ahealthcare.gr/templates/ja_purity_ii/html/com_virtuemart/themes/default/ somewhere