Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by zoeck

  1. There’s the file field in the core… you can use this field for such tasks. and then there’s the paid module „form builder“ - you can easily create a form and send it via email (+attachment)… The function exists, you just have to use it
  2. You can contact Ryan and renew the licence for Formbuilder. I think that should cost about $39. I think that would be the easiest way to get an updated version 😉 And there is also 1 year support 😉
  3. I think this is the worst solution for probably a small problem
  4. you forgot an s in $pages Wrong: <?php if ($page->get('1025')->FIELD): ?> Right: <?php if ($pages->get('1025')->FIELD): ?>
  5. and don't forget to save the value/page! 😉 $userPage->save(); https://processwire.com/api/ref/page/save/
  6. I think that would be really cool 😉 In my opinion, the page overview should be revised. The edit, move etc. buttons should always be displayed. Buttons should always be displayed. So you can call the function faster. Possibly a table view would be nicer here...
  7. You only changed the image, wouldn't it make more sense to use CSS to create round images? https://www.w3schools.com/howto/howto_css_rounded_images.asp
  8. Another small Problem: "Listen To The Voice Of Relief" Two pictures are rounded off - and one is squared...
  9. Can you check if the problem occurs with another browser or incognito window as well?
  10. I think here are some different possibilities: You create a template + page You use the same template/page where your form is (And check it with the $input API) Create a template / page for different functions (for multiple pages) - Here you have to use the $input API to decide what to do Depending on how complex everything is, you have to decide how you want to use it 😉
  11. It's already possible to list commercial modules 😉 For example Padloper: https://modules.processwire.com/modules/pad-loper/ Or dynamic selects: https://modules.processwire.com/modules/process-dynamic-selects/
  12. I have a problem with the module. On a page with 3 languages, the sitemap displays only the default language. The site works without problems, I can switch the languages: domain.ext/ (german) domain.ext/en/ (english) domain.ext/fr/ (french) Is there something else that needs to be set so that the other languages are also displayed? Oh, i found my problem... i still had the old sitemap module installed... 😄
  13. Just use the field or Selector 😉 https://processwire.com/docs/selectors/#or-selectors2 <?php $events = $pages->find('template=calendar-post, Start_date|End_date>=today, sort=Start_date, limit=10'); ?>
  14. Just write <?php echo $page->body; ?> or the short code 😉 <?=$page->body?>
  15. Line 437: <?php namespace ProcessWire; $content = $page->body;?> Just delete the "namespace ProcessWire" 😉
  16. This makes no sense... if($today == $start AND $today == $start) This is redundant, it is simply 2x the same check Use this: if($today == $start)
  17. I have a problem with the new version, each time I open the dashboard, I get 2 messages: If the message is closed, it will be displayed again the next time the dashboard is opened.
  18. There's a new Pro Module: https://processwire.com/store/login-register-pro/ The "FrontendUser" is outdated 😉 Last Update 2016...
  19. Just check the user role 😉 https://processwire.com/docs/user-access/roles/ or change the permissions to your post page in the Admin Panel (or both!) https://processwire.com/docs/user-access/permissions/
  20. I need the whole Data for a datatable... Just added a "$allorders->relations->first()", then the following error occurs: Here's the dump of "bd($allorders->relations);" And just a dump of the rockfinder
  21. Thanks bernhard 👍 i added a pagereference field to my order template and linked all invoices, but now, only the ids of the invoices are displayed - not the field rgnr. If I understand it correctly, I still need the "relations" Just added it like this: $arlink = $rockfinder ->find("parent=/projekte/rechnungen/, template=invoice") ->setName("arlink") ->addColumns(['rgnr']); $allorders = $rockfinder->find("parent=/projekte/auftraege/, template=order,ardatum>={$dateYearStart},ardatum<={$dateYearEnd}")->addColumns(['ardatum', 'arnr', 'title', 'arlink'])->addRelation($arlink); But there are no relations found?
  22. Only Text Fields 😉 The data comes from an Excel file which is updated via cron. The data is only visualized via Processwire. For the query, I currently use 2 Rockfinder. $allorders = $rockfinder->find("parent=/projekte/auftraege/, template=order,ardatum>={$dateYearStart},ardatum<={$dateYearEnd}")->addColumns(['ardatum', 'arnr', 'title']); foreach($allorders->getRows() as $order) { // Output Order Informations $allrg = $rockfinder->find("parent=/projekte/rechnungen/, template=invoice, arnr={$order->arnr}")->addColumns(['rgnr']); foreach($allrg->getRows() as $rg) { // Output Invoices } }
  • Create New...