overwrite view.html.php in administrator

  • Posts: 171
  • Thank you received: 4
10 years 7 months ago #190481

-- url of the page with the problem -- : none
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.27
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : none

Hi,

i need to add an some code to view.html.php and a controlloer in the administrator... is there an easy way to do this so that i don't break updates.

Please Log in or Create an account to join the conversation.

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 7 months ago #190485

Hi,

You can overrides the views but you can't override the "view.html.php" file.
Best is to place your code in the beginning of a view ; it will have the same kind of effect.

And you can override the classes but you can't override the controllers.
Best is to create a system plugin to define your own controller when you're in the admin and the option is "com_hikashop" and the ctrl is the controller you want to redefine.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 171
  • Thank you received: 4
10 years 7 months ago #190612

thanx for the info... not the reply i hoped for ;) i needed to add a custom function/icon to the order list and a function to this with selected elements in the backend....

i will have to do a diff file that can be applied to hikashop then on update.

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum