Jump to content

wbmnfktr

Members
  • Posts

    2,234
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by wbmnfktr

  1. Glad to hear that. Removed your projectname already.
  2. I looked up what is set here... folders: 755 files: 644 (config.php 400) Maybe that's too general as well but it seems as those are the only settings - at least I can't find only those permissions here. It matches the details written here: https://processwire.com/docs/security/file-permissions/#permission-755-for-directories-and-644-for-files - so I'm fine with that for now. Whenever I have the feeling I messed to much with those permissions I create a site profile, install it totally fresh and start from there. Doesn't happen that often but it happened. What problems are you facing right now and what errors/warnings show up? Maybe it's something totally different.
  3. I get this kind of error when... 1) I re-use a laragon www site name. If I ever used site name projectabc, delete it and use it again, I often end in database problems. So... if you already used it before, try another name. 2) I use protected names. I once had an older profile in which some field names were protected names. One was limit, one was modules and another one I can't remember. I looked into the install.php or install.sql, tried to find these fields, changed their names to something not-protected and everything worked well. 3) I have cached files in that profile. /site/assets/ has several cache folders and maybe even session folders. I don't know why but my profile had tons of these cached files. I deleted them it worked. Another thing... in install.php (if I remember correctly) is a flag which enables kind of a debug installations that only checks so you can find errors way easier.
  4. Maybe this helps https://processwire.com/docs/security/file-permissions/
  5. Just found this... https://github.com/neoclide/coc.nvim Maybe way to linux-ish but... that will work even on a poor SSH connection.
  6. That migration-thing is nothing I want to use a module for while syncing dev/test/stage/qa/live environments. I used to use Site Profile Exporter for the most part but once in a while - my own projects - I need a different way that just works of some kind I still try to figure out. But yes... I could and should give your module a try. Besides that... your wish of an independet environment is exactly what I'm looking for as well. Right now im tinkering on a old Thinkpad from 2008, an hour ago I was on a X1 and an hour before that I used my Surface... I wish I could just fire up or log in to whatever to have my dev-environment but actually I haven't found anything that really works. I thought about https://shadow.tech/ and installing everything on that system but still I'd need a fast internet connection which isn't always available. I also thought about slimming down my dev-setup that much that I could easily sync it as a package through Dropbox, OneDrive or any similar solution. VS Code is available as portable version but my Laragon folder is about 6GB which could be a show-stopper somehow.
  7. Wow... that video is old... but as I see it I remember things I have tried to do with Cygwin (https://www.cygwin.com/) a decade (or so) ago. Back to your question... I recently had similar thoughts and ideas and started trying things. Virtual machine Docker WSL (Windows Subsystem Linux) At first I installed Linux in a virtual machine (to save that cloud hosting step) which worked quite well. It ran stable and almost fast enough but even those tiny tiny lags annoyed me that much that I just stopped trying. If a virtual machine can't do it... how should it work via internet and via SSH or whatever? I would need a super fast 1Gbit line but all I get is just enough for Netflix. ? Haven't done anything with Docker yet but installed the WSL and play around with it at the moment. I try to find a workflow that involves my tools, Git (github or Bitbucket) and some kind of easy sync to my hosting-destinations. To be honest... I'm far away from a perfect or even reliable solution. Unless I have to update things in the database - SSH and git on my hosting is almost enough to get things updated within a minute or so. Local Laragon -git-> dev.devdomain.tld -git-> clientorprojectdomain.tld
  8. Are there any errors or entries in the logs? Any more details?
  9. Haven't used this in backends yet but sometimes those skeletons are pretty nice. https://codepen.io/oslego/pen/XdvWmd
  10. I don't want to downplay anything here but... how often do you all see FOUC in PW admin? I just started to look closer while admin pages load/reload... but to be honest... I see only some minor reflow issues here and there but nothing that annoys me. Right now I'm working on three different systems... local (Laragon) Remote (webgo) Remote (Dreamhost) While Dreamhost is remote and kind of slow only reflow issues appear on bigger pages there once in a while. No FOUC or something similar to that. Laragon and webgo are fast and those reflow issues are gone even before I really notice them. I don't use AOS, Tracy, Lister Pro or similar modules that may cause those... FOUC issues. Nonetheless... count me in for optimizing the backend to make it even better. Tested on: PW version 3.0.123 and 3.0.130
  11. General thoughts on this... I never installed Matomo into a subfolder on a ProcessWire website. Therefore I can't tell if this works out of the box or if ProcessWire tries to protect that folder in some way. I'd suggest installing matomo somewhere else - a subdomain for example. https://matomo.domain.tld/ - would probably be the easiest way here. After that tracking should work - unless you misconfigured Matomo or block tracking with DNT or the Ghostery extension. But... there is one thing I don't understand. You are saying "place the map in the template folders" - what map?
  12. I wouldn't call it a bug. It's more a one-time hiccup. Fixing it takes less time than thinking about it. Or in other words: I really don't care when this happens. I know that it happens. I know how to fix it. And I know it will fix itself with the next expired session. ?
  13. Ok... yeah, thats everything. Just log out/in and it will be ok. That's the easiest of all fixes I know for this.
  14. The menu... which part of it? Everything or just parts? I've seen it a lot of times that I have to log out and log in again to have a full translation.
  15. <div uk-lightbox> <?php foreach($page->images as $image): ?> <a href="<?php echo $image->url; ?>" data-alt="<?php echo $image->description; ?>"> <img src="<?php echo $image->width(120)->url; ?>" alt="<?php echo $image->description; ?>"> </a> <?php endforeach; ?> </div> I'd go this way. The first DIV shouldn't be in the foreach() loop. You also want to take a closer look at the different output strategies ProcessWire provides. You are using the delayed output method which can be confusing for beginners. Look at the direct output strategy instead. That's where my example came from. https://processwire.com/docs/front-end/output/
  16. So.... now it works. It was an easy fix. Remove the first/namespace line from your file and it works.
  17. Just installed the module, deleted compiled files, tried {these} {tags} in several places/templates but without success. I haven't read the whole post yet but I guess there is some small detail which is key to this feature.
  18. Windows 10 with Brave (Version 0.62.51 Chromium: 73.0.3683.103 (Official Build) (64-bit)) and Chrome (Version 73.0.3683.103 (Offizieller Build) (64-Bit)). It works in Firefox (66.0.3 (64-Bit)) and EDGE (latest).
  19. Just found this headline... Never mind. ?
  20. I have never used it but you could try to hook into the fields visibility via API in some way. https://processwire.com/docs/fields/dependencies/
  21. I like the concept and the cascade-type of navigation even though it totally confuses sometimes while clicking through the site. But that's probably just me. ? What I'd like to see - which would really help me to find my way through the site - a sitemap and a breadcrumb navigation.
  22. Just a quick thought... Create a date field add it to journal-entry field settings: Input > Default to today's date Output format: whatever you want Change journal-entry template settings to Advanced > List of fields to display in the admin Page List > {date} Create a hook that alters the page name based on the page's date field value right after saving or publishing that page. Add additional conditions to enable custom URLs/page names. Downside would be... you have to count the days somewhere else.
  23. Let's face something I had to deal with lately in a similar way. When it comes to things like payment, customer data and reliable processes that end in a contract of any kind... I need a solution and partner that is reliable and liable. Don't get me wrong here. I think you are good developer with lots of skills and experience but lets say someone uses one of these modules/profiles and there are critical problems with it. Either payments don't work properly in any kind, privacy flaws or whatever. Who is to blame then? Who is in charge? Where would you see yourself and your modules in this? a) Foundation/base for further development b) Full out-of-the-box ready-made solution c) Somewhere in-between I ask because of potential risks on your site. So it's absolutely not against you or your ideas but something I personally would be careful with.
  24. Your ideas sound more like complete site profiles or ready-made applications than modules. ? Which is fine btw. As soon as there are ideas in my mind I'll post them here.
  25. 1. Try rendering the menu without $options. $menu = $modules->get('MarkupMenuBuilder'); echo $menu->render('hauptmenu'); If the markup is fine then something within your $options doesn't work or 2. Look into your menu settings within the builder. There could be some settings too. I just tried it with version 0.2.5 (which seems to be the latest version) and my menu markup is fine.
×
×
  • Create New...