Jump to content

wbmnfktr

Members
  • Posts

    2,234
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by wbmnfktr

  1. You could also use either of these methods/modules: Module Menu Builder - create custom menus, including external links. You decide what will be in it. Module Jumplinks - just create the pages you want and create redirects within Jumplinks (/old/path -> https://wherever.test/). It's easier and it handles more than redirects - like 404s and counts every click on your redirects.
  2. I kind of like it as we set things up there. A few years ago I didn't like the global use of page for absolute everything and the menu label setup... but nowadays it feels weird to have a global settings page/area as in WordPress or things like posts and pages. Maybe you can add your SnipWire (page) into the navigation bar next to setup somehow. And as far as I know is your module quite huge and almost a standalone version of ProcessWire... it would make perfectly sense to add it to the top bar. Disclaimer: yes... I'm sometimes weird, confused and do things differently.
  3. So it sounded great. ? Yes... indeed.
  4. Maybe I need glasses now but... what on that site and the editor looks awesome? I can't see anything special. Not even the real input and/or block type selection dialogues. I'm confused... ?
  5. Timezone related things... not as far as I know. Regarding your mail settings it depends a) on your server configuration or b) on the module you use for it. I guess you didn't install any further module related to mail sending/delivery so you want to take a look at WireMail: SMTP in which you can define everything necessary for sending mails.
  6. Well... why don't you rename your module to ZekaProcessDashboard?
  7. Time/Timezone/Area... Had a similar "issue" a while back while using a US hosting company instead of a german company. Had ~8 hours difference (if I remember correctly). Another thing might be mail scheduling and/or routing - as in "the server needs to figure out how to send mails". TL;DR Timezone settings Mailserver/SMTP settings
  8. You will need: ProcessWire (of course) ProcessWire ProCache ProcessWire Modules as you like and need Netlify Account (in my case, you can use any other hosting or Github pages) Git Account (Gihub, Gitlab, Bitbucket) ScreamingFrog (free version should fit most needs) Things to keep in mind FormBuilder will not work (out of the box) 40x/50x must be defined separately Redirects must be defined separately Module-based functionality will not work GDPR/Opt-in/Cookie consent must be added differently Avoid using core/module files (UIKIT, jQuery, CSS, etc.) Where to save files and how to address them Most content and design related files can be saved in ProcessWire itself. Logos, favicon, trust icons and whatsoever. Some files can't be stored in ProcessWire - or shouldn't be stored in it - fonts and sitemaps (XML) in my case. While developing the overall site always use relative paths and URLs. Fonts and other assets need to be addressed by their web-root-based path (/site/templates/myassets/font.ttf and so on). Internal linking should be relative as well. Otherwise you have to change those link URLs manually which is PITA. Which files to copy and where you find them As we use ProcessWire we want and should use everything we can to make our webdev life easier here. Let ProcessWire and some modules do the work while harvesting the results for our benefits. While ProCache takes care of generating minified CSS and JS, SEO Maestro generates a nice and handy sitemap.xml. Depending of your installed modules you want to (at least) double check the output and results in your static site. As already mentioned FormBuilder and Simple Contact Form will not work, 404 management and redirects by the awesome Jumplinks modules will not work, too. Instead you have to create your very own .htaccess file with all redirects and error documents. Other modules like MenuBuilder, SEO Maestro and some other modules do a pretty good job even in your static site as their benefits result in already rendered HTML/pages. Autolinks, Automatically link page titles and Share buttons are some modules that will work as well. While it didn't work for me it may work for you - the Cookie Management Banner module. I had some issues and decided to install and use Cookie Consent manually. The Workflow First of all build your site. Make it perfect. Do whatever you or the client wants or needs. Whenever possible look into your rendered HTML and cached pages. Take a closer look at all the URLs and paths. It's already a good idea to run ScreamingFrog and find out if there are any files missing, links broken or pages missing. When everything is done, clear all cached files, all minified JS and CSS. Start a ScreamingFrog session and let it run. It will visit each and every page on your site it can find. Hidden pages, orphaned pages and of course drafts and pages behind JS-links will not be found and therefore cached by ProCache. Look into /site/assets/ProCache-XXX/ and /site/assets/pwpc/ now and double check that there are your pages and JS/CSS files. You will need those afterwards. If everything is fine you have to copy things around now. The Setup - folders and structure In my case the easiest way to go was setting up two local sites - one with ProcessWire and another one with the static files, assets and other things I needed. In the examples below only relevant parts are listed. project.pw.test (ProcessWire) /sitemap.xml (Generated by SEO Maestro) /site/assets/files/ (copy the whole path) /site/assets/pwpc/ (copy the whole path) /site/assets/ProCache-XXX/* (copy only the content of this folder - all files and folders) /site/templates/myassets/ (copy the whole path) project.sv.test (Static version) .htaccess (for redirects and 40x/50x error pages) 40x.html 50x.html /sitemap.xml /site/assets/files/ /site/assets/pwpc/ /site/templates/myassets/ all files and folders from /site/assets/ProCache-XXX/ As you can see there are only a few things to copy. When you're done with copying these files to the static version of your project, open it up in your browser. Check for missing files and test it. Let ScreamingFrog do the most work and check for any kinds of errors. Fix them in your ProcessWire-site and copy and test again. Check your 404s, your redirects and everything else you would normaly test. Create checkafterupdate.txt and write down whatever went wrong in your first try. This will be a great checklist later. The Final Step As everything is copied now and at its correct place you can upload it to your host. In my case the static version is a private git repository on github.com. I can commit and push my changes there and Netlify takes care of publishing the new version - most of the time within seconds. The benefit of using git - compared to S/FTP - you always have some kind of control if something brakes and you have to revert and check changes. In my case it's Netlify but you can use Github pages or any other hosting solution you want/the client pays for. Be careful with GDPR-related things as DPAs. You have to have them in most cases - Netlify did a great job here and I found everything I needed, while Github disqualified itself back then due to missing documents and kind of a sluggish support. Questions? Ask.
  9. On-demand mirroring of remote web server files to your dev environment ???
  10. Just a short additon - same topic, different thread: @elabx not often as in once a month or once a day?
  11. The weekend is fine. The only time I can do fun things like this. ? Maybe... in your case... take a look at /site/templates/errors/500.html That site will be shown if there are any problems with your database. I use this on "smaller" hosting solutions to prevent any issues. That 500.html can be customized a lot and therefore show an almost complete site if necessary. Contact forms don't work - or at least not out of the box - but at least a customized page shows up. Depending on how often those issues happen with your hosting, this might be a nice middle-way as it's already there. Regarding those "mysql administration things"... this shouldn't be your job. Maybe you ask and tell your hosting company about it and let them fix issues - maybe it's even better to switch to another company. In terms of ProcessWire and static sites... with the right setup it's super easy. You just have to jump some loops but after that it works fine. Depending on your OS you might need some extra steps. OSX, Linux are fine. Windows might need WSL/2 for this.
  12. If it's not that urgent @elabx I can write up my setup this weekend to show you the process I established for that project. I would consider git as the established bridge to get this done. Would that work for you? In total I think it's not that much of an overhead and for experienced PW users kind of a perfect way to create static sites. @ryan pushed me into this direction with one if his comments a while back. I tried it and played around with it. And to be honest... the outcome was quite impressive.
  13. As @teppo already mentioned: Procache or/and Cloudflare... but... If you really want to establish a static site, just use the pre-rendered files from ProCache and upload them to your host. Images/assets should already be present - to make things easier. In case of a Linux/*nix setup you might get it done with a few custom rsync/rclone/git setups to push only files that were changed/new. There is one site (a client site) I manage through ProcessWire locally, run ScreamingFrog to generate the static files and push all changes via git to the repository, which is than published by Netlify. Yes... there are a few steps involved but it's still way easier to go this way than everything else I know (Jekyll, Ghost, etc.).
  14. Watch out. More is coming! ePrivacy Regulation - kind of an update or maybe even upgrade to the existing GDPR. You might want to read about it at your local law/privacy blogs - trust only professionals in this case and don't look for answers on any marketing blogs, please. This regulation is long overdue and will give us new chances and possibilities to hit the desk with our heads. While it seems to be a good thing in some kind, like the GDPR, it might backfire as well and might hit the smaller ones once again.
  15. What a beauty!* I have seen some of these art pieces in the past and they seem to increase each and every day. Flip through those landing page gallery sites and dig into some of them. They often look pretty on the outside but later on when you look closer they aren't. At least not in terms of code quality. I call it the "Bootcamp Coding Style". Whenever I see those amazing examples they come in most cases from developers that did some kind of Web Development Bootcamp where they were taught "Do whatever is necessary!". So this example is even more frustrating. But those aren't the only ones. There are even more in the Wordpress/Elementor/Divi and webflow cosmos. Holy cow. * I can feel your pain. I wish more people would think about their frontend code more carefully like the guys from Stripe.
  16. Why is your website address http://localhost/mywebsite and not http://mywebsite.test ? Do all hosts try to connect to the internet? What happens when you disconnect your computer from the internet? What can be found in the network monitor (dev console)? Within my laragon setup I notice a slow first request - kind of a wake-up-call but that's it. And it only takes a second or two.
  17. Woah... Well... I don't use this word that often but... this is insane. In a very good and positive way.
  18. Is the favicon referenced in your HTML like <link rel="shortcut icon" href="/path/to/favicon.png" type="image/png"> or is it the last thing the browser does by looking in its default place?
  19. I have had MS Office 365 the last couple of years just for the storage of 1TB which turned out to be not more than 6GB which is super comfortable to use on Google's Drive option - even for free accounts. I made the switch to Google One in the last weeks to move company data there and well... now we pay 20 EUR/year instead of ~60 EUR/year and due to "welcome vouchers" can use everything vom G Suite as well for at least the next 2 years - which is totally fine. ? MS Office Online works pretty well on Linux but still not as good as the installed versions of Word, Excel and every other app provided by Microsoft. No matter which OS you use. Libre and Google Drive can handle UTF8 and everything Calc/Excel-related way better than Microsoft itself. Strange but true. Handling data within Libre or Google is way more easy than in any MS product out there. Even clients like the simplicity of it. To be honest... I miss XD a bit... but for now... I'm almost as fast in prototyping in HTML/CSS as in XD. Weird but it works and it's way more closer to the final result as in XD. I never used Sketch but XD is nice. My Surface still runs Windows 10 so if I ever feel the need of using any Adobe product, I can switch cables and use another device for it. For now... the switch to I3WM and some modifications (aaaaaaaa lot!) later I feel way more productive than all months and projects before.
  20. I'm almost there... Was a tough ride till this point but I guess it was worth it. Feeling more at home than on Windows or Mac the last few years.
  21. Therefore I used this in the past: https://processwire-recipes.com/recipes/change-homepages-default-language/ Maybe it works in your case as well.
  22. The last couple of days I re-invented the wheel (tried a lot of things, distros and setups) and there are a few things to consider when switching. While Arch (and all its flavours) has super new software packages, is/has a rolling release and a super helpful community (like ProcessWire) you may end in a dead-end in some case, for example: software packages from outside of the Linux community. There are lots and lots of AUR packages that offer things like Prepros, ScreamingFrog and Slack but they all feel a bit off and when there is an update it takes quite a while to build them. Ubuntu on the other hand is either LTS or a major version and software packages are sometimes a bit outdated (not as bad as on Debian but still) besides those packages third-party packages like those mentioned above are more often more reliable, more stable and faster to update. And to be honest... there are way more .deb files out there than AUR builds. And there is also support for Snap and Flatpak which is bloat but fine for some people. ? I tried Manjaro i3-gaps (community supported) and Regolilth (Ubuntu-based with i3-based WM) the last couple of days but for now I'm back on Ubuntu with i3. It feels way more solid and stable. And as my Ubuntu has Gnome too I can easily switch to it for the case I want to move windows around in a different way. ? The next thing you have to think about is the time to set everything up. Keybindings for i3, ranger, mutt, feh, vim whatever and those in VS Code. At least on a german keyboard those app-related keyboard shortcuts don't work out ot the box. Setting up a LAMP-environment on Ubuntu is done within 10 minutes while it takes way more time and effort on Arch (Manjaro). The benefits of this invest is huge nonetheless. As soon as you feel comfortable with i3 and switch to Windows or Gnome you feel kind of lost as you have to use the mouse for almost everything. Which is weird then. For now I'd recommend to install Ubuntu with Gnome/KDE for the inital setup and i3 later on. As soon as I'm ready with the new setup I will push a repo to Github with all my dotfiles and packages/apps I use. Update: a big issue as for now is font-rendering on Linux. Be careful with this as even webfonts will be displayed totally different than on Windows or Mac.
  23. That's why I'm here. ?
  24. There is PlayOnLinux which seems to support Adobe pretty well on some distributions. I tried it but was never successfull on Ubuntu, while others on Manjaro/Arch had more success. I'm in the happy situation that I only need XD and nothing else. If ever. I miss it on Linux but... it's not that kind of a show-stopper at all. But yes... having Adobe support on Linux would be really nice. To be honest... it doesn't work that well on Windows too. At least XD crashes at least 10x a day on my Windows 10 setup while doing only minor stuff in it. Life after Adobe - highly recommend.
  25. There is no need to run Windows or WSL(2). Back on Linux with my beloved X1 and the Ubuntu i3 setup. Amazing what you can accomplish when your setup is set up right. Totally weird.
×
×
  • Create New...