News:

Looking for documentation? Take a look on our wiki

Main Menu

adding card logos to main VM page

Started by daniel123, July 11, 2016, 10:33:21 AM

Previous topic - Next topic

daniel123

Hello, please I have a hard time adding card-icons (logos) to my main VM site. We are implementing cardpay with our bank, but they need to see card logos on the main VM page, and I just cant find out how to do so. Please can u help me with that?
My site and page I need to add those icons is : https://reachtraining.eu/webshop-sk

Thanks a lot for help !

Studio 42

Add a new Joomla module "Custom" for this page only.
Else you can manually overide your main file copy:
YOURSITE\components\com_virtuemart\views\virtuemart\tmpl\default.php
and paste it to
YOURSITE\templates\YOURTEMPLATE\html\virtuemart\tmpl\default.php
And add your modifications

daniel123

Hello, thanks a lot for reply!
But as I was looking for YOURSITE\templates\YOURTEMPLATE\html\virtuemart\tmpl\default.php
-in YOURSITE\templates\YOURTEMPLATE\html\  - I cant find virtuemart :/
https://gyazo.com/b656c41a0e1f4354a56e911ae679cce7


jenkinhill

Quote from: daniel123 on July 11, 2016, 11:04:44 AM

But as I was looking for YOURSITE\templates\YOURTEMPLATE\html\virtuemart\tmpl\default.php
-in YOURSITE\templates\YOURTEMPLATE\html\  - I cant find virtuemart :/

The path should be templates/YOURTEMPLATE/html/com_virtuemart/virtuemart/default.php

You will have to create the subdirectories if not already there.
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

daniel123

Thanks!
Please one more question, when Im not able to code in php, is there another way?

THX

jenkinhill

Yes, as Studio 42 mentioned: "Add a new Joomla module "Custom" for this page only."

https://docs.joomla.org/Help35:Extensions_Module_Manager
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

daniel123

Thanks for reply!
So Ive made module (name = "VM-platby")-> custom code -> and type HTML/CSS code.
Published it only for that menu item.
Then I went to administration-> menu and to that item, and -> module assignment and I see the module as "yes" (=published for that menu).
-> https://gyazo.com/28163250d37ec2bf9d049bca78887bdc

But when I go to my site and to that page, the module code still does not appear..
I guess that its because I dont have a position for that module, but I think nothing of that list of positions is not what I need.. {there are things like menu, offcanvas, logo, footer}

The menu item ("obchod" = "shop") where I need to add content (card logos and stuff), does not have editable content :
-> https://gyazo.com/07c07cd14984b00c3a4f4ccb3c8ee5a9
Therefore I just cant find a way to add that module below the actual content (shop items)
-> https://gyazo.com/f5b8892103e1156f4b8129d3a80c3738

Can someone please help me with that too? Or am I doing it wrong?
Thanks for help !!!

Studio 42

Edit the code, as explained before. Or add menu for categories.
If you set only one menu link, then all submenus inherit from this, including the modules.

jenkinhill

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

daniel123