More than wonderful ... Thank you .mikeinterserv wrote: ↑Sun Mar 27, 2022 12:36 amHere is an OCmod based on EVENTS for product images download.
Installs as a MODULE in extensions/modules. You can install / uninstall from there.
Gets the ORIGINAL images as uploaded, zips and automatically downloads.
This is the code provided earlier in a Mod.
.
Getting better now. However, other than the code structure itself, I would also cast the $this->request->get to integers whenever the case need be.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Well - Those lines were all taken from OC :-)straightlight wrote: ↑Sun Mar 27, 2022 1:05 amGetting better now. However, other than the code structure itself, I would also cast the $this->request->get to integers whenever the case need be.
But yes that should be done.
Also I could have added the required LINK in the REPLACE for button but I wanted to add it as DATA as well.
Maybe you can add it to your EVENTS gh page to EXPLAIN how a SIMPLE EVENTS MOD WORKS :-) A
Last edited by mikeinterserv on Sun Mar 27, 2022 1:41 am, edited 1 time in total.
Ha - I am more interested in how it works than how it looks :-)
New Product Images Download Mod
viewtopic.php?f=202&t=227722#p840031
And a great advantage using Events; using our own ways to present methods.mikeinterserv wrote: ↑Sun Mar 27, 2022 1:19 amHa - I am more interested in how it works than how it looks :-)
New Product Images Download Mod
viewtopic.php?f=202&t=227722#p840031

Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Hello! Thank you for your efforts! I can't use it directly to Journal3. What other files do I need to modify? Thanks again for your selflessness!mikeinterserv wrote: ↑Sun Mar 27, 2022 12:36 amHere is an OCmod based on EVENTS for product images download.
Installs as a MODULE in extensions/modules. You can install / uninstall from there.
Gets the ORIGINAL images as uploaded, zips and automatically downloads.
This is the code provided earlier in a Mod.
.
Ok on this ONE occasion ONLY - I will adapt it for that.jeefins wrote: ↑Fri Apr 01, 2022 1:04 amHello! Thank you for your efforts! I can't use it directly to Journal3. What other files do I need to modify? Thanks again for your selflessness!mikeinterserv wrote: ↑Sun Mar 27, 2022 12:36 amHere is an OCmod based on EVENTS for product images download.
Installs as a MODULE in extensions/modules. You can install / uninstall from there.
Gets the ORIGINAL images as uploaded, zips and automatically downloads.
This is the code provided earlier in a Mod.
.
You are going to have to send me or attach catalog/model/journal3/product.php
I will post the extension here when I have done it..
I am sending you the product.php file of the journal3 theme as an attachment. You are really amazing, thank you mikeinterserv!mikeinterserv wrote: ↑Fri Apr 01, 2022 3:19 amOk on this ONE occasion ONLY - I will adapt it for that.jeefins wrote: ↑Fri Apr 01, 2022 1:04 amHello! Thank you for your efforts! I can't use it directly to Journal3. What other files do I need to modify? Thanks again for your selflessness!mikeinterserv wrote: ↑Sun Mar 27, 2022 12:36 amHere is an OCmod based on EVENTS for product images download.
Installs as a MODULE in extensions/modules. You can install / uninstall from there.
Gets the ORIGINAL images as uploaded, zips and automatically downloads.
This is the code provided earlier in a Mod.
.
You are going to have to send me or attach catalog/model/journal3/product.php
I will post the extension here when I have done it..
Attachments
ocmod is not workingmikeinterserv wrote: ↑Sun Mar 27, 2022 12:36 amHere is an OCmod based on EVENTS for product images download.
Installs as a MODULE in extensions/modules. You can install / uninstall from there.
Gets the ORIGINAL images as uploaded, zips and automatically downloads.
This is the code provided earlier in a Mod.
.
The default theme template is normal and awesome. But only the main image is downloaded.phpscript7 wrote: ↑Fri Apr 01, 2022 1:57 pmocmod is not workingmikeinterserv wrote: ↑Sun Mar 27, 2022 12:36 amHere is an OCmod based on EVENTS for product images download.
Installs as a MODULE in extensions/modules. You can install / uninstall from there.
Gets the ORIGINAL images as uploaded, zips and automatically downloads.
This is the code provided earlier in a Mod.
.
That's because the provided ZIP file on the above is not OCMod.phpscript7 wrote: ↑Fri Apr 01, 2022 1:57 pmocmod is not workingmikeinterserv wrote: ↑Sun Mar 27, 2022 12:36 amHere is an OCmod based on EVENTS for product images download.
Installs as a MODULE in extensions/modules. You can install / uninstall from there.
Gets the ORIGINAL images as uploaded, zips and automatically downloads.
This is the code provided earlier in a Mod.
.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
So what's up, This only works with the STANDARD theme.
Did you go to extensions > modules > images download and INSTALL.
If it doesn't work then there are changes to your code that cannot be accounted for.
Its an EXTENSION > MODULE not an OCMod as such as pointed out by straightlight.
Who is online
Users browsing this forum: No registered users and 8 guests