VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: david.savill on August 20, 2014, 14:41:08 PM

Title: 2 questions for: getting rid of a button and not showing names.
Post by: david.savill on August 20, 2014, 14:41:08 PM
Hello,

Firstly a link to the website is here: www.silksofcheltenham.com

I am struggling with a couple of things with VirtueMart.

1) Firstly I would like to get rid of the "Product Details" button... Ive read online about having to create an override file, but I dont understand anyone's descriptions of how to do this, if this is the only way this button can be removed could someone tell me how to do it in "laymans terms" please :)

2) In the menu I've created a "Designers" section and set Virtumart to display "VirtueMart Manufacturer Default Layout" ... this is great, the page displays the Manufacturers Logos..... but, above the logo is also the name? which looks messy (please see image attached) how do I remove these names? .... i thought maybe setting the Menus "Add Menu Title" to "No" but this hasnt worked.

Thank you for your help

[attachment cleanup by admin]
Title: Re: 2 questions for: getting rid of a button and not showing names.
Post by: GJC Web Design on August 20, 2014, 15:12:54 PM
http://forum.virtuemart.net/index.php?topic=90935.msg298367#msg298367

and do the same for the man layout template
Title: Re: 2 questions for: getting rid of a button and not showing names.
Post by: david.savill on August 20, 2014, 22:56:52 PM
Thank you for your reply,

Yeah i'm still struggling with that... why doesn't VirtueMart just have an option to not show the button would be so much easier  >:(

is there a video showing how to create it the override file? i dont have a "default.php" in the templates folder either so i dont know what to do about that....

and any ideas on how to change "2)" of my 2 problems with the titles being visible?

Thank you

Title: Re: 2 questions for: getting rid of a button and not showing names.
Post by: jenkinhill on August 20, 2014, 23:12:33 PM
I don't think there is an easier to understand tut on overrides than https://www.ostraining.com/blog/joomla/overrides/

The titles can probably be hidden with css to avoid yet another override edit. Use Firebug to examine the code. http://forum.virtuemart.net/index.php?topic=116620.0
Title: Re: 2 questions for: getting rid of a button and not showing names.
Post by: david.savill on August 20, 2014, 23:16:16 PM
Thanks Jenkinhill

Just giving firebug a go as we speak actually.... I found the bit of code that gives the "Product Details" button its over all look, a large chunk from line 466 ... Just trying to find the existence of the button itself to delete it.