-
Posts
926 -
Joined
-
Last visited
-
Days Won
1
Everything posted by PWaddict
-
@Mike Rockett can you please change only 1 word in order to enable cache busting image urls? On the file SupportsImages.php at the line 28 change the httpUrl to uppercase: HTTPURL $locImage = new Image($image->HTTPURL); With this change you will support both PW core's and ProCache cache busting.
-
I know, already edited / added pages that contain a CI field but I keep getting the notice.
-
Hey, guys! Did you find any solution? I keep getting: Modules: Detected 1 module version change (will be applied the next time each module is loaded): CroppableImage3: 1.1.16 => 1.2.0
-
@teppo I have on Laragon some older PHP versions installed and did some tests: PHP 7.033 = Still getting the notice PHP 5.6.40 = NO notice So this is definitely a PHP 7 compatibility issue.
-
I guess you have to switch to 7.4.x to actually get the notice. I'm using the PW master version 3.0.165 and the 1.3.1 of Version Control. It happens only on the pages where I have enabled Version Control. I tested it also on a brand new PW installation where only Padloper module installed and I'm getting the same notice on the php_errors.log.
-
@teppo Thank you very much for this module. I have enable version control on some fields at the user template. I'm using PHP 7.4.9 and when I visit a user page I'm getting this PHP Notice: Trying to access array offset on value of type int in C:\laragon\www\mysite\wire\core\WireDatabasePDOStatement.php on line 107
-
@strandoo Thank you for sharing your solution. It works perfect ?
-
Hi @flydev ?? I just installed the module and I'm getting this PHP Notice: Notice: Undefined index: data_badge in C:\laragon\www\mysite\site\assets\cache\FileCompiler\site\modules\MarkupGoogleRecaptcha\MarkupGoogleRecaptcha.module on line 269 Replacing the 269 line with this, fixes the issue: if(isset($data['data_badge'])) $f->attr('value', $data['data_badge']);
-
Hi, Has anyone integrate reCAPTCHA?
-
[SOLVED] Page Auto Complete doesn't get users for superuser
PWaddict replied to PWaddict's topic in General Support
This is years ago. According to the comments, back then it was working fine for superusers but unfortunately not now. I'm using the master version 3.0.165 and as superuser it doesn't work. -
Hi, I have created a "Page Reference" field and on the "Input field type" I selected "Page Auto Complete" under "Single page selection". Then on the selector string added: template=user, roles=login-register, sort=name I'm not getting any results when I start typing the user names on the page field. If on the "Input field type" I select "Select" under "Single page selection" then it works fine. I can see all the users. Why it doesn't work with "Page Auto Complete"? I want this for me as superuser.
-
Yep, problem is gone. Thank you very much.
-
Here are the settings for the repeater: Here are the settings (Details & Input) for the image field (Croppable Image 3): Here are the settings for Custom Upload Names: I don't know if it matters but here are the settings for Auto Smush: Make sure you have the 1.3.1 version installed of Custom Upload Names. The fatal error is happening if you try to edit already published more than 1 repeater pages and also when you try to create more than 1 new repeater pages.
-
This was in a non-repeater. The duplicated images were generated on the 1.2.11 and 1.2.12 versions after uploading multiple images. I don't know if this happens on repeater too. The fatal error I'm getting with the 1.3.1 version is when I try to save more than 1 repeater fields. I didn't have problems on non-repeaters. No worries.
-
Actually, I had to switched to an even older version 1.2.10 (24 Nov 2020) cause the 1.2.11 and 1.2.12 was generating duplicate images. The 1.2.10 is the most reliable version so I'm gonna stay with it until the 1.3.1 gets fixed.
-
I switched to this version (18 Feb 2021) and I can save more than 1 repeater fields without any issues.
-
Hi @adrian With the 1.3.1 version when I try to save more than 1 repeater fields I'm getting this: Look out… Fatal Error: Uncaught Error: Call to a member function isTemp() on null in site/modules/ProcessCustomUploadNames/ProcessCustomUploadNames.module.php:414 #0 site/modules/ProcessCustomUploadNames/ProcessCustomUploadNames.module.php(225): ProcessCustomUploadNames->createNewFilename('/home/myusername...', 'myimage-16198119...', '', Object(Page), '287', Object(RepeaterPage)) #1 wire/core/Wire.php (397): ProcessCustomUploadNames->customRenameUploads(Object(HookEvent)) #2 wire/core/WireHooks.php (927): Wire->_callMethod('customRenameUpl...', Array) #3 wire/core/Wire.php (465): WireHooks->runHooks(Object(Pages), 'saved', Array) #4 wire/core/PagesEditor.php (746): Wire->__call('saved', Array) #5 /home/myusername/publ (line 414 of site/modules/ProcessCustomUploadNames/ProcessCustomUploadNames.module.php)
-
Thanks for the hint @elabx Your code makes ALL options fields available in the Lister columns to display the same values. Here is how I did it: $wire->addHookAfter('FieldtypeOptions::markupValue', function($event) { if($this->process != 'ProcessPageLister') return; $field = $event->arguments(1); $value = $event->arguments(2); if($field == "my_options_field") { $event->return = $value->value; } });
-
Yes
- 10 replies
-
- string
- lister pro
-
(and 2 more)
Tagged with:
-
It's buggy not only on page fields. Well, I go to the columns to set the fields and I'm getting the results instantly on lister. Then I save the bookmark. If I visit the bookmark, the last 2 columns fields (page fields) are not displayed in the lister. They're missing from columns too even though the bookmark string I saved on Bookmarks is correct. I re-added those 2 page fields in columns but this time I changed their position and saved the bookmark. Now when I visit the bookmark, the 2 page fields are displayed on the lister but the last one field (options field) is missing.
- 10 replies
-
- string
- lister pro
-
(and 2 more)
Tagged with:
-
Page reference fields on columns not getting saved with bookmarks.
- 10 replies
-
- string
- lister pro
-
(and 2 more)
Tagged with:
-
It seems that the columns are not saved with the bookmark. Are you planning to add that feature?
- 10 replies
-
- 1
-
- string
- lister pro
-
(and 2 more)
Tagged with:
-
Hi @Robin S That's a very useful module. Thank you. Any idea how to get the values instead of the titles on a specific options field with a hook?
- 10 replies
-
- 1
-
- string
- lister pro
-
(and 2 more)
Tagged with:
-
[SOLVED] How to set fromName to all PW outgoing emails?
PWaddict replied to PWaddict's topic in General Support
Ok it's actually very easy to do it with a hook in ready.php: // Add fromName to all outgoing emails $wire->addHookBefore('WireMail::send', function(HookEvent $event) { $WireMail = $event->object; $WireMail->fromName('My Name'); $event->return = $WireMail; }); I tested it with Forgot Password, Padloper and Login Register Pro and it works great ?