Hi Guys
We have updated VM to the latest stable version and the VMED (Virtuemart extension directory) is showing on the home page.
Does anybody know how to turn them off, as the site is finished and working great as well as the client doesn't need to know these extensions as they are not developers in any form.
Many thanks
Ian
Edit administrator/components/com_virtuemart/views/virtuemart/tmpl/default_controlpanel.php to remove the sections you don't want the client to see and use the edited file as a template override.
Thanks Kelvyn
I have actually been asking how to make the template over ride, as I have tried and it isn't working from my tests. I have asked on Joomla.org and got no reply, but would you know the answer?
http://forum.joomla.org/viewtopic.php?f=615&t=835363
Many thanks
Ian
You need to put your override in the correct place for admin overrides to function.
In the case of the control panel put it here:-
administrator/templates/YOUR admin template/html/com_virtuemart/virtuemart/default_controlpanel.php
Thanks Hudson, but i have tried this (template over ride) and it didn't work... This is what i wrote in the Joomla forum.
QuoteHi Guys
We are trying to work out if it is possible to make an override for the bluestork template, which changes a file in Virtuemart.
We know how to do this by hacking VM so it shows an extra feature in Virtuemart adding a product page, but we want to do this using a override, so if/when VM updates, it won't lose the new extra features.
This is what I have tried and it didn't work so far.
Copying this file
administrator/components/com_virtuemart/views/product/tmpl/product_edit.php
To here
administrator/templates/bluestork/html/administrator/components/com_virtuemart/views/product/tmpl/product_edit.php
Even tried here incase the admin directory wasn't needed
administrator/templates/bluestork/html/components/com_virtuemart/views/product/tmpl/product_edit.php
and it didn't work :(
Does anybody know if this is possible?
PS, I tried here rather than a VM forum, as this is a Joomla over ride, not a VM technical issue.
Many thanks
Ian
As Hutson says, the override should be placed as
administrator/templates/bluestork/html/com_virtuemart/virtuemart/default_controlpanel.php
and not in the strange places you tried to use. Template overrides have been part of Joomla since J1.5 was first introduced, for help on these see http://docs.virtuemart.net/tutorials/33-templating-layouts.html and http://www.ostraining.com/blog/joomla/overrides
:'(
I really thought I had tried hard to help?
Thanks jenkin 8)
The Override trick did the job!
Just added this at the beginning of the file
Quote$this->virtuemartFeed = $this->extensionsFeed = false;
Consider that this is not helpful to maintain the project.
Agreed Milbo
However, I doubt the volume of people removing the advertising in the backend will have any significant impact.
Users will click on anything and that, sometimes, is less than desirable.
One of the reasons why many will be happy with the removal of the out of date/update button from the VM page.
Quote from: razor7 on June 27, 2014, 03:04:56 AM
The Override trick did the job!
Just added this at the beginning of the file
Quote$this->virtuemartFeed = $this->extensionsFeed = false;
Should I report this post to moderator? Wait ... I'm moderator!