Jump to content

Matze

Members
  • Posts

    58
  • Joined

  • Last visited

Everything posted by Matze

  1. Is there an easy way to check if at least one time is set? if($page->MyOpeningTimes) { // always active }
  2. 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)
  3. 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
  4. Hi, when trying to install it throws an error: Is this a known issue? Thanks.
  5. Oh, that's perfect. How could I have missed this module all these years? Thanks!
  6. 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.
  7. 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.
  8. Yes, thank you, I thought so too. I sent him a PM.
  9. 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
  10. 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.
  11. 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)
  12. 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.
  13. 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?
  14. 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
  15. 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!
  16. 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!
  17. 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?
  18. Just wanted to say thank you for this highly needed plugin! Is there a way to donate for it?
  19. Ok, thanks. Downloading the Module is still possible with the handle "ProcessDatabaseBackups".
  20. 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?
  21. 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
  22. Yes, that worked! Thank you! ?
  23. 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!
  24. Okay, it's "Textareas" - found it, sorry … (how can i delete a post?)
  25. Hi there, i need around 20 simple text fields in a template, same properties for all, except the "label" (or title to use it in code). Something like this: painter: _____________ period: _____________ canvas material: _____________ painting technique: _____________ etc is there a way to avoid building 20 single fields? I use pro fields too, but cant see any solution e.g. with Multiplier or table. Thank you Matthias
×
×
  • Create New...