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

isAdmin() bug in Horme_3 template

Started by BGrinac, May 16, 2022, 15:57:06 PM

Previous topic - Next topic

BGrinac

Hello,
I have read in the forum that in Joomla 4 code the former, Joomla 3, function isAdmin() has been replaced with isClient('administrator'). I have fixed this manually for Virtuemart 4.0. But when I have updated my test site with Virtuemart 4.02, the error was there again. I am not sure if the bud is still in Virtuemart code, but is in Horme_3 template. Its easy to find with grep.

balai


GJC Web Design

Like a childish guessing game converting from J3 to J4... guess it gives the Joomla devs a snigger when yet another pointless change is missed...  ::)
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

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/