Jump to content

bernhard

Members
  • Posts

    6,670
  • Joined

  • Last visited

  • Days Won

    366

Everything posted by bernhard

  1. Hey @FireWire and @noodles I have a present for you: v1.6.0 now supports custom fields/values for recurring events. All you have to do is to add the field you your events' template and then tell RockCalendar to "keep" it: wire()->addHookAfter('RockCalendar::keepFields', function ($event) { $fields = $event->return; $fields[] = 'booked'; $event->return = $fields; }); See the full docs here: https://www.baumrock.com/en/processwire/modules/rockcalendar/docs/recurring/#custom-fields-for-recurring-events
  2. Hey @noodles Glad to hear that! ๐Ÿ™‚ I've added that quote to the RockCalendar page on my website: https://www.baumrock.com/processwire/module/rockcalendar/ hope that's fine? I'm not sure I fully understand. Fields are hidden because the idea is to inherit all fields except the date from the main event. That concept might be extended in the future - for example it might be necessary to show basic information for all events in a series but some details specific to a single event (like a weekly podcast with a general description and then an individual subject for each recurring item). But in your case I don't understand where they want to enable/disable the event? Do you want to disable the main event and then disable/hide all events of the series? Or only one? I don't get it please be more precise with your description. Thx!
  3. Thx! It was great ๐Ÿคฉ That's very good news, so we'll get it working! I'll let you know when I have the new version ready. Cool. Let me know when exactly and we'll arrange something! ๐Ÿ™‚
  4. Hey @noodles thx a lot for your purchase and for your kind words ๐Ÿค— And thx a lot for looking into this on your own! I'm on vacation and I'll be back at my computer at Thursday - I'll take a look into your issue then. If you find anything useful until then please let me know. Are you able to create this schedule on https://jkbrzt.github.io/rrule/ ? Personally I hate these kind of dirty solutions so I'm happy to work on a better solution but it needs to be a solution that helps everybody. Otherwise we might want to find a way to make it work for you and also work for everybody else (aka make something hookable or such...).
  5. Not sure I understand your message. RockDevTools does not provide a UI. It provides an API to minify/merge assets and it provides SSE based live reload for your local pw development.
  6. It worked for me. It would be nice to provide more information for me. What did you do, what did you expect, what was the actual behaviour? Or if you know what needs to be changed to make it work out of the box please provide that information.
  7. Hey @spoetnik I just pushed an update to the rockfrontend site profile. Can you confirm things are now working and showing infos as expected?
  8. Hey @neophron thx for the update. You have old ->styles() and ->scripts() calls in that file that you have to remove. I tried to explain what to do and the reason for the breaking change as good as I can here: https://www.baumrock.com/en/processwire/modules/rockfrontend/docs/asset-tools/ I'm also updating the rockfrontend site profile that you can use for inspiration. Does that help?
  9. Well... the pragmatic, most efficient and probably best solution would be to use DDEV. Other than that it might be that LiveReload breaks in subfolder installations. I have to check that. But still I can't recommend DDEV enough for PW development.
  10. Thx ๐Ÿ™‚ Glad if it is helpful! Yeah that's possible. Unfortunately I had to change the way how I manage assets in my frontend. Thx for the report! I'll try to fix those issues asap.
  11. Hey @neophron sorry for the trouble. But no reason to be desperate - I'm here to help and this one will be quite easy to fix ๐Ÿ™‚ Background: Unfortunately I had to introduce a breaking change with how assets are managed and injected. In the old version I relied on RockFrontend's styles() and scripts() methods to inject styles/scripts into the frontend. The new version leaves that up to the user. This means he/she has more control over their final frontend markup (no automatically injected styles and scripts) but it also means more to do during the initial setup. Can you share your _init.php please? Especially around line 9. PM if you don't want to share it here.
  12. Yeah! Really useful feature. Has been a quite long way to get it ๐Ÿ™‚ See https://processwire.com/talk/topic/27528-weekly-update-โ€“ 2-september-2022/ for all available options. Even the link was quite hard to find, so no wonder not many know about it...
  13. Pure gold! ๐Ÿ˜Ž
  14. <?php class EventActivityPage { /** * Gets hero image or fallback hero image if one does not exist for this activity */ public function heroImage(): Pageimage { return $this->getFormatted('hero_image.first') ?: $this->eventPage()->getFormatted('activity_fallback_hero_image.first'); } } Using getFormatted + .first you can force the return type so no matter what setting or output formatting is applied your method will return the correct value.
  15. Awesome! Thank you! And shame on me - I have not yet given the module a star on github ๐Ÿ˜ฎ
  16. Hey @FireWire thx a lot for your work on this. Unfortunately it still behaves the same: HA! I found the issue when making the screenshot for this post: I realised the note below the field! Didn't see this before and expected the textarea to take one string per line! --> now it works as expected! Any reason why you did not make this textarea behave like "one word per line"? That would be a lot easier to read and a lot easier to type imho ๐Ÿ™‚
  17. Does that mean you do not get this error in other browsers? So it's FireFox only?
  18. I think being on windows is one more reason to look into ddev. You can use it in a WSL linux machine, so your local environment will be linux and your production environment will be as well (most likely). That avoids lot's of issues that you have to deal with when using laragon. For example I've been working on a PDF project and on linux it's easy to just use "poppler-utils" to create JPG from PDF. Not possible with laragon like this, so you need to either hack things together on your production environment or you have to find a way to get it working on your local dev, which means additional work and additional headache. Another example is my current multisite project. In DDEV all you have to do is add "additional_hostnames" to your config and you can access all your local sites via foo.ddev.site and bar.ddev.site and baz.ddev.site and all will be routed to the same ddev/pw project ๐Ÿš€ I don't think that these two things would be possible with laragon. But I don't know. Oh and switching php versions is as simple as changing the config and running "ddev restart". In laragon it was also not that hard, but I can remember it was also not that easy...
  19. +1 Please do that. It will help you as a developer and it will help us making exploring your module (and maybe contributing) easier. 2x speed = 12min investment ๐Ÿ˜‰ If you use VSCode Github is integrated into it very well, so you won't even need the commandline. I highly recommend installing this extension: https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph It has shed so much light on things that I didn't understand before and after using this extension it clicked and things just made sense.
  20. Would be helpful for sure! I'd need it for my current project... And likely also the next. And the one after.
  21. Yes, that's intended. It tries to better distinguish page statuses for people that might not see well where different colors alone are not enough. And it tries to do that without the linethrough which makes it less readable as well.
  22. Just added support for product discounts to v1.1.0 ๐Ÿ˜Ž
  23. I'm proud to announce that RockCommerce does now officially supports product discounts ๐Ÿค˜๐Ÿ˜Ž๐Ÿ’ช Frontend Example: Backend Example: With this update, you can: Create time-limited product discounts with just a few clicks Show attractive discount labels on your product pages Display savings clearly in the shopping cart Manage everything through ProcessWire's familiar interface Get started today and give your customers the deals they deserve! ๐Ÿ˜‰ Docs: https://www.baumrock.com/en/processwire/modules/rockcommerce/docs/discounts/ Any questions? Drop them below! ๐Ÿ‘‡
ร—
ร—
  • Create New...