Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


bernhard last won the day on September 30

bernhard had the most liked content!

Community Reputation

4,884 Excellent

About bernhard

  • Rank

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
    Vienna, Austria
  • Interests

Recent Profile Visitors

14,865 profile views
  1. the function itself is not deprecated - just its use on objects is. I don't know if I'm using it like this anywhere. If I do, please let me know. If not - everything's fine 🙂 🙂
  2. Thx @eydun but your error message states that this error comes from the core and not from my module 🙂
  3. Not sure if we have a PW way for doing this, but you can try to use nette: https://doc.nette.org/en/3.0/images#toc-merge-multiple-images
  4. yeah, I'm working on something but don't have anything usable yet 🙂
  5. Hi @teppo any ideas why I'm getting this error on a fresh install? Notice: Trying to get property 'paths' of non-object in C:\laragon\www\micropage\site\modules\Wireframe\lib\Config.php on line 163 Warning: Creating default object from empty value in C:\laragon\www\micropage\site\modules\Wireframe\lib\Config.php on line 173 Also the directories look weird. The regular directories have not been created, but they are also not listed on the settings page:
  6. Hi @3fingers I'm sorry, I have never ever used this field. But what you need should be quite simple to do using custom SQL: https://github.com/baumrock/rockfinder3#custom-sql You could also create a custom column type: https://github.com/baumrock/rockfinder3#custom-column-types and I could add support for that if you send a PR. Or I could implement that feature if you want to sponsor such an update.
  7. Hi @markus_blue_tomato just wanted to let you know that I got rid of the errors 🙂 I used 1600x900 for the blurhash which led to the errors on the one hand and also to a huge filesize on the other hand. Changing the blurhash size to 16x9 solved both issues. I didn't want to use a small hash at first, because the images are part of a slider and the small hash messed up the design. I also didn't want to code things into css. I ended up setting the width of the hash as style attribute. Seems to work fine and got the document size from 1MB to 25kB 😄
  8. Hi eydun, I thought it might make sense to be able to share the nette components across several modules. I'm not sure if that is the best approach. Another option would be to use composer in the root folder to load nette components (I think that would be the more standard way)! I just didn't want to put it in the module itself because this would mean I'd need to update the modules with every update of nette...
  9. It's all about providing the correct HTML for mpdf. Just debug what is being sent to mpdf (eg using tracy bd() calls) and you should be able to resolve your problem.
  10. Hi @adrian could you please provide instructions how to add new panels and what code to use for the panel? I tried it with something like my helloworldpanel - the panel showed up in the panel selector panel but when I enabled it I got Error Class 'TestThirdPartyModulePanel' not found search►
  11. Make sure the file does exist on your system and also try using the file path instead of the url: https://processwire.com/api/ref/pageimage/filename/
  12. I'm getting the error with the default Windows desert sample image when using this: $hash = $page->pic()->getBlurhashDataUri($page->pic()->width, 100);
  13. Hi @markus_blue_tomato just doing my first tests and still get lots of those undefined offset errors: https://github.com/blue-tomato/ImageBlurhash/blob/4914e31322cff5042e0632058c20d2a3a734c833/ImageBlurhash.module.php#L113
  14. Custom panels shipped with my own modules would be great 🙂 Maybe Tracy could scan for /site/modules/***/TracyPanel***/ folders? So I could ship my module with two custom panels: /site/modules/MyModule/TracyPanelFoo/Foo.php /site/modules/MyModule/TracyPanelFoo/Foo.css /site/modules/MyModule/TracyPanelFoo/Foo.js /site/modules/MyModule/TracyPanelBar/Bar.php /site/modules/MyModule/TracyPanelBar/Bar.css // or like this? /site/modules/MyModule/TracyPanels/Foo/Foo.php /site/modules/MyModule/TracyPanels/Foo/Foo.css /site/modules/MyModule/TracyPanels/Bar/Bar.php thx again for this brilliant module!
  15. Thx, this looks nice 🙂 https://laradock.io/getting-started/#B That sounds like a lot of steps for adding a new project?!
  • Create New...