• Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Peejay

  1. Peejay

    Had the same issue, deleting the cache worked out for me.
  2. Peejay

    There was an issue with "inputfieldButton" in PW 3.0.109. Ryan fixed it yesterday, I pulled the fix en now the issue is resolved.
  3. Peejay

    Never mind, It's not an issue in the module. Last weekend I updated my MAMP. On my online server the module works! Thanks for your help!
  4. Peejay

    When I use 1 or more tabs I have the same error. Indeed, I also tried the wiretabs-example.php
  5. Peejay

    $inputfields = new InputfieldWrapper(); //--------------------------------------------------- $general = [ [ 'name' => 'site_name', 'label' => __('Site Name'), 'type' => 'InputfieldText', 'required' => true, 'value' => '', 'useLanguages' => true ], [ 'name' => 'email_address', 'label' => __('E-mail'), 'type' => 'InputfieldEmail', 'required' => true, 'value' => '', 'columnWidth' => 33 ], [ 'name' => 'telephone', 'label' => __('Telephone'), 'type' => 'InputfieldText', 'required' => true, 'value' => '', 'columnWidth' => 34 ], [ 'name' => 'facebook', 'label' => __('Facebook'), 'type' => 'InputfieldText', 'value' => '', 'columnWidth' => 33 ] ]; $tab = new InputfieldWrapper(); $tab->attr('title', 'General'); $tab->attr('class', 'WireTab'); $tab->add($general); $inputfields->append($tab); return $inputfields;
  6. Peejay

    Hi gmclelland, Thx for your fast reply . I tried your module with only inputfields (like your example kitchen-sink) and then there is no problem. But when I use your "wiretabs" example then I get the error.
  7. Peejay

    Hi, After updating to PW 3.0.109 i get the following error: Error: Call to a member function attr() on null in .../site/assets/cache/FileCompiler/site/modules/SettingsFactory/ProcessSettingsFactory.module on line 137 Can't figure out, what's going wrong :s
  8. Are there already European developers implementing GDPR in their websites ? The European regulation will be obliged by 28/05/2018. What is it? It will be obliged to encrypt all personal data fields (name, email, phone, address, ... ) from users, and communicate about it. It would be interesting to implement an encryption setting for fields, just like the password field. That way all data in a database will be useless, unless you have a decryption key. I Think it's some stuff to think about, too meet the European regulation and to make Processwire even more secure.
  9. Hi, I wan't to send a generated PDF with in an email attachment. To sent the email, I have to generate and save the PDF file. I' don't need it afterwards, zo I want to remove the generated PDF after some time. In the documentation i found there's a tempDir() method, but I can't get it to work. I use the dompdf library to generate a PDF This is my current test code: $dompdf = new Dompdf(); $dompdf->loadHtml('hello world'); // (Optional) Setup the paper size and orientation $dompdf->setPaper('A4', 'landscape'); // Render the HTML as PDF $dompdf->render(); $wireTempDir = files()->tempDir('test'); $output = $dompdf->output('test.pdf'); file_put_contents($wireTempDir, $output);
  10. Hi, I want to test this module but I have multiple errors with an install on the latest master version of Processwire (3.0.61): (the solution of @netcarver worked!) Next I have an error on line 533 in de WireQueue.module ( Call to undefined function wireMkdir()) : I changed it "wireMkdir()" to mkdir() When I want to make a Queue and I select a wire_queue_type and save it I get this error: Error saving field "wire_queue_type" - Page 1031 is not valid for wire_queue_type (Page 1031 does not have required parent 1016) Can someone help me with this, or is there a new version on his way?
  11. Peejay

    Hi mrkhan, You have to fill-in "ar" in the arabic name field on the home page.
  12. Peejay

    I'm proud to present you: "The Crafters" Premium cocktails from Belgium! Enjoy! (Front-end build with
  13. Peejay

    Before i push the website online I run all images true an image optimiser (app).
  14. When I take a look in a PW database I see this: pages are stored in “pages", templates are stored in “templates", sessions are stored in “sessions", forms are stored in "forms” (form builder), ... I want to make a website with a large catalog (1.5 million products). I don’t want that the products are stored in “pages” table in the database, but in the “products” table. Is this possible in PW? End will I maintain the same options, then when I store all products in “pages”? Some advice would be helpful! Kind Regards, Peejay
  15. Peejay

    Your solution worked! I wil see what happens when I place the website online. I found a little issue: The download link doesn't work when the secure fieldtype is used in the user template file. You get this link: {your site}admin/access/users/?id=41&ftsd=document_1.pdf (-> then you go to the users list) But when je place "edit" after users/, the download link works!: {your site}admin/access/users/edit/?id=41&ftsd=document_1.pdf Cheers!
  16. Peejay

    Hi, Does anyone know if it's possible to set the "Email Body" in multiple languages?
  17. Peejay

    @Macrura, Thanks for your solution, it works!
  18. Peejay

    Hi, I only see the changes of my css file (templates/AdminCustomFiles/AdminThemeReno.css) when I'm logged-in as superuser, when I have an other roll I just see the default AdminThemeReno. Does anyone know what I'm doing wrong? *working with version: 3.0.59
  19. Peejay

    Hi all! Is it possible to use this module on your localhost (Mamp), for testing? Where do you place te folder? Cheers!
  20. Peejay

    Done! Thanks!
  21. Peejay

    Hi, I don't want to list pages that aren't listable by the current user in the menu. I fixt it by adding an if statement on line 192 of MarkupMenuBuilder.module: if($this->wire('pages')->get($m->pagesID)->listable()){ $menu->add($m); } Is there a better way to do this? In a hook or a setting that I have missed?
  22. Peejay

    Never mind, There's something wrong with the css of semantic-ui. It's not an processwire / module issue.
  23. Peejay

    Hi, I'm having a similar issue. (Version 3.0.15 of processwire) In the backend the google maps field loads fine (only when the field isn't hidden). But in the front-end I'm getting this: It's possible to drag, but the assets won't load (tiles, buttons). I have no clue why this is happening.
  24. Peejay

    It isn't imported that the timestamp match the exact time, the "Rename on Save" function did the trick! Thanks a lot!
  25. Peejay

    Hi Horst, thank you for your warm welcome My question indeed needed a little more details. I'm using processwire as an API for a backbone webapp. (artexis-app, best to view it in chrome ) I'm also port it to an Ipad application with Apache Cordova. It has to work offline, so I download all the assets to the Ipad. I included an update function and it checks the file name, I want to add a timestamp the the cropped image to see if it has changed. Like: image_1447076736.-thumbnail.jpg. I can't use the modified property of the image, because that's changed when it's downloaded on the Ipad. @Adrian: Thanks for your suggestion, but I think that only applies when the image is uploaded and not the cropped image. Is that correct?