Post by newcomes852 » Sat Jul 16, 2016 7:45 am

Any comments which one you like and what changes should be made?

Newbie

Posts

Joined
Sat Jul 16, 2016 1:28 am

Post by bestshop24h » Sat Jul 16, 2016 3:27 pm

who is the opencart expert?
help

i think this is a very basic and useful function,as when you have many pictures,you would like to put them in different folder ,not directly at root of image manager,right?


thanks

focus on opensource for online shopping websites
my site:bestshop24h.com


New member

Posts

Joined
Wed Jun 15, 2016 2:46 pm

Post by bestshop24h » Sat Jul 16, 2016 7:42 pm

I have tried this on a fresh installed opencart2.2,
there is also such problem.

focus on opensource for online shopping websites
my site:bestshop24h.com


New member

Posts

Joined
Wed Jun 15, 2016 2:46 pm

Post by straightlight » Sat Jul 16, 2016 7:45 pm

bestshop24h wrote:I have tried this on a fresh installed opencart2.2,
there is also such problem.
This issue has been addressed on multiple topics which even v2.3 beta still carries on unfortunately. An official fix would have to be released eventually.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by iroka » Mon Jul 18, 2016 3:25 pm

Am not able to add products Pictures now. If I click on the image icon it will turn blank.
Please how do I resolve this issue?

Newbie

Posts

Joined
Mon Jul 18, 2016 2:45 pm

Post by tommellor » Mon Jul 18, 2016 5:54 pm

I have managed to fix this issue.

Inside admin/view/javascript/common.js

change

Code: Select all

$('#modal-image a.thumbnail').on('click', function(e) {
to

Code: Select all

$('#modal-image').on('click', 'a.thumbnail', function(e) {
Last edited by straightlight on Sat Jul 30, 2016 6:30 am, edited 1 time in total.
Reason: Code tags added.

Newbie

Posts

Joined
Wed Jul 13, 2016 7:51 pm

Post by straightlight » Mon Jul 18, 2016 7:15 pm

Great fix. This topic should be moved to the bug reports.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by bestshop24h » Mon Jul 18, 2016 11:21 pm

tommellor wrote:I have managed to fix this issue.

Inside admin/view/javascript/common.js

change
$('#modal-image a.thumbnail').on('click', function(e) {
to
$('#modal-image').on('click', 'a.thumbnail', function(e) {

thanks so much !,Tommellor,you are the opencart expert!

it does work!

focus on opensource for online shopping websites
my site:bestshop24h.com


New member

Posts

Joined
Wed Jun 15, 2016 2:46 pm

Post by straightlight » Mon Jul 18, 2016 11:28 pm

Another similar case for the charts from admin/view/template/dashboard/chart.tpl file:

replace:

Code: Select all

$('#range a').on('click', function(e) {
with:

Code: Select all

$('#range').on('click', 'a', function(e) {
I did seen a post on the forum recently that users could not click on a specific feature on the dashboard chart page but I can't retrace it. However, this may fix it.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Mon Jul 18, 2016 11:31 pm

Another one I found in the admin/view/template/user/api_form.tpl file when using the admin order API forms.

Find:

Code: Select all

$('#session button').on('click', function(e) {
replace with:

Code: Select all

$('#session').on('click', 'button', function(e) {

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Mon Jul 18, 2016 11:32 pm

Not as important for this one but useful to know. In install/view/template/common/common_left.tpl file,

find:

Code: Select all

$('#language a').on('click', function(e) {
replace with:

Code: Select all

$('#language').on('click', 'a', function(e) {

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Sat Jul 30, 2016 6:31 am

An official fix for the file manager controller has been released as well: http://forum.opencart.com/viewtopic.php ... 80#p631280 . Try it to see if that solves all the issues with the file manager from now on.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 194 guests