Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

gs-df's Achievements

Jr. Member

Jr. Member (3/6)



  1. You can use FieldsetPage to reuse fields on the same page on different sections https://processwire.com/blog/posts/processwire-3.0.73-and-new-fieldset-types/#fieldset-page-fieldtypefieldsetpage
  2. // ready.php $this->addHook('WireLog::save', function(HookEvent $event) { // Prune all log files foreach(wire('log')->getLogs() as $logFile) { wire('log')->prune($logFile['name'], 7); } // Or just the current log file wire('log')->prune($event->arguments[0], 7); }); Not really tested ๐Ÿ˜‰
  3. My idea: cronjob call every day this script. // include index.php from pw foreach($log->getLogs() as $logFile) { $log->prune($logFile['name'], 7); }
  4. https://processwire.com/api/ref/wire-log/prune/
  5. $input->post provides access to your POST variables https://processwire.com/docs/start/variables/input/
  6. I saw differnt ways to handle ajax calls. I use 2. and 3.(for more complex projects) 1. Ajax folder with php files for each request, which include processwire index.php 2. URL-Hooks https://processwire.com/blog/posts/pw-3.0.173/#new-type-of-hook-for-handling-request-urls 3. AppAPI Module https://processwire.com/modules/app-api/ (Uses URL-Hooks or pageNotFound-Hook) 4. ajax.php template file https://github.com/kreativan/wirekit-core/blob/main/site-wirekit-core/templates/ajax.php 5. ajax request logic in each template file
  7. https://processwire.dev/integrate-composer-with-processwire/ maybe this helps you
  8. Hello @kongondo have u any tips for adding the feature voucher/coupon? Which files i have to look into for this feature? Thx for your help ๐Ÿ˜‰
  9. I recommend RockFrontend(for LiveReload) + DDEV: a local web development environment system for PHP
  10. Hi, when i click on "Print(Email) invoice" it shows SQLSTATE[42S02]: Base table or view not found: 1146 Table '*.padloper_download_codes' doesn't exist Any ideas?
  11. https://processwire.com/store/pro-drafts/
  12. http://devilbox.org/ https://devilbox.readthedocs.io/en/latest/examples/setup-processwire.html Update Now I recommend ddev too
  • Create New...