All Activity
- Past hour
-
Hi I want to display some code samples in my TinyMCE field. Is the best approach to enable TinyMCE codesample in the Plugins or is https://processwire.com/modules/textformatter-prism/ a better option? Thanks. A bit rusty on this but I am moving over 200 pages of documentation from a React based app into Processwire.
- Today
-
Cookie — GDPR/ePrivacy Cookie & Privacy Consent Management
maximus replied to maximus's topic in Modules/Plugins
Hey Peter, thanks a lot — good timing then! On both points you flagged: GTM — Cookie ships with Google Consent Mode v2 built in (toggle it on under Integrations). It fires the denied-by-default signals before your GTM/gtag snippet loads, then updates them live on every consent change — so GTM just sees the standard Consent Mode API and behaves correctly without any custom wiring on your end. Only gotcha: keep your GTM snippet loading after the module's own output so the default signals are already in place when it initializes. Reporting — there's a Consent log (Setup > Cookie > Consent log) with CSV export — timestamp, consent version, granted categories, salted IP hash, configurable retention with auto-purge. On top of that there's a small stats dashboard (accept-all vs. only-necessary vs. custom %, per-category acceptance, a 30-day volume chart) if you just want the at-a-glance numbers without digging into raw export data. Honestly, the Design Studio is the part I'm most proud of. I don't particularly enjoy digging into code just to customize something visually, so I built the whole widget to be styled entirely from that live-preview builder — colors, fonts, layout, icon, dark theme, all of it — no CSS overrides needed. For agency work with multiple client sites that each need slightly different branding, that's probably the bit that saves the most time. (And yes, one of the 7 icon choices is a banana that wiggles when you hover it. No compliance value whatsoever, purely for fun — but I couldn't resist leaving it in. 🍌) Would genuinely love to hear how it goes on your test site — especially if you run it against a client's actual GTM setup, since that's the scenario it matters most for. Feel free to open an issue on GitHub if anything doesn't line up with how your clients have things wired. -
Cookie — GDPR/ePrivacy Cookie & Privacy Consent Management
Peter Knight replied to maximus's topic in Modules/Plugins
Hey Maximus. I was literally wondering / hoping last week that someone might build something robust and modern for PW. Most of my clients pay a monthly subscription for third party solutions but they believe rightfully that the EU compliance is non negotiable. So looking forward to trying this on my personal site as a test. One of the most valuable parts for them is integration with GTM and the reporting dashboard too BTW. Also that video really helps demo the functionality 👍🏻 -
Cookie — GDPR/ePrivacy Cookie & Privacy Consent Management
maximus posted a topic in Modules/Plugins
Hi everyone, I'd like to share Cookie, a consent management module I've been building — a consent banner, preferences window, server-side auto-blocking of trackers, and an interactive visual builder for styling the whole thing without touching CSS. GitHub: https://github.com/mxmsmnv/Cookie Demo (Design Studio): https://drive.google.com/file/d/1u5nSmBogZJd8FF5vVZ_R2CABkSAZvXl2/view Why Most consent solutions I looked at made you choose: either you get compliance (trackers actually blocked before consent) or you get design control (colors, layout, icon placement) — rarely both without editing CSS/JS by hand. Cookie tries to give you both. What it does Consent-first by default. Known trackers and embeds (GTM, Google Analytics, Yandex Metrika, Meta Pixel, Hotjar, Clarity, DoubleClick, TikTok, YouTube, Vimeo, Google Maps and more) are neutralized server-side, in the rendered page, before it reaches the browser. Two consent models: opt-in (GDPR/ePrivacy, UK GDPR/PECR, LGPD, Law 25, POPIA, KVKK) and opt-out (CCPA/CPRA and other US state laws), plus Global Privacy Control support, and a geo mode that picks the model automatically by visitor country. Category-based blocking of scripts, iframes, images and video, with placeholders and multi-category requirements. A visual builder (Setup > Cookie — "Design Studio"): live-preview layout, colors, fonts, radius, shadows, spacing. 50 color presets, 25 icon-color presets, 18 dark-theme presets. A floating settings icon with 7 built-in choices, adjustable shape/size/position/color/shadow, including a transparent icon-only mode. A dark theme with its own live-edited color set. A services catalog + cookie policy generator. Google Consent Mode v2, consent expiry/versioning, JS API, CustomEvents. Optional consent log with CSV export and a small statistics dashboard. Everything is hookable, and it's multi-language out of the box with per-language text targeting. Basic usage <script type="text/plain" data-consent="statistics" src="https://example.com/analytics.js"></script> $wire->addHookAfter('Cookie::allowCategory', function($e) { if ($e->arguments(0) === 'marketing') $e->return = false; }); Installation Copy to /site/modules/, install, configure texts/categories in module settings, design the widget in Setup > Cookie. Requires ProcessWire 3.0.244+ and PHP 8.2+. MPL-2.0 licensed. Full docs and hooks reference: README. This is the 1.0.0 release — feedback and bug reports welcome! GitHub: https://github.com/mxmsmnv/Cookie Demo (Design Studio): https://drive.google.com/file/d/1u5nSmBogZJd8FF5vVZ_R2CABkSAZvXl2/view -
@ryan - On a slightly different note, I have just installed the qwen-2.5-32b instruct, and it is running fine on my system via ollama (better at balancing tham LM Studio, it appears). But I have been setting it up for gramma checking, using modelfile to customise it. Basically, it tells it to act as an editor, not to get too creative, then gives some specific instructions over strange words, grammar, etc. It then creates a model for just that purpose. Could something similar be run for AgentTools so that the actual model has specific hard-wired PW knowledge in advance? I don't know enough to say if this would speed things up or anything like that. But it certainly helps with Word as it knows in advance character names etc, without it having to be prompted at the time.
-
wbmnfktr started following PW 3.0.268 – Core updates and Explaining yourself to AI
-
I casually do this with my HERMES (https://hermes-agent.nousresearch.com/) instance, just to train it against my habbits. Or at least I try to. I also become angry, or let it know when I am angry, or whatever about a topic, plan, schedule we had planned or working on. Depending on the model in the background the success rate is mixed - at best. Being more fun and enjoyable sticks way better with HERMES at least. OpenClaw (or whatever its name is nowadays) didn't work out for me at all. HERMES is running on all my office machines (settings are synced via Syncthing) so I can query any of them via Telegram. At least one device is online and reachable from whereever I am all the time. I was curious with HERMES and started chatting with it, like it was someone I met the first time at the bar/office/gym/whereever. We chatted, exchanged details, interests, projects, HERMES also knows my love for TV shows (https://log.nerd.to/tvshows/) and movies - and has access to the repo so whenever I mention something in those regards, HERMES updates that list with new shows or ratings. 🤯 I can ask for recommendations or chat about the latest episode of FROM. I wouldn't do that with OpenCode, Pi, Grok, Droid, Cline, Kilo, or any other agent... but HERMES. It's built for that.
- Yesterday
-
[ah-sht-here-we-go-again-meme.jpg] The current progress of ProcessWire reminds me of the fun I had back when I first discovered ProcessWire. All the features and things I was able to enjoy with ProcessWire I missed in all other tools back then. No limitations or restrictions in terms of templates, fields, pages, content, and everything. I really enjoy it. I love it. 🫡 Thank you, @ryan!
-
@Peter Knight I think polite and/or positive language can have a place in prompting. LLMs are conditioned on the full prompt, including tone, social framing, implied collaboration style, etc. Maybe they don't feel encouraged the way humans do, but the language still changes the context the model is responding to. Research on emotional prompting suggests that motivational language can improve outputs, though it varies by model and task. Prompting an AI agent in a respectful, collaborative way (including perhaps saying "good morning") can be useful because it steers the kind of response you’re asking it to produce. Related and pretty interesting: EmotionPrompt improved results across different metrics between 8% and 115%.
-
When checking a checkbox for field, can the table row get highlighted? It makes it easier to track visually. Note: this would be similar to when selecting a row in ListerPro, it highlights the row.
-
yeah its a funny habit. I wonder how long it’ll be until the AI overlords dictate the schedule
-
matjazp started following Explaining yourself to AI
-
Well, I do. I tell him/her that its late here and have to go to sleep 🙂...
-
Yes. Both clocking out and clocking back in like we owe them some account of our status
-
ryan started following Explaining yourself to AI
-
@Peter Knight Not sure I understand? Are you talking about saying good morning?
-
@Joss it definitely sounds like a glitch in the forum. I logged into the admin earlier this week and it's not happy about the php version, it apparently wants 8.2 and we have 8.3, I think. So it could be that. But once I get back to the computer I'm going to see if I can figure out how to get it working.
-
@Joss hmm sounds like it didn't have permission to create the directories. You might check that processwire has write permission to site/assets. But if I recall correctly AgentTools will attempt to create them again when/if you use the scheduled jobs feature.
-
Ok, at a stretch, I was going to say Scotland, but thought that was a big move from London. Even further to Scottish Isles. Anywho - lovely office setup.
-
Head north about a thousand miles.... 😀
-
Ah cool, I have to take a look about that! Thx!
-
Peter Knight started following Explaining yourself to AI
-
-
Lovely view. Am I way off if I guess Pembrokeshire or maybe more likely Cornwall?
-
virtualgadjo started following Access to child page but not parent
-
hi, that sound a litlle logical as it looks a bit difficult to display the pages as a site tree, think about a tree, If you cut off a branch, you also cut off all its twigs 🙂 have a nice day
-
I select an image, click on submit. It sends me to this screen: So I choose a file again (this is a nice small file) and click on Continue and end up: It doesn't like me!!! This is what I was trying to upload:
-
The error that came up during install was that makedir failed to create /site/assets/at/jobs/done, and failed to create the htaccess within "done", and the same with "failed", "pending," and "running." Note - I am using laragon on windows 11 rather than a unix server.
- Last week
-
ryan started following PW 3.0.268 – Core updates
-
This week there were 45 commits on the dev branch for ProcessWire 3.0.268. The most interesting updates were: Added checkboxes in the Setup > Fields list, so you can bulk delete or export. Added new getRaw() and saveRaw() methods for WireCache ($cache) Added $page->meta() support to PagesExportImport export and import (via @jploch) Added WireTests test framework files and API.md documentation for the following, which finishes up the Inputfield modules: InputfieldTinyMCE InputfieldImage InputfieldFile InputfieldTextTags InputfieldSelector InputfieldPage InputfieldIcon InputfieldPassword InputfieldPageAutocomplete InputfieldHidden InputfieldPage InputfieldPageTitle InputfieldFieldset InputfieldMarkup InputfieldPageName InputfieldName InputfieldPassword InputfieldForm These were done using the AgentTools scheduled tasks Round-Robin feature that rotates between different agents. In this case, between DeepSeek v4 Pro, Kimi K2.7 Code, GLM 5.2 and Claude Opus 4.8. After each API.md and code review was finished, they were queued to GPT 5.5 who verified everything, made any necessary fixes, and then built a WireTests ClassName.test.php file for each. Following that Claude Sonnet 4.6 gave each API.md, ClassName.test.php and ClassName.module a final review and commit. In addition, we have a new version of AgentTools that adds the following: New MCP server support New WireTests coverage Improved CLI safety and migration checks New AgentTools logo added to README (design credit to GPT 5.5) There's also a new version of ProCache posted this week that adds CLI command support, AGENTS.md and API.md files, and fixes a few bugs too. As always, visit the ProcessWire Weekly for the latest news and updates. Thanks for reading and have a great weekend!
- 2 replies
-
- 10
-
-