Jump to content

zoeck

Members
  • Posts

    436
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by zoeck

  1. I'm not entirely sure, but wouldn't that be a great usage for custom page classes? Blog Post from Ryan: https://processwire.com/blog/posts/pw-3.0.152/#new-ability-to-specify-custom-page-classes And bernhards Video:
  2. If you are using a file field, you can also use the "Custom Upload Names" module. https://processwire.com/modules/process-custom-upload-names/
  3. If you need Access restrictions, you can use "pagefileSecure" https://processwire.com/api/ref/page/secure-files/
  4. Look directly into the error log (via FTP): site/assets/logs/errors.txt You should find the error message there.
  5. Just have a look at httpUrl() ? Or should the link be hardcoded?
  6. Or just have a look here: https://processwire.com/talk/clients/purchases/ Maybe you can renew it directly for 39$.
  7. Just have a Look in the Formbuilder Support Board:
  8. The form is blocked by my adblocker (uBlock origin) ? Maybe the same thing happens to you...
  9. You should make sure that you are using a new PHP version. PHP 5.5 has been end of life for a very long time (Ended 7 years ago - 21 Jul 2016)! Processwire should currently be used with PHP 8.1, if not otherwise possible 7.x would also be ok. These are the current requirements, apparently it was not updated at the installation site ?
  10. Use something like this: <?php wireIncludeFile($page->type_menu); ?> What exactly do you have in the "type_menu" field? You have to make sure that only your desired files can be accessed/included! Perhaps it is also better to map this via a switch/case - perhaps an if is enough: <?php if($page->type_menu == "menu-A") { wireIncludeFile('styles/menu-A.php'); } else { wireIncludeFile('styles/menu-B.php'); } ?>
  11. I think this is (still) an internal module from @bernhard. And It's not a free module ?
  12. Something like RuntimeMarkup? Or do you want to show it when editing the template, not when editing page?
  13. Of Just use the newest PW DEV Version ?
  14. Did you possibly use the v1 of the skyscraper profile? This is the more current (2016) one here: https://github.com/ryancramerdesign/skyscrapers2
  15. You have to use getRows() $items = $rockfinder->find("parent=/foo/")->addColumns(['title','text','date',]); //d($items); foreach ($items->getRows() as $item) { echo $item->title.$item->text.$item->date; } and the result will be objects, you have to use "->" instead of the square brackets
  16. I have one more small suggestion to improve the function a bit ? Just replace the complete if inside the execute-endpoints.php file: if ($action === 'action-get-openapi') { [...] } With this: if ($action === 'action-get-openapi') { header('Content-Type: application/json; charset=utf-8'); echo json_encode($openApiOutput, JSON_PRETTY_PRINT + JSON_UNESCAPED_SLASHES + JSON_UNESCAPED_UNICODE + JSON_UNESCAPED_LINE_TERMINATORS); die(); } So Tracy is disabled on output and via the browser you can save the file directly as json. And Thanks for this nice update ? @Sebi
  17. @ceberlin "Updated 2023/03/09" -> The module has just received an update ? Or is this related to the problems with the current dev version?
  18. You can have a Look at the Croppable Image 3 Module https://processwire.com/modules/croppable-image3/
  19. Currently, I barely use Processwire for the frontend, since I am implementing a larger project with vue.js when i have some time, i will have a look at the problem with the tracy panel.
  20. Found 1 module(s) missing file: .Modules.wire/modules/ => /site/modules/.Modules.wire/modules//.Modules.wire/modules/.module And I can already see my problem, I downgraded to 3.0.217 due to another bug. After that, the problem occurred, just as you wrote, because .217 does not need this entry. In the meantime, I have updated to .219, where the entry was created again. Without error message.
  21. I had the same problem with 3.0.218. I had to delete the module ".Modules" in the modules table in the database. After that, the error was gone. Thought this was only a local problem ?
  22. I have the same problem, freshly downloaded 3.0.218 DEV version @ryan is there a problem here with the current version? /edit: reverted to 3.0.217 DEV and it's working...
  23. I think you have to pass the variable to your included latte file: {include '../blocks/' . $block->type . '.latte', block: $block}
  24. I am currently switching from HTMX to Vuejs with Processwire as the backend. But this will also be more a SPA ? I am positively surprised by Vue….
×
×
  • Create New...