Search found 197 matches

Search found 197 matches

Re: Use the ($this->document->addScript) to add scripts located in extension/

Unfortunately it didnt work. I got this working, but Im not sure if its right or wrong:

Code: Select all

$this->document->addScript( HTTP_CATALOG . 'extension/mymodule/admin/javascript/modulescript.js');

Jump to post
  • Thu Feb 23, 2023 9:54 pm
  • Replies 3
  • Views 1391
Use the ($this->document->addScript) to add scripts located in extension/

Trying to upgrade a module from 3.0 to 4.0. Now, since all extension files (include any scripts/css files) are located in the extension/ folder, im struggling to import them. Earlier, I used: $this->document->addScript('view/javascript/mymodule/modulescript.js'); as the files was located in admin/vi...

Jump to post
  • Thu Feb 23, 2023 9:14 pm
  • Replies 3
  • Views 1391
Opportunity: Someone willing to continue theme development business?

Hi, I have one (quite popular) opencart theme that need some love. With my new day time job and family its hard finding time spend on it. Im also not a professional coder, so everything takes much more time for me. So, what needs to be done in order to get the business running again: - Upgrade the t...

Jump to post
  • Mon Feb 06, 2023 6:32 pm
  • Replies 2
  • Views 1424
[SOLVED] Simple php fix required for module

I need this module to be fixed, where a function code should be moved outside of the index function and instead be a stand a lone part. If you know PHP I guess this should take less than an hour..

Drop me a PM and I will send you the module. Thanks!

Jump to post
  • Tue Jul 19, 2022 3:26 am
  • Replies 4
  • Views 566
Re: Twig {% include %} function changed in Opencart 3.0.3.5

Yeah, in this particular example it wouldn't be any big problem to put it into the controller. The problem is that I have used the {% include %} on multiple areas :/

Jump to post
  • Tue Jul 21, 2020 4:30 am
  • Replies 4
  • Views 4952
Twig {% include %} function changed in Opencart 3.0.3.5

I have searched for an answer for this without any success. Maybe someone else had ran into this? I used to use the twig function "include". Eg, in my header.twig, I use to use this line: {% include 'default/template/common/mobile-nav.twig' %} Simply like a php include call. Now, upgrading...

Jump to post
  • Tue Jul 21, 2020 3:10 am
  • Replies 4
  • Views 4952
Re: OpenCart 3.0.1.0 Released

The new version looks really promising! However, I wonder about the permission directories. When uploading files using the installer, the entire folder is allowed: admin/controller/extension/ But from the admin/controller/startup/permissino.php, only these areas are reachable: // If a 3rd part is fo...

Jump to post
  • Thu Jul 06, 2017 7:28 pm
  • Replies 51
  • Views 59456
Re: Image Manager Search Issue

Anyone having a good idea how to make the search look into sub-folders too when searching?

Jump to post
  • Fri May 12, 2017 3:03 am
  • Replies 5
  • Views 2764
Re: Install - After Step 3 Configuration - blank page

I just ran into this issue myself. The problem in my case was that the database user didnt have the right permissions to create/read database tables. That causes a blank page without any error message etc.

Jump to post
  • Sun Apr 30, 2017 7:41 pm
  • Replies 17
  • Views 7302
Re: Extensions sales drop after new opencart website

D3MO wrote:Simple thing imagine you would be a Buyer...
IP_CAM wrote: it's a 'medium-well' done Tragedy already, and if it keeps on like this,
it's rather a suicide attempt, in the long run..., I fear.
Ernie
- I agree the problems with the new website, but can you confirm your sales has dropped as well?

Jump to post
  • Thu Jan 12, 2017 5:50 pm
  • Replies 4
  • Views 1733
Extensions sales drop after new opencart website

Im having a (total) drop in my extension sales at the marketplace after the new opencart website was launched. On the old website, the sales volume was almost the same each month, but after the new website launch the sales has dropped with ~70%. Anyone else facing the same thing? However, dispite th...

Jump to post
  • Thu Jan 12, 2017 12:10 am
  • Replies 4
  • Views 1733
Re: Official OpenCart Website Bug Reports

DEAWid wrote:Daniel, please at least fix extension edits.. I'm not alone who is waiting to refresh module description for new design.
We all waiting for this, if nothing else is fixed now.
Meanwhile, you can use <br> to create new lines..

Jump to post
  • Sat Nov 12, 2016 6:04 am
  • Replies 351
  • Views 96465
$this->model_setting_setting->editSetting [SOLVED]

Im trying to archive a settings form that will save variables into two different codes in the oc_setting table. For example, in the template files, I got this: <input type="text" name="config_variable" value="<?php echo $config_variable; ?>" /> <input type="text&qu...

Jump to post
  • Sun Apr 17, 2016 10:12 am
  • Replies 1
  • Views 2592
Cant get "onchange" scripts with the image manager in 2.0.3

Hi there, This might be a strange question, however, Im trying to build a module. The module should have a image uploading feature, which is added and works just fine. I would though need to perform an onchange event when the input field is changed. For some reason, it dont work. For example, I uplo...

Jump to post
  • Fri Jul 24, 2015 8:39 am
  • Replies 1
  • Views 1080
Re: "Official" 2.0.2.0 BUG topic

Is it just me that cant get the re-Captcha working on product reviews? I have made a configuration on my google account, and filled in the keys under System > Settings. The captcha seem to work normal on the contact page, but not on product pages. Nothing happens when I push the Continue button. Ha...

Jump to post
  • Fri Apr 10, 2015 5:09 am
  • Replies 37
  • Views 13410
Re: "Official" 2.0.2.0 BUG topic

Is it just me that cant get the re-Captcha working on product reviews? I have made a configuration on my google account, and filled in the keys under System > Settings. The captcha seem to work normal on the contact page, but not on product pages. Nothing happens when I push the Continue button. Hav...

Jump to post
  • Fri Apr 10, 2015 4:55 am
  • Replies 37
  • Views 13410
Re: Module checkbox driving me nuts!

Thank you guys! Anyway, non of these solutions works. Only code working is this: if (isset($this->request->post['show_link'])) { $data['show_link'] = $this->request->post['show_link']; } elseif (!empty($module_info['show_link'])) { $data['show_link'] = $module_info['show_link']; } else { } I can liv...

Jump to post
  • Sun Jan 18, 2015 4:37 am
  • Replies 8
  • Views 4268
Re: Module checkbox driving me nuts!

Thanks a lot for the tip! It kind of work. The error message is gone, but the checkbox is always checked. This code seem to work properly though, even though it looks strange to me. if (isset($this->request->post['show_link'])) { $data['show_link'] = $this->request->post['show_link']; } elseif (!emp...

Jump to post
  • Fri Jan 16, 2015 9:51 pm
  • Replies 8
  • Views 4268

Search found 197 matches