-
Posts
60 -
Joined
-
Last visited
Everything posted by Matze
-
Hi, using a file field with the option to upload exactly one pdf file. So if i choose a new one, will the old file be deleted from server? If not, how can i force this? I am using a file field with the option to upload exactly one PDF file. If I select and upload a new file will the old file be deleted from the server? or, If not, how can I force this? No outdated files that may be indexed (for example by Google) should be accessible anymore. Any solution for this? Thank you!
-
Is there an easy way to check if at least one time is set? if($page->MyOpeningTimes) { // always active }
-
Ah ok, thank you very much. I need to update my environment to PHP 8.2., too. PS: I love the module! (even if imho the time input field is a bit tricky to handle, but thats a browser thing)
-
Hello Juergen, thank you for you quick response. I'm running ProcessWire version 3.0.210 on PHP Version 8.0.28 As a workaround i tried to delete :null and now it works without any errors as far as i checked. But i guess, this should certainly not be the way to solve the problem. Can it maybe be influenced by other modules? I tried to install on my local as on my staging version and the error occurs on both sites. So possible this is influenced by something else? Thank you Matze
-
-
Oh, that's perfect. How could I have missed this module all these years? Thanks!
-
Hi, I'd like to add instructions for editors, how to use the template in general. does anybody know a good way to add a description for a template, maybe below the title? or is there a something like a "description inputfield" to add some text for editor, only changeable by admin? Thanks.
-
Hi, it's a useful feature for a template to make a "List of fields to display in admin Page List" to make them easier to find in Admin Page List. But if i'm using the list of pages in the page reference multi page tree view, it only shows the standard title, but not the "list of fields" defined for the template. Does anybody know how to make this work? Thx.
-
Yes, thank you, I thought so too. I sent him a PM.
-
Hi, does anybody know if the Pro Module ProDraft will be available in future again? Or did they stop developing it? It says "out of stock" to me. Thx
-
Yes! Thank you very much. I found a way to raise it up to 512 MB in the Control Panel of the hosting. Now it works.
-
Oha! Well … i have no idea how to fix this. 2022-07-07 19:09:46 ? http://neo-form.com/ Fatal Error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php) 2022-07-07 19:09:47 ? http://neo-form.com/ Fatal Error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php) 2022-07-07 19:09:54 ? http://neo-form.com/ Fatal Error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php) 2022-07-07 19:10:24 ? http://neo-form.com/ Fatal Error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php) 2022-07-07 19:10:25 ? http://neo-form.com/ Fatal Error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php) 2022-07-07 19:12:52 ? http://neo-form.com/ Fatal Error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php)
-
Thanks for this idea. I pasted it in index.php and there is still no error message. Interesting thing - if i put <?php namespace ProcessWire; error_reporting(E_ALL); ini_set('display_errors', '1'); echo 'test'; it outputs "test" on the blank page. Status code is still 500.
-
Hi I'm trying to install a page on https://www.arsys.net (It's not my first PW installation, i made dozens of them before on different servers. On this hosting for the first time. This error i never had before …) √ htaccess works, (except Options -MultiViews, has to be commented) √ php 8 √ Database connection works I'm going through the clean installation process step by step Everything works fine After clicking the last step … the following page looks like nearly empty (attached screenshot, header but no content) If i try to opne the root of the page it's blank white (http status code 500) config errors are set to true Any ideas where to start searching for this strange problem?
-
Hi there, does anyone know a module or tutorial about how to create an navigation of a children page list. Example: a listing page has 100 children (blog posts or similar) the listing page should list the children Each listing result page should show 10 Navigation like this: <<PREV 1 2 3 4 5 6 7 8 9 10 >>NEXT I think this is a common thing, but i couldnt find a ready to use solution (maybe i just don't know the right name of it) Thanks, Matze
-
Hi there, I'd like to add some individual tags with classes directly into the edit field under Admin > Setup > Fields > MyCKfield I can't manage the JSON thing. There is this example in Javascript: https://github.com/processwire/processwire/blob/master/site-default/modules/InputfieldCKEditor/mystyles.js CKEDITOR.stylesSet.add( 'mystyles', [ { name: 'Inline Code', element: 'code' }, { name: 'Inline Quotation', element: 'q' }, { name: 'Left Aligned Photo', element: 'img', attributes: { 'class': 'align_left' } }, { name: 'Right Aligned Photo', element: 'img', attributes: { 'class': 'align_right' } }, { name: 'Centered Photo', element: 'img', attributes: { 'class': 'align_center' } }, { name: 'Small', element: 'small' }, { name: 'Deleted Text', element: 'del' }, { name: 'Inserted Text', element: 'ins' }, { name: 'Cited Work', element: 'cite' } ]); I need a "translation" into JSON on how to put this into the "Custom Config Options" field for the same result. Thanks for your help!
-
Hi, for items in repeaters and matrix there is this little on/off switch to temporarily turn them off and on. Are there any options like this for single fields too? Espcaially for fieldset (page)? Or is there maybe a module for this? (couldnt find, but maybe i havent used the right keywords). Of course i could add a checkbox myself and code the exception but maybe there is a more elegant solution for this? Thx!
-
module PrivacyWire - Cookie Management & async external asset loading
Matze replied to joshua's topic in Modules/Plugins
Hi. Is it possible to make it like a window or modal centered in the middle of the page and the background overlayed with a half transparent color? I tried to customize it via CSS but didn’t manage it. Maybe there is an easier solution for this? -
module PrivacyWire - Cookie Management & async external asset loading
Matze replied to joshua's topic in Modules/Plugins
Just wanted to say thank you for this highly needed plugin! Is there a way to donate for it? -
Ok, thanks. Downloading the Module is still possible with the handle "ProcessDatabaseBackups".
-
Hi, if I try to call https://modules.processwire.com/modules/process-database-backups/ i get this error: >> Unable to complete this request due to an error. - Error has been logged. For any other modules i tried it worked. Anyone else?
-
Hi, is there a way to activate the option Input > Visibility > Presentation > "Open when populated + Closed when blank" for a Fieldset (Page) containing some fields like text or textarea? To me it is always open, even if all fields inside are empty. Thx, Matze
-
Yes, that worked! Thank you! ?
-
Hi, I'm trying to get the id of a specific, non empty Textarea field, but my code returns an error: // "Formattext01" = name of the textarea (ckeditor) field // code in template: echo $page->Formattext01 // returns the content as expected echo $page->Formattext01->id // Notice: Trying to get property of non-object in /Users/websites/testpage/site/templates/basic-page.php on line 1 I guess i overseen something? but what? thanks for help!
-
Okay, it's "Textareas" - found it, sorry … (how can i delete a post?)