Skip to main content

overwrite view.html.php in administrator

More
11 years 7 months ago #190481 by jesper
-- 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.

More
11 years 7 months ago #190485 by Jerome
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.

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

More
11 years 7 months ago #190612 by jesper
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.161 seconds
Powered by Kunena Forum