Jump to content

bernhard

Members
  • Posts

    6,259
  • Joined

  • Last visited

  • Days Won

    312

Everything posted by bernhard

  1. Great! This has been annoying me over the last few days as well (and on any previous project), but it was not annoying enough to have the idea of supporting custom stubs per project so your input was highly appreciated ? If any of you guys have any other suggestions how to further improve the day to day development experience when using RockPageBuilder please let me know!
  2. Here you go: This version will be merged next week. I'll send you a copy to test!
  3. Unfortunately the spambot message has been deleted, so my love letter is only half funny... @Gideon So credits go to the AI ?
  4. Why do you add a hook inside the hook? Just grab the field and set the collapsed state: <?php $wire->addHookAfter("ProcessPageEdit::buildFormContent", function ($event) { $form = $event->return; $f = $form->get('some_field'); if($f) $f->collapsed = Inputfield::collapsedHidden; }); I think this should work. Note that I'm using addHookAfter, not before!
  5. Dear Spambot, Oh, how my heart flutters at the sight of your unsolicited message! Your offer of ngrok alternatives has me weak at the knees. But alas, our love can never be, for my heart belongs to ProcessWire. You see, while you're busy tunneling through firewalls, ProcessWire is tunneling straight into my developer soul. Its flexibility is more enticing than any port forwarding you could offer. Its API is smoother than your smoothest proxy connection. I'm afraid your alternatives just can't compete with ProcessWire's modules. They're the only plugins I need in my life. So farewell, my automated advertiser. May your packets find their way to greener pastures, for this forum is already in a committed relationship with the CMS of its dreams. Forever ProcessWired, Bernhard ?
  6. The reason I'm asking is that I had similar plans but on my research I read everywhere that getting good mail delivery rates seems to be a nightmare. Hetzner for example has a limit of 500 mails per hour (https://www.hetzner.com/legal/webhosting) for their webhosting products. If I remember correctly it's the same for their VPS, when I contacted support. So that made me drop the idea of self-hosting/developing my own newsletter system. https://sendy.co/ might also be an option. They use Amazon SES for sending mails, which is very cheap. I've bought sendy to play around with, but it looks dated and I never took it to production... Thx, looks interesting. Here is a good and recent video about it:
  7. Almost any website that I build needs some kind of differently coloured sections... Unfortunately this is not so easy to accomplish. I've come up with several concepts over the time, but this one is very cool and promising imho ? Anybody interested in more details or is that something nobody needs? How did/do you solve that?
  8. This looks interesting, but I'm wondering... Are you using this to send mass e-mails? Or just mails for form submissions or signup notifications and such?
  9. I don't think that this is very helpful, but maybe someone sees something helpful in this AI help, so I'll share it:
  10. Ok great, thx ? RPB blocks inherit permissions from the page where the field lives on. Would be great to mark this as [solved], thx ?
  11. Thx @adrian for your help. Interestingly today the error was gone!! I found out that it only appears when logged in. And then I found out that it seems to come from something else, not the debug bar. I'm quite sure it was related to tracy some time ago, so something must be different than back then. But who knows, maybe it was not related to tracy at that time as well. I'll have to investigate further...
  12. Hey @adrian I had to go back to my initial setup with filling the remaining space with the footer color due to several reasons (mainly my pagebuilder setup with different coloured sections). Any chance you can have a look into this? Or just give me a hint where these things are defined ? Thx!
  13. Hey @FireWire thank you very much. Not sure about this one. Some libraries like fontawesome come with dedicated folders, like for solid icons or for brands. In some cases it might make more sense to sort by folder (eg to have all brands together), in others it might be different (like in your example). I don't really want to change the default behaviour as this would change existing installations. I mean... I don't know of anybody besides you and me using this module, but nonetheless I'm not sure if changing the default is a good idea. Maybe we need a setting for that?
  14. PM Update: He was loading jQuery on the frontend which interfered with PW's modal implementation of frontend editing. Removing jquery resolved the issue.
  15. Here you go: wire()->addHookAfter('ProcessPageEdit::buildForm', function ($event) { $page = $event->object->getPage(); if (!$page instanceof \RockPageBuilder\Block) return; $form = $event->return; $user = $page->modifiedUser->name; $relativeTime = wire()->datetime->relativeTimeStr($page->modified); $form->prepend(rockmigrations()->inputfield([ 'type' => 'markup', 'label' => 'Block Info', 'icon' => 'clock-o', 'value' => "Zuletzt bearbeitet von: $user ($relativeTime)", ])); }); This will show the info for all blocks, but you can define conditions as you need on the $page object.
  16. Hey @iank sorry for the delay. I'm investigating! Any news from your side? It seems I can't duplicate this any more ?
  17. @FireWire cleaning up my inbox ? Did you find anything?
  18. I think this is what you are seeing: https://github.com/processwire/processwire-issues/issues/1952
  19. Here you go: alias ddc="limactl start && ddev config --php-version=8.3 --database=mariadb:10.6 --webserver-type=apache-fpm --timezone=Europe/Vienna --omit-containers=dba --web-environment='TRACY_LOCALROOTPATH=\$DDEV_APPROOT/' --upload-dirs='site/assets/files,foo/bar'" Note that you need to reload your shell after updating your alias file!
  20. Hi @Jonathan Lahijani I think that should work. I just didn't have a need for it and it will need some adjustments to the command but I'm happy to merge it if you want to work on that.
  21. I've created a custom alias: So all I have to do is type "ddc" and hit enter
  22. I don't think that it is related to RPB, but not sure. I can't give you access to RPB on github, but that's not necessary anyhow. If you find something just send me the files and I'll merge them manually. I have to admit though that it's not a priority for me to keep these migrations code sections 100% accurate. It's there to get help when writing migrations but it's definitely nothing that should be copied 1:1 There are many inconsistencies in PW api / migrations API like for example RM using field and template names all over and PW using ids, which is not readable/maintainable in migrations. So I'm not sure how much work the problem you have found justifies ?
×
×
  • Create New...