I´m trying to change the review character limit from default 25-1000 to 5-3000 for example, but it´s still not working for me. I have adjust the info in file catalog/controller/product/product.php and also changed the warning text for error messages to the new recommendations. When I try to do a review the character limit is still 25 characters or more. I have tried to cleared the cache as well.
Anyone that have any tips about what I can try next?
Best regards Thomas
find:
Code: Select all
if ((utf8_strlen($this->request->post['text']) < 25) || (utf8_strlen($this->request->post['text']) > 1000)) {
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
No success... Same "problem" in Explorer and Firefox (I´m using Chrome by default). It feels like I have been missing something
1. Changed the catalog/controller/product/product.php
2. Cleared the OC cache (system/storage/cache - this folder is empty nearly all the time due to the cache function is turned off by my custom theme because the store is in maintenance mode)
3. Clared the browsers cache
Is it something I missing here? The changes worked out really smooth in my 1.5.6.4 store...
Sometimes this will help.
All my extensions: Click here or Click here
By the way, when I writing a test review I can not move my text marker back and forth in the text. Instead the product pictures rearrange themselfs in the background on the regular product page. Really annoying if someone want to for example correct or change the first words in a ongoing review. Is this something that can be fixed easily? I remember I have the same thing in my older OC store 1.5.6.4.
Thanks for all the support so far!
find:
Code: Select all
// Currency
Code: Select all
$('.form-horizontal').bind('keydown', function (e) {
if (e.keyCode == 40 || e.keyCode == 39 || e.keyCode == 38 || e.keyCode == 37) {
alert(e.keyCode);
}
});
Note: Re-clear all cache.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I tried to use your code but I still have the same result. I can change the text marker between start-end of the text by using the up-down arrows on the keyboard. I can klick with the mouse cursor in the whole text, but not navigare around trough the keyboard arrows. This is acually not a big problem, but maybe the problem is not so hard to get rid of.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Can some extensions be a part of this issue? I´m using a custom theme together with several modules. It´s just that I remember the same situation with my old store...
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thanks once again for all support from you!
Best regards Thomas
Users browsing this forum: No registered users and 273 guests