Author Topic: How to Remove VMED on Virtuemart admin home page  (Read 3123 times)

da8iwr

  • Jr. Member
  • **
  • Posts: 192
    • New World Designs
How to Remove VMED on Virtuemart admin home page
« on: February 12, 2014, 15:17:44 pm »
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

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27457
  • Always on vacation
    • Jenkin Hill Internet
Re: How to Remove VMED on Virtuemart admin home page
« Reply #1 on: February 12, 2014, 16:40:43 pm »
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

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10

da8iwr

  • Jr. Member
  • **
  • Posts: 192
    • New World Designs
Re: How to Remove VMED on Virtuemart admin home page
« Reply #2 on: February 13, 2014, 01:48:24 am »
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2913
  • VirtueMart Version: 3.4
Re: How to Remove VMED on Virtuemart admin home page
« Reply #3 on: February 13, 2014, 09:30:44 am »
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 3.9.1
php 7.1

da8iwr

  • Jr. Member
  • **
  • Posts: 192
    • New World Designs
Re: How to Remove VMED on Virtuemart admin home page
« Reply #4 on: February 13, 2014, 12:38:37 pm »
Thanks Hudson, but i have tried this (template over ride) and it didn't work... This is what i wrote in the Joomla forum.

Quote
Hi 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

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27457
  • Always on vacation
    • Jenkin Hill Internet
Re: How to Remove VMED on Virtuemart admin home page
« Reply #5 on: February 13, 2014, 14:33:35 pm »
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

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2913
  • VirtueMart Version: 3.4
Re: How to Remove VMED on Virtuemart admin home page
« Reply #6 on: February 13, 2014, 20:59:21 pm »
 :'(

I really thought I had tried hard to help?

Thanks jenkin  8)
regards
A

Joomla 3.9.1
php 7.1

razor7

  • Jr. Member
  • **
  • Posts: 325
    • MGSCreativa - Professional VM!
Re: How to Remove VMED on Virtuemart admin home page
« Reply #7 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;
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9853
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: How to Remove VMED on Virtuemart admin home page
« Reply #8 on: June 27, 2014, 03:41:24 am »
Consider that this is not helpful to maintain the project.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2913
  • VirtueMart Version: 3.4
Re: How to Remove VMED on Virtuemart admin home page
« Reply #9 on: June 27, 2014, 09:29:22 am »
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 3.9.1
php 7.1

Maxim Pishnyak

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2657
Re: How to Remove VMED on Virtuemart admin home page
« Reply #10 on: July 07, 2014, 15:20:53 pm »
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!