-
Posts
2,224 -
Joined
-
Last visited
-
Days Won
58
Everything posted by wbmnfktr
-
Not at real answer (Sorry!), but... We do initial workshops with clients to guide them around and assist for at least 3 months for each and every question they might have. In 90% of all cases that's all it ever takes as they are only able to add and edit small parts of the site. Using CSV imports or ProLister might take a bit more time but other than that is easy going. So that said: we never created any real tutorials, guides, or similar. Keeping the client very close in the first months they do things on their own is super important for us. Most of the editors can barely handle more than MS Office basics but can manage the website's content.
-
I have seen that tool before but never used it and actually don't know if it's worth putting that into an IDE. The codebase is already available in full. Maybe I miss the unique feature here.
-
I'll try to get my latest starter tested and fixed and will give you a link to the full repo with all examples and rules. Well... you basically have the link already but the version is an old one. In regards to self-hosted docs and documents there is a new service which helps quite a bit - maybe worth putting processwire.com docs in there: parse.new About the examples vs. docs part... even though we have huge context windows now, they fill up pretty quick. Using examples here nails the results almost 99% of the time. A list of hooks, some more complex examples like modules with configurations, and other module specific things speed it up as well. No scraping, outlining, and understanding as you can reference it. The same with more complex selectors. I write them myself, put them in place, and whatever IDE and LLM can work with it. Plus: adding an example of the returned data structure makes writing views/components so super easy then. ☺️ Update: just found out parse.new is for sale - not sure how long this will be kept up - see: sale.parse.new
-
The main reason I switched to ProcessWire was the fact that I could add an unlimited amount of templates with 100% custom fields to my projects. Back in the days WordPress had two types of content: posts, pages - I remember when the feature to have pages was added. 😂 So I started using Textpattern which allowed me to have at least 10 custom fields and individual page templates. Which worked pretty well for a while but ... after some time I needed more fields, more templates, and found ProcessWire. In that moment I was able to create templates for books, restaurants, movies, musicians, whatever type of data I wanted and needed. Fields became more than just strings or dates. It was possible to have textareas, repeaters, tables whereever and whenever needed. That was pretty much 10+ years ago. 🤯 Oh... and of course having this was awesome as well: an unlimited amount of backend users, user roles, access management, multilanguage support, resource friendly and worked perfectly fine even on low-end cheap shared hosting.
- 18 replies
-
- 13
-
-
I took a way easier route and grabbed the one from Yifan here: https://gist.github.com/yifanzz/3cfb8f9065769ffbf94348255f85597d more details: https://www.youtube.com/watch?v=aG-utUqVrb0 At one point I gave this one a try but will keep only parts from it in the next iteration of my rules file. https://github.com/kinopeee/windsurfrules/blob/main/v5-en/.windsurfrules Another thing I started doing is adding files with examples: PHP or programming isn't the real issue with any of the current bigger LLMs, but ProcessWire itself as there isn't that much training data around - compared to WordPress, NextJS, Angular, ... whatever. So adding the examples makes it pretty easy and drops the amount of credits needed by a good margin.
-
Just gave it a super quick try, while giving guidance based on existing code and purpose. I used Deepseek V3, as it is giving me more issues than Claude or OpenAI on average, and ... even though it was a simple task it did a great job. I need to test on the weekend with this as my current rules do things here as well - as they should. The rephrasing might just be the cherry on the top! Claude Sonnet does a great job as always but faster.
-
This reminds me of the AIDER Architect Workflow i saw a while back. In short: 2 instances one for a technical concept/developer manual one for doing the work the first instance uses Gemini Flash, Deepseek R1, or an OpenAI Reasoning model and puts every little detail into separate files the second instance uses Claude Sonnet 3.5 and does all the heavy code lifting Your workflow is super similar, yet way slimmer and probably faster for most tasks. Need to try this in my rules!
-
Install Language Support (core module), look for translatable files within the LoginRegisterPro module directory, select all files listed, go back to the overview. From there you can either search for a translation or dig into all files and translate each and every string you find.
-
Can't you place the same logic in your RepeaterMatrix templates right above everything else and add a checkbox to each type? Not a hook, but a simple if/else.
-
I have to play with this for sure. One thing you might want to consider: add some kind of a blacklist for brands, special topics, and words e.g.: adult entertainment, gambling You don't want to see your domain close to spam, scam and some topics. I guess.
-
Do you talk about the former Pro module Autolinks?
-
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.
-
I have to play with this. I always wanted to rebuild the behaviour of an app (posterous or something like that?) back in the Web 2.0 days which was fed just by emails. This seems like a very good fit.
-
Any way to access $languages API var inside Page Class?
wbmnfktr replied to TomPich's topic in General Support
Shouldn't it be more like this: class HomePage extends DefaultPage { public function __construct(Template $tpl = null) { parent::__construct($tpl); $this->lang1 = $this->languages(); // added () $this->lang2 = wire()->languages(); // added () } public function lang(){ return $this->languages(); // added () } } Can't test right now but the docs say so. https://processwire.com/api/ref/functions/languages/ https://processwire.com/api/ref/page/get-languages/ -
Yes, please. The LazyCronLock.cache means there was an issue and LazyCron was stopped. You can safely delete both files in your DEV environment. Take a look at them. There are just timestamps in them, so LazyCron can check on those. Using ready.php was for testing purposes only. LazyCron will work from within a module. I use that a lot for maintenance tasks.
-
Do you have a LazyCron.cache file in /site/assets/cache? Maybe it's locked or corrupt or something that somehow prevents LazyCron to check and use that file and therefore doesn't work at all. Oh... and maybe try using that hook in /site/ready.php and go from there.
-
Merry Christmas and a Happy New Year, @ryan!
-
As this isn't a real workflow - means: I handle projects differently for that matter. For now to make it short - the decision process: How valuable is the data? Just fields, templates, and settings Real content (products, articles, actual data)? Is the content worth more than the whole project/website in the long run? The more important the database content is, the more saving points exists and the higher the interval is, even in development mode. Super important content (product data and content) will be backed up daily and when a user logs into the backend - external backups, server side, and Git Less important content/data: each time a user logs into the backend - server side, Git [...] During starting phase most often only when heavier tasks and steps on fields, templates occur - which then will end in Git with before and after dumps. Side projects on the other hand... some never got a backup besides those created during the update process of ProcessWire. 😂
-
FrontendAutoReload Module for ProcessWire CMF/CMS
wbmnfktr replied to digitalbricks's topic in Modules/Plugins
That looks like a great addition to my regular setup @digitalbricks. Will test it and will probably have some questions. Great work so far! @AndZyk that's one of the reasons we love @teppo so much here! -
How to require a core module in my module (LazyCron)?
wbmnfktr replied to JayGee's topic in Module/Plugin Development
Let's have a look here in the docs: <?php public static function getModuleInfo() { return array( 'title' => 'Hello World', 'version' => 101, 'author' => 'Ryan Cramer', 'summary' => 'Just an example', 'requires' => array("LazyCron", "AdminBar") // added this line ); );