Jump to content

spoetnik

Members
  • Posts

    91
  • Joined

  • Last visited

Everything posted by spoetnik

  1. I'm trying to export and import pages from a multilanguage website using the core ProcessPagesExportImport module. During import it can't import the pages: Is there a solution for this? Is there a way to export and import pages on a multilanguage website?
  2. I just switched to UiKit version 3.24.1 (thanks to RockFrontend to make this easy), and I can reproduce this with the latest version of the Less module... The same errors
  3. Oeps, I just checked the version of UiKit I'm using, and its 3.23.11... Sorry, I wil try to update, and see if I can reproduce the error.
  4. I think you can find your answer here :: But please, don't test this on a production site.
  5. Yes, there is one minor issue :: https://github.com/wikimedia/less.php/issues/131 But it works with the latest version of UIkit!
  6. I made a pull request to the ProcessWire Less parser to update it to the latest version of the wikimedia Less Parser. @ryan this pull request is still open. https://github.com/ryancramerdesign/Less/pull/6
  7. If this is the source of the documentation website, https://github.com/MetaTunes/Metatunes.github.io/tree/main/DbMigrate, then I don’t see those assets.
  8. I doesn't work for me in Chrome, Edge, or a simple wget. wget https://metatunes.github.io/wire/modules/Jquery/JqueryCore/JqueryCore.js --2025-09-12 08:35:37-- https://metatunes.github.io/wire/modules/Jquery/JqueryCore/JqueryCore.js Resolving metatunes.github.io (metatunes.github.io)... 185.199.109.153, 185.199.108.153, 185.199.110.153, ... Connecting to metatunes.github.io (metatunes.github.io)|185.199.109.153|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2025-09-12 08:35:37 ERROR 404: Not Found. Maybe it has something to do with the CDN github uses? I'm from the netherlands.
  9. Scripts and stylesheets aren't loading
  10. Great! $modules->getConfig('MarkupPagerNav'); Thanks for this push in the right direction!
  11. Doubting if this is the correct topic for this question, but here we go... Is it possible to have the Modules configuration in code? With RockMigrations it is possible to have your templates- and fieldsconfiguration in code. I am missing a way to have the configuration of the various modules in use in code.
  12. Is started a new ddev project, copied the site profile from https://github.com/baumrock/site-rockfrontend/tree/main/site/assets/backups/export-profile/site-rockfrontend but it still doesn't work out of the box.......
  13. Thanks for the great ecosystem of tools you have build Today i tried to setup a new clean site using the ``site-rockfrontend`` profile. Right out of the box less compiling, and live reloading doesn't work. I have read the documentation, and watched your Youtube video's, but all didn't help. Finally I came here, and read that the livereload has moved to RockDevTools. So the setting in the site config should be ``$config->rockdevtools = true;`` and not ``$config->livereload = 1;`` I think to documentation, and the site-profile are behind at the moment.
  14. Inspired by this reading? https://htmx.org/essays/template-fragments/#known-template-fragment-implementations
  15. What you describe @bernhard would be what i'm looking for. It would even be more ideal if I could expose a component via a HTMX-api. That way I don't have to maintain a separate htmx component. What I mean bij JSON api, is the AppApi integration with Twack I would be cool if the output could also be just html, and preferably a part of the template, or component.
  16. I am looking for good way to implement htmx, and creating some sort of API for this. The API should return 'parts' in HTML to replace parts in the DOM. These returned parts could be components. As Twack works with components, and has (JSON)API support, would Twack be the ideal base to build a HTMX frontend on? And how would i do this? Any suggestions?
  17. Thanks for you answer. Actually I don't need the count, but don't want any "Brands" without references. This is my final code: <ul class="list-inline"> <?php $brands = $pages->find('template=brand'); $brands = $brands->sort('-numReferences'); $brandCount = 0; foreach($brands as $brand): if($brandCount > 5) break; if ($brand->hasReferences) { $brandCount ++; echo "<li class='list-inline-item'><a href='/auctions/?brand=$brand->id'>$brand->title</a></li>"; } endforeach; ?> </ul>
  18. I have products referencing to brands using a page reference field. Now I want a list of brands, ordered by number of references. I found the function $page->references(), but how do I sort this? <?php $brands = $pages->find('template=brand'); $data = ''; foreach($brands as $brand) { if ($brand->references()->count()) { $data .= "<li class='list-inline-item'><a href='/auctions/?brand=$brand->id'>$brand->title</a></li>"; } } echo $data; ?> Thanks for any suggestions!
  19. I once build e recurringEvents modules myself. https://github.com/spoetnik/ProcessRecurringEvents maybe it could inspire you? recurrence are ‘fictional’ and calculated, and only made to real Processwire pages when needed.
  20. When browsing the form, the 'Shop link' in the top right, doesn't have the link to Login Register Pro module.
  21. Sorry for bumping an old topic. I have made a GitHub repo for my dev, and production setup. https://github.com/spoetnik/apache_php-fpm_mysql
  22. Tracy Injects the 'Font Awesome 4.7.0' css into the frontend. This fucks up my layout, as I am using v 5.0.13 in my frontend. Is there an easy way to prevent tracy from injecting this css?
  23. Any Nginx guru out there that can translate those enhancements to a nginx-config?
×
×
  • Create New...