-
Posts
2,094 -
Joined
-
Last visited
-
Days Won
51
Everything posted by wbmnfktr
-
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 ); ); -
Here is the link to the module - for those looking for it: https://processwire.com/modules/pagefile-metadata/
- 1 reply
-
- 1
-
I guess this article could be helpful: https://screencasting.com/cheap-video-hosting More details about the Cloudflare R2 pricing: https://developers.cloudflare.com/r2/pricing/
-
I use Git in the project root as well, and only put things in .gitignore I really don't want to have in that repo. Best case scenario is that I have the full project, besides database dumps, in my repo. # .gitignore .ddev/ site/assets/backups/ site/assets/cache/ site/assets/logs/ site/assets/ProCache-* site/assets/pwpc/ site/assets/sessions/ site/config-dev.php Database dumps are a thing of its own. Managed projects are backed up quite often, long time projects with not that many updates will be backed up once every 3 months. From un-Managed projects I keep only the latest version I worked on - most of the time the release day or when something was updated.
-
How is it going @nacheson - did you see any progress and tried some things? How can we help/assist to keep you going?
-
Silly forum thing: Can't find 'mark as solution' button in the forum
wbmnfktr replied to joe_g's topic in General Support
Edit your initial post's title and add a [Solved] or similar to indicate that the thread has at least helped you. That's how I do it. -
Find yourself a great dev environment you understand and can use to create a new ProcessWire instance super easy. This is key. Based on what I saw the most complicated part seems to be the registration/and what follows afterwards (which I of course can't see). You need to find out if you can do this with PHP and PW on your own, with some community modules or the LoginRegisterPro module from Ryan. Everything else seems to be basic content with an advanced structure. Maybe some specials for logged in users but this should be quite easy to do the moment you have that registration part set up. Depending on how fit you are with programmig and PHP a little crash & burn session over the weekend should be a great starter for you to find the issues and questions you need to have answered to get your site moved to ProcessWire. I'm not a programmer, still I can do a lot. Sure, I need LoginRegisterPro and have to ask questions here and there, but ProcessWire is still the easiest tool I ever used for that. Nowadays maybe even use Cursor, Supermaven, Claude Sonnet, and other AI tools to assist you. Feed them the ProcessWire docs and you can get a great headstart. In the meantime: we are here and happy to help
-
Love that!
-
Well... those that live on/work with the dev branch have had quite more releases already. 😊
- 1 reply
-
- 1
-
Looking for an AI assistant for code? Consider Supermaven
wbmnfktr replied to gornycreative's topic in Dev Talk
Supermaven Joins Cursor 🤯 https://www.cursor.com/blog/supermaven https://supermaven.com/blog/cursor-announcement -
Is preload() already available in the DEV branch? I'm asking because the version is still 3.0.242. What would be the best way to really test the performance boost here? Need to try this in a recent project. Maybe we should create some kind of meetups in the US and maybe even in the EU next year. That would be fun.
-
There are several hostings I use: webgo - for about 6 years now for medium traffic but important projects. You can access everything via SSH, have Cron/CronLight, and some domains included. You can add external domains without problem and use them there. A feature almost noone else offers for free nowadays anymore. In case a client doesn't have hosting, I send them to webgo most of the time. Hostinger - yeah, it's something similar to Dreamh*st and such, but the price for a 4 year contract was super cheap and I can test new projects there. They have CI/CD, SSL, SSH, and whatever. Features are plenty, performance is okay most of the time. Hetzner (new) - needed a bit more oomph for a recent project and went with the CX22 vserver, installed Coolify and some other things, and everything works absolutely fine. Nothing to worry about even in case the traffic spikes or multiplies again. I really enjoy webgo because everything just works, I can put a lot of projects into my Business Plan there and add external domains without problems. It's my go to choice for email hosting (not for sending newsletters and such!). Hostinger is cheap and you can easily put 20-30 projects/proof-of-concepts on there to see if they are viable and move later on. Hetzner involves more work but the moment you enable auto-updates and things like that it should be ok to let it run. Hetzner is also great for Campfire or other self-hosted chat/messenger instances.
-
I know this now and some other tricks as well. Next time I'll use the tool from Chris Titus to get a custom ISO and go from there. It wasn't the fasted connection (50Mbit) but fast enough for tasks like that. I couldn't believe it took that long. Don't know why but to be honest I really don't wanna know. My best guess: Bloat. Tried it in a VM again and it took an hour or so to get up and running. That's life.
-
Funny thing happened this weekend... I have had the great luck and opportunity to setup a brand new Windows 11 laptop this weekend. And I must say a lot of things I hated in the past have changed significantly. I never felt so un-welcomed, [redacted] and hated things even more than ever before. It was a nightmare right from the start. I had to create an account with Microsoft, which didn't work at all and took about an hour to finish. The 8th confirmation code worked and the session didn't expire in the meantime. Wow! Then the fun begun. It started to finish the basic installation, installed a ****load of updates and created shortcuts/symlinks on the desktop to almost each and every programm you could imagine - even weblinks to the online version of Office365 even though the full version was already pre-installed. Then there was a clash between McAfee, G-Data, and another system tool. What a mix of bloat. After downloading around 6GB of updates for Windows itself, there were even more updates for various apps, firmware, and whatnot. From start to finish: about 6 hours! I had to go for a walk in the forest afterwards so I wouldn't end up as the main topic in a Breaking News/Sondersendung that day. I really don't know and understand how people can live with this kind of p00h. Ok, it was a consumer laptop and nothing a company would buy, but still this was a horrendous experience. Do normal users/consumers don't see this or is this the reason people hate computers that much? And why do 16GB of RAM on a Windows 11 machine feel like 4GB on a Ubuntu Gnome setup? That was the last time I ever touched a Windows machine. Even for family and friends. 😭 Side note 1: the hardware of that laptop is actually great and I would use the device, but not with Windows - for sure. Side note 2: took this sunday to re-install all my laptops with Debian 12.7 (custom DE/i3) and it took less than 2 hours in total.
-
I'm 99% sure there is no module or editor available that works like that - but a Markdown WYSIWYG would be a great addition. About how many pages are we talking here? In case the number is way lower than 100 pages, a large strong coffee and a nice playlist would be a great start to copy everything over manually. If that's not possible or if there are more pages, you could try to update a real HTML field (TinyMCE nowadays, and not CKEditor anymore). In general this could work like this in a loop: // this duplicates the content in fieldname1 into fieldname2 for all pages with // the template called: templatename $source = "fieldname1"; $destination = "fieldname2"; $template = "templatename"; foreach($pages->find("template=$template") as $p) { // set outputFormatting to 'false' so the plain value is copied $p->of(false); $p->$destination = $p->$source; $p->save($destination); } See: https://processwire.recipes/recipes/duplicate-content-between-fields/ In your case we would need to tweak it a bit more and get the generated HTML first, then drop it into the new $destination field and go from there. BUT... from that moment the client should only be using the CKEditor/TinyMCE field and no markdown anymore.
-
In case you have no plans on the weekend: https://processwire.com/docs/tutorials/ The tutorials are awesome and a great starting point. Let's say you know a bit about programming, the absolute foundation of if/else and echo/return, and a bit of HTML/CSS/JS... you could be up and running within a weekend. That's how I got into ProcessWire and started loving it.
-
Latest find (and heavily on repeat) - and foundation for my new found love for Vaporwave and LoFi: EP-133 KO II Vinyl Sample Hip Hop Beat (Nina Simone record) Another nice and chill mix: Kater Carlo - TechHouse 08.2024 KaterCarlo A bit (way) more expressive but great for late night sessions: CLOUDY F2F KUKO
-
That's a great outlook and scope for this module I can wrap my head around. The ProcessWire way of doing things is great, yet the heavy lifting is done by the module already - see mollie and parts for cart and checkout pages. I will have to look into this again for sure.
-
Ok, this already answers all my questions. And yes, that makes sense. Using mollie already seems to be everything necessary - as they provide access to/through all major credit cards, Apple and Google Pay, and PayPal as well. Big plus: they are from the Netherlands, therefore EU. I was worried I had to connect PayPal, Stripe, and/or similar on my own. But with mollie... 👍🏻 Just another question: At what point would you consider RockCommerce be useful for a project, at which amount of products or what sales volume per year? Asking for clients like small barber shops and similar, or a fitness coach with sport courses?