Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/29/2025 in all areas

  1. Hello everyone, I’m excited to share with you a project I’ve recently developed – a URL shortener site and profile. Github/Profile: https://github.com/mxmsmnv/site-lqrs Demo https://lqrs.org/
    3 points
  2. Along came DeepSeek... https://www.deepseek.com/ https://github.com/deepseek-ai/DeepSeek-R1
    1 point
  3. No, I'm talking about the TinyMCE autolink plugin. You can find it on the Input tab.
    1 point
  4. Tried DeepSeek with Cline in VSCode on some ProcessWire tasks and I did way better than Cursor/Windsurf with Claude Sonnet - for whatever reason. When using the R1/Reasoning model you get some nice concept work done prior to the very first line of code. More expensive via API but still way cheaper than Claude, ChatGPT, and especially the reasoning model from OpenAi Screenshot shows this attempt before I found Cline - tried going the old copy/paste way. So much to play with but so little time right now. Almost don't know where to start and what to use anymore.
    1 point
  5. Janus-Series: Unified Multimodal Understanding and Generation Models https://github.com/deepseek-ai/Janus
    1 point
  6. /site/init.php wire()->addHookAfter('Foo::hello', function ($event) { $event->return .= ' - hooked :)'; }); /site/modules/WhatEver/Test.module.php <?php namespace ProcessWire; use MyNamespace\Foo; class Test extends WireData implements Module { public static function getModuleInfo() { return [ 'title' => 'Test', 'version' => '0.0.1', 'summary' => 'Your module description', 'autoload' => true, 'singular' => true, 'icon' => 'smile-o', 'requires' => [], 'installs' => [], ]; } public function init() { wire()->classLoader->addNamespace('MyNamespace', __DIR__ . '/classes'); } public function ready() { $foo = new Foo(); bd($foo->hello()); } } /site/modules/WhatEver/classes/Foo.php <?php namespace MyNamespace; use ProcessWire\Wire; class Foo extends Wire { public function ___hello() { return "HELLO!"; } }
    1 point
  7. I'm using namespaces all the time and it works for me when not adding the namespace on the hook.
    1 point
  8. Hello @PWaddict I guess this is a namespace related problem, but I have not found a solution to this issue. Therefore I have written a blog post in the forum in the hope others could help. Best regards
    1 point
  9. Ah yes, indeed - I had forgotten to set the path on the root page (home) to allow the second language. Now the page-language switch works, and also editing a richtext with individual languages. Page grid seems to work rather splendid with multiple languages. Nice!
    1 point
  10. @David Karich That would be a great feature. I've scanned the API docs and the solution would put the work of managing glossaries entirely on Fluency. I'm familiar with the feature but am learning more in depth about it right now. Bummer. The process of managing them is also a bit of a task: Of course all of this is doable and I'd like to take it on but I'm really overloaded right now with work. I may be able to hack around a little bit but unfortunately couldn't provide a guarantee or estimate on when it could be added to the module. It's definitely a feature I'd like to have on the roadmap. If I have some time I can put towards it I will. Sorry I can't be of more help at the moment 🫤
    1 point
  11. Peter has just renamed to AdminerNeo (https://github.com/adminerneo/adminerneo/) so hopefully this new identity will help to keep things alive.
    1 point
  12. Hi everybody. I was playing with the @Macrura PrevNextTab module, (forking it); but actually I started from here, adding previuos and next action (with logics) to the Save button, as suggested a while ago by @bernhard. Every time I’m annoyed by the boaring "There is no editable next page to edit." after "Save + Next" click: so I decided to implement a "stop" when reached the last item (and same way for previous when reached the first one). This is the results for First and Last items dropdown menu of the Save button: I would like to share the code to put into ready.php, if somebody find it useful: Bye.
    1 point
  13. Version 0.2.3 of the ProcessWire IndieAuth Module is released: Fixed a bug when adding profile information to a token response Install now attempts to add the introspection-endpoint Improved admin: list of granted access tokens Add an option to no longer advertise the backwards-compatible link-rels. These remain on by default; future release may change to off by default. More in the changelog
    1 point
  14. Just an update that AdminerEvo is officially dead unfortunately so I have migrated Tracy to use https://github.com/pematon/adminer - Peter Knut is the creator of the theme that Tracy's Adminer uses and has created a few other plugins we use so I think we are in good hands, so if you want to show some love, please go star his repo to help get it better recognition and support from other contributors.
    1 point
  15. Agreed. When using Custom Page Classes + MagicPages these kind of things are super easy to do: <?php public function onCreate() { $this->mycheckbox = 1; } But a hook in /site/ready.php would also not be much more work. Just less beautiful in my opinion 🙂 <?php wire()->addHookAfter('Pages::saveReady', function($event) { $p = $event->arguments(0); if($p->id) return; if($p->template != 'whatever') return; $p->mycheckbox = 1; });
    1 point
×
×
  • Create New...