News:

Looking for documentation? Take a look on our wiki

Main Menu

template override for vmadmin

Started by p.barg, April 11, 2023, 11:29:20 AM

Previous topic - Next topic

p.barg

Hello,

is there a way to write a backend template override for the new vmadmin?
I used to do this for J3/VM3 for the products list in the backend, but as vmadmin seems to be a template override itself, I don't know if that's possible at all...

J44.2.9 / VM4.0.12

Thanks, Petra

jjk

You can create for example a user.css file with your overrides in the css folder at:
htdocs\yoursitename\media\templates\administrator\atum\css.

At present I'm using it only for reducing the body text size in the product list view from 1.0 rem to 0.75rem.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

p.barg

Hi jik,

thanks for your suggestion!
What I need to do though is a template override of a php-file of the vmadmin template.

Petra

GJC Web Design

Hi Petra,

make a child of Autum - select that as default
then e.g.
administrator\templates\atum_autum_child\html\com_virtuemart\about\default.php works

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

p.barg

Hm, that's what I actually tried (without the child template though - I directly placed the override in the atum template).
But the result was a mess. For the corresponding view (product list in my case) the backend VM template switched to the old layout then and looked terrible.


GJC Web Design

only worked here with a child template to Autum .. without a child your changes will be over written on any Joomla update  - so then u might as well make the changes directly in the VMAdmin template and just renew them when u update
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation