Jump to content

bernhard

Members
  • Posts

    6,286
  • Joined

  • Last visited

  • Days Won

    316

Everything posted by bernhard

  1. I've updated the module, thx.
  2. Hey @herr rilke if you use LESS for blocks it will combine all to one CSS file. I plan to add such a feature to RockDevTools though, which is in the works.
  3. Hey @Jochen Fritsch thx for your question. This is unfortunately not possible ATM. LESS files are always parsed first. The reason is that there might be more then one less file to parse and then the module can not know where to put the final css file, so it will always put parsed CSS from less very first. You can use the LESS module standalone to create the CSS and then ->add() that to rockfrontend's styles. Or you just add all <link> tags to your main markup manually, which might be the best option πŸ™‚ I'm not really happy anymore with RockFrontend's asset features.
  4. Ok thx for your help! I'll come back to you πŸ™‚
  5. Hey @hellerdruck thx for your efforts! I'll look into this ASAP. I think I might have broken something in the recent RockMigrations updates. Could you try to remove RockMigrations and install v6.5.0 instead? https://github.com/baumrock/RockMigrations/releases
  6. Hey @boltwood welcome to the forum! Don't let that put you off! ProcessWire is a very powerful system and leaves it totally open what we as developers do with our data. Basically it has been a headless CMS since its beginning < 2010 just back then without anybody knowing what a headless CMS was and that this would become a hype more than a decade later... As a consequence of being so open and flexible, the learning curve might feel steep at first, but that's because you're learning a system that gives you real development freedom rather than forcing you into predefined patterns. Stick with it - many of us have made the switch from other systems and never looked back! Feel free to ask specific questions as you go along. This community is here to help you succeed and is usually very fast with helpful answers! πŸš€ PS: @Jonathan Lahijani has made some videos comparing Wordpress and ProcessWire side by side, which might be helpful:
  7. Hey @hellerdruck thx for your purchase and sorry for the trouble. I can't see your image unfortunately. Can you please upload it again and make sure it's visible?
  8. Ok not exactly an hour - took a bit longer than expected... as always πŸ™ˆπŸ˜… Here you go: Please grab v5.11.0 here https://www.baumrock.com/en/releases/rockpagebuilder/ And RTFM check out the docs here: https://www.baumrock.com/en/processwire/modules/rockpagebuilder/docs/settings/#adding-settings-globally Thx for the idea! Enjoy! πŸ™‚
  9. Thx. Please share exactly which field names you used and which db entries it created. That might save time when trying to duplicate it.
  10. Give me an hour before you start refactoring... πŸ˜‰
  11. Ok nice. Just wanted to make sure I understand exactly why you are not using the available approach. But I like your idea. I'm thinking maybe RPB could load a file like /site/templates/RockPageBuilder/blocksettings.php like this: <?php return [ 'foo' => [ ... ], 'bar' => [ ... ], 'baz' => [ ... ], ]; Which would make it then possible to set block settings like this: <?php public function settingsTable(RockFieldsField $field) { $settings = $this->getDefaultSettings(); $settings ->add('foo') ->add('baz'); return $settings; }
  12. Hey @thei thx for the report. Could you please provide steps to reproduce this issue so that I can investigate? Or even better do you have time to find a fix for it?
  13. Hey @FireWire thx for sharing! Are you aware of https://www.baumrock.com/en/processwire/modules/rockpagebuilder/docs/settings/#adding-default-settings ? Nevertheless I see potential in your workflow!
  14. @Spinbox what do you mean exactly? Could you give me more context?
  15. I'm just very busy and hoped others would jump in. Something seems to be different depending on the type of save. Check out https://processwire.com/talk/topic/30827-how-to-build-a-hacky-hook-recorder/ and see if you see a difference in the log.
  16. Oh, sorry, of course! πŸ™ˆ Thx @matjazp!
  17. Congrats @ryan and thank you @matjazp for helping with all the github issues! Great achievement and great start into the new year πŸš€πŸ₯³
  18. Hey @Christophe this has come up in the RockMoney thread already. You need to install/enable the Intl extension for PHP on your system. I have added a check for this that should throw a more helpful error message and I have added it to the docs about RockMoney!
  19. Stunning! Thx for sharing!
  20. I'm loving config migrations more and more πŸ₯° They reduce complexity and increase stability and performance. Win-Win! Wherever you want. Nothing changed here. You can put it in /site/migrate.php, you can put it in your /site/modules/Site/Site.module.php module's migrate() method, etc... I have to correct myself here @Jonathan Lahijani Today I had to create the following page reference field: <?php return [ 'type' => 'page', 'parent_id' => '/tags/', // ... ]; The "parent_id" setting caused a problem, because the /tags page did not exist when this was run, so the migration failed. I went ahead and implemented a way to properly, reliably and easily create new pages with your config migrations: MAY I INTRODUCE: Config Migration Hooks 😍 😎 πŸš€ Please check out the dedicated docs page, which are at the moment only on the dev branch and will soon be merged to main and then be also available on my website: https://github.com/baumrock/RockMigrations/tree/dev/docs/config-migrations-hooks
  21. How many pages are we talking? I've just created 10k pages for a testrun and my script took 330ms with a chunksize setting of 100 and 46ms with a chunksize of 1000 Did you use my exact script implementation? It's not only about using findIDs... Details matter πŸ˜‰
Γ—
Γ—
  • Create New...