News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How to Remove VMED on Virtuemart admin home page

Started by da8iwr, February 12, 2014, 15:17:44 PM

Previous topic - Next topic

da8iwr

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
Ian Wright
My Design agency
www.NewWorldDesigns.co.uk
Design - CMS - Ecommerce – SEO

Virtuemart to Froogle / Google Base XML Feed
www.joomlagooglebase.com

jenkinhill

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.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

da8iwr

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
Ian Wright
My Design agency
www.NewWorldDesigns.co.uk
Design - CMS - Ecommerce – SEO

Virtuemart to Froogle / Google Base XML Feed
www.joomlagooglebase.com

AH

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
Regards
A

Joomla 4.4.5
php 8.1

da8iwr

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
Ian Wright
My Design agency
www.NewWorldDesigns.co.uk
Design - CMS - Ecommerce – SEO

Virtuemart to Froogle / Google Base XML Feed
www.joomlagooglebase.com

jenkinhill

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

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

AH

 :'(

I really thought I had tried hard to help?

Thanks jenkin  8)
Regards
A

Joomla 4.4.5
php 8.1

razor7

The Override trick did the job!

Just added this at the beginning of the file

Quote$this->virtuemartFeed = $this->extensionsFeed = false;
MGS Creativa - VirtueMart Payment Plugin Experts
http://www.mgscreativa.com

Take a look at our downloads section for VirtueMart payment plugins and mouch more!
http://www.mgscreativa.com/en/online-store

Milbo

Consider that this is not helpful to maintain the project.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

AH

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.

Regards
A

Joomla 4.4.5
php 8.1

Maxim Pishnyak

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!
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart