Search found 2 matches
Page 1 of 1
Search found 2 matches
Re: OC 4 Extensions - Admin js/css/img files
Hi! Try to use path like this: $this->document->addStyle('/extension/menu_manager/admin/view/javascript/menu_manager.css?v=' . $this->_version); $this->document->addScript('/extension/menu_manager/admin/view/javascript/menu_manager.js?v=' . $this->_version); Thank you, this works!
Jump to post- Wed Aug 07, 2024 3:21 pm
- Replies 2
- Views 1311
[SOLVED] OC 4 Extensions - Admin js/css/img files
Hello, Im trying to upgrade my extension from opencart 3 to opencart 4. Let's say I have this directory structure: module_name/admin/view/image/my.png How can I access this image? I am trying to display it in a twig file. In opencart 3 it could access it at {admin_url}/view/image/my.png This does no...
Jump to post- Mon Aug 05, 2024 11:17 pm
- Replies 2
- Views 1311
Page 1 of 1
Search found 2 matches