palychwp
Forum Replies Created
-
Hi Glen! Thanks a lot.
Hi Glen!
I saw that you’d fixed problem with filesize validation. But one bug is still there.
As I said earlier when I pick and then remove file it still sends with the form. I pick 30mb file, I see an error, I remove file and send the form. And then I have to wait and wait. I go to the Network Tab and analyze request.
In form data I see:
Content-Disposition: form-data; name="file"; filename="codpaste-teachingpack.pdf" Content-Type: application/pdf
In Request Headers I see
Content-Length: 31592694
And my submission took 4.4min
Remove button removes file from the list but it still in the input.
I made
console.log(jQuery('input[name="file"]').get(0).files)
in Console and I saw Filelist objectFileList {0: File, length: 1} 0: File lastModified: 1558599379002 lastModifiedDate: Thu May 23 2019 11:16:19 GMT+0300 (Восточная Европа, летнее время) {} name: "codpaste-teachingpack.pdf" size: 31591292 type: "application/pdf" webkitRelativePath: "" __proto__: File length: 1 __proto__: FileList
So you need to clear file input value.
Ok. Thanks. I will wait for updates.
Ok. Thanks. I will wait for updates.
Hello Glen.
Let me explain. Form usually submits 1-2 seconds without file. For example I set the limit to 10mb. When I choose the file it starts uploading immediately. I pick file wich have 30mb size, then I have to wait several seconds or even minutes while it’s uploading, and THEN I see the error about size. If I try submit the form now, after any file input changes, it takes the same time as file uploading, up to 1 minute. And it doesn’t matter if I removed the file or not.
Clients doesn’t wait and leave the page.
Is it possible to check file size before uploadin and/or form submission?
Forum: Plugins
In reply to: [Market Exporter] Неправильная иерархия категорий.Все, я понял, спасибо. Я просто яндексом не пользуюсь уже 2ой год (заблокирован) и забыл, что там реально все в куче лежит)
Forum: Plugins
In reply to: [Market Exporter] Неправильная иерархия категорий.Ну да, так и предполагается. Чтобы все столы не лежали в одной большой куче.
А яндекс разве не считывает тэг <categories>, где указаны все категории с родительскими и не строит дерево? Это очень странно)Forum: Plugins
In reply to: [SiteOrigin Widgets Bundle] Custom widget doesn’t activate.I created my widget based on this demo. It’s working now.
Thanks a lot.
Forum: Plugins
In reply to: [SiteOrigin Widgets Bundle] Custom widget doesn’t activate.Thanks alexgso!
This demos works perfectly.
Thanks for help!Forum: Plugins
In reply to: [SiteOrigin Widgets Bundle] Custom widget doesn’t activate.Hi alexgso
I have changed directory structure: https://prntscr.com/i1n6qt
My plugin file extend-widgets-bundle.php code:<?php /* Plugin Name: My Extended Widgets Description: Custom Widgets. Version: 0.1 */ function add_my_awesome_widgets_collection($folders){ $folders[] = __DIR__ . '/extra-widgets'; return $folders; } add_filter('siteorigin_widgets_widget_folders', 'add_my_awesome_widgets_collection');
Widget isn’t displaying in the list of widgets now.
I’m confused. Can I download sample of custom widget anywhere?
Forum: Plugins
In reply to: [Market Exporter] Неудобный выбор категорий.@vanyukov спасибо! Попробую. А то пока поставил обратно 0.4.4
Forum: Plugins
In reply to: [Market Exporter] Сделайте замену символов в тексте товаровУдалите вопрос.
Forum: Plugins
In reply to: [contact form 7 pdf extension] Support only the LatinSupport of cyrillic alphabet is very needed. I tried to connect independently UFPDF, but I did not succeed.