Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. Yesterday
  3. Hey @bernhard, I have used AdminStyleRock multiple times and also really liked being able to adapt it to a client's corporate design in no time. I am (as usual) really busy at the moment, but willing to at least give some input (if you want me to). The main problems I see with AdminStyleRock are the ones that I also have with the standard AdminThemeUikit. Many of my clients have complex forms in the backend and while the general theme is simple and quite minimalistic, UI elements take a lot of space, editors have to scroll a lot and that is something that makes up for a bad user experience. A good backend should feel like a tool that supports you in doing your job as efficient as possible. For me and a lot of clients AdminThemeUikit never felt this way, the Default theme, however, feels outdated. AdminThemeUikit might be fine for a simple blog page or forms that consist of only a few fields, but for more complex things I still prefer the default theme. I would love to have more configuration options in AdminStyleRock that make it easy to not only adjust colors and maybe how shades are calculated (could be nice to have, if you want to adjust contrast or the general feel of the style to an existing corporate design without overcomplicating things), but also be able to adjust margins and paddings (or choose between 2 or 3 optimized and battle-tested variations) to be able to create a more compact/dense/tool-like experience. I hope, that makes sense? If there is no pressure involved in the development and sporadic feedback is appreciated, I'd be happy to help. I should be able to join in on Friday, but me and my family are struggling with Covid at the moment, so don't be mad if I have to cancel it last minute. Flo
  4. @bernhard @dotnetic Thanks for your replies! In my current project I followed your advice and now work with a local ddev, a staging server and a live server. Currently I still have no automated scripts yet, but working with the command line (wsl2, ddev and ssh) works really good. Also, I mostly got rid of large ftp uploads, using rsync. Working with that tools feels better every day 🙂 But when trying to copy the local ddev website to the staging server, I got stuck. I exported the database with ddev php RockShell/rock db:dump, uploaded it via rsync. connected via SSH and tried php RockShell/rock db:restore on the server. But as the ProcessWire database tables were not present at this point yet, RockShell/rock returned an error message. So I had to fall back to Adminer to import the SQL file. What would be the right way to copy a locally developed website to a staging server with RockShell?
  5. I've experienced similar problems and didn't have time to investigate, so I'm also interested in a solution! Thx for bringing that up! 🙂
  6. Is there any way to adjust the position of the TinyMCE toolbar when using the front end editor? As you can see from the picture, it overlays the text I'm trying to edit.
  7. Hi @Chris-PW thx for your response! I think what you say makes sense! What about doing a video call on Friday? I'd be available from around 10:00 - 17:00 @ vienna. Anybody wants to join the discussion @dotnetic @gebeer ?
  8. Thanks Ryan, So there is nothing wrong with any module or js, or anything with processwire. The sysadmin started changing the settings in nginx. The message doesn't stem from cookiebot, it comes from an nginx error, from him adding an exception to cookiebot. False alarm, but many thanks for the help. It was a sysadmin that didn't update us others 🙂
  9. @joe_g It looks to me like you've got an autoload module that's injecting scripts into your admin (a cookie content module or SEO type module?). Such a module should only be injecting scripts into the front-end, and not into your admin. So I would identify what module is doing that and stop using it, or update it to only load on the front-end. It you can identify what module it is, let me know and I can suggest what to change about it. Likely it's just a change to 1 or 2 lines.
  10. Thank you both for your quick responses! Things started working again. I think what happened is the sysadmin was messing with CSP settings in nginx without telling anyone, causing a slight panic. In the mean time i got this screenshot from Brave that makes no sense at all. It's complaining about GTM and Cookiebot, that I load on the front end (but not in the backend, I suppose?!?) to be continued - thanks again! It's nice to know it's possible to get help in these cases. I'll update as soon as I know the full story.
  11. Actually that site does not work 😄 I chose AT first, then visited https://www.siemens-healthineers.com/at/clinical-specialities (AT), then changed back to DE-CH https://www.siemens-healthineers.com/de-ch/clinical-specialities and there all menu items lead me back to AT 😛 Such a complex project/setup combined with a sparfux/quick-and-dirty solution sounds like trouble in the long run 😉 It sounds like this project is one of those where all the time and effort that you put into it upfront will pay off later.
  12. These are some good inputs, thank you @bernhard. I'm evaluating all options with my customer. Also on board is the option «Sparfux» where I ask users to choose their country and language in the menu and then simply add an url parameter like ?home=fr. If I learn how to build modules one day this could be my first project =D By the way, here's a good example of what I'm talking about (Switzerland has two options ch-de and ch-fr, Austria has none = at): https://www.siemens-healthineers.com/de-ch
  13. @joe_g In addition to what Bernhard mentioned, I would figure out the location of the prepareInjection.js file at the top of your JS console. That looks like a React file, and I'd wonder why it's loading here. Perhaps it's coming from some module? You should be able to click on it to identify the location, or view your Network tab and find it. You might see it coming from some site/modules/ModuleName/ directory? If so, try temporarily disabling that module to see if that's the issue.
  14. Try visiting the site with incognito mode of your browser. Does it show the same behaviour?
  15. Hi all, I had this happening on a clients site today. The CMS doesn't show and there is some js errors. There hasn't been any code changes, or changes in general from what I know. But I suppose something must have changed. Not sure where to start figuring this one out, any ideas are very much appreciated!
  16. I want to pursue this further and get involved. Unfortunately, I have so much to do both personally and professionally that I don't think I can do justice to you and your goal. But maybe I can join in, even just a little, if you want. Uikit is great and I have used it several times. But there are a few things I don't really like about the base. For example, the very light shade of gray that can also be found in the menu in your style. This is not barrier-free (is that how you write it in English?) nor is it user-friendly. Maybe it would be better to mark a hidden page in the menu differently. Maybe better in the PW admin page tree with a meaningful icon or background color. The UIKIT docs have the same problem. Only the active page in the menu has enough contrast. The color tone for (disabled, muted, etc.) in conjunction with the typography, which is then also used for the background, would have to be separated. Light gray as a background color yes, but not as a color for text elements. I think it should be more “form follows function”, especially in the admin area. But it doesn't hurt if it looks good too. With the “normal” PW Admin, I find it better that a few more colors are used than just one primary color. Especially for buttons “Edit”, for example, could be green and the rest dark gray. What would it look like if a customer had a very light pastel color as their primary color? Then it doesn't actually work or the admin would have to completely invert the color. This could possibly even happen automatically using color values. If the contrast of the primary color is not enough, dark mode is activated automatically. With a medium color as the primary color, it becomes difficult to make this decision again... There are still a few things that come to mind, but perhaps the above is something for a basic collection of ideas for an optimal admin theme. Maybe we can talk about it directly in German when we get the chance (Google Translate is also my friend here when I write). But now I have to keep working... Many greetings and thank you very much for everything you do here. I enjoy reading it and following what the „PW-DEV professionals“ are doing here.👍😀 Chris
  17. Hi @bernhard, it works for me when copying and pasting the link into WhatsApp on the iPhone. Armin
  18. We've just launched www.kollar.at and I'll share it in the showcase soon, but on all my latest websites I have the problem that WhatsApp will not grab the preview image from the og:image tag 😞 I've tried several things, but nothing seems to work. The strange thing is that facebook grabs the image correctly and on older websites I'm using the same tags (at least I think so) and it works. This is how it looks like in the facebook linter: This is how it looks on whatsapp: This is how it should look like (from another project of mine): What I already checked: The image is publicly accessible The image is at least (exactly) 1200x630 The image has < 300kb It's not a caching issue - I've tried ...?v=1 etc I've asked my AI and it didn't see any problems with the markup As you can see in the screenshot the page description does also not show up. I'm using ProCache, so I'm wondering if the minified markup might be a problem? If anybody has ideas and can help I'd really appreciate that!
  19. I have the same problems with these large German providers and my conclusion is that Strato and Ionos (1&1) are not ideal for this. This applies to both hosting offers and V-Server offers. Strato support doesn't take care of anything, at least for me, even if you pay extra for it. Maybe someone has had better experiences. My solution so far is to perform the update manually via SFTP. But that is also the recommendation that I read somewhere in the PW forum and in the documentation. https://processwire.com/docs/start/install/upgrade/ With Strato it is also important to use caching, otherwise there will constantly be errors regarding simultaneous database access. I only had this problem with Strato and have often complained about it there without success. But maybe someone still has a solution to make it easy to do it using the upgrade tool even with such providers with restrictions...
  20. I believe it could be a problem with the Hosting Service and the security settings applied by them. Let me explain: I have a lot of clients where I update the ProcessWire Master with the Upgrades module without any problems. Upgrades of ProcessWire Master and Dev Versions, including the latest versions, are show on the Upgrades page. But there are also some clients, who use the German Hoster Strato.de. Maybe it's something with the Hosters security settings, but I never see any Updates regarding the ProcessWire versions? I can only see possible updates of modules. So I always have to udpate manually by FTP.
  21. Last week
  22. Hello, The pw-replace must be in template-file.php and the id in _main.php. Documentation.
  23. hi there, when useing markup regions, having config.php $config->useMarkupRegions = true; and in _main.php <div pw-replace="wegdamit"> <p>Text to replace</p> </div> and in template-file.php <?php ... ?> <div id="wegdamit"> <p>Hello World</p> </div> the output is the printed source code of _main.php as first on the page: /** * _main.php * Main markup file * * This file contains all the main markup for the site and outputs the regions * defined in the initialization (_init.php) file. These regions include: * * $title: The page title/headline * $content: The markup that appears in the main content/body copy column * what am i doing wrong? ProcessWire is 3.0.224
  24. Thank you very much, Bernhard. This DefaultPage class will be very handy for a lot of stuff !
  25. You can either use hooks: <?php $wire->addHookMethod("Page::thumbnail", function(HookEvent $event) { $event->return = ...; }); Or even better you use custom page classes (it's really easy thx to pw!) and there you create a DefaultPage class that adds your method: <?php namespace ProcessWire; class DefaultPage extends Page { public function thumbnail() { return ...; } } Then you just make sure that thumbnail() always returns a PageImage object and then in all your templates you can do this: echo $page->thumbnail()->size(100,100)->webp->url; And it will automatically render either the custom or the fallback image. Check out https://processwire.com/blog/posts/pw-3.0.152/#new-ability-to-specify-custom-page-classes for details
  26. Hello all, For my current project, each page have an image called thumbnail used for various purposes. If the thumbnail is not provided, I have a fallback image. So on almost each PHP template, I have the following code at the beginning: $thumbnailUrl = $page->pageThumbnail ? $page->pageThumbnail->size(1920, 400, ["crop" => "center"])->webp->url : $pages->get(1039)->configDefaultImage->url ; To avoid repeating that on each page PHP template, what can I do to generate, for each page, something like $page->thumbnailUrl automatically? Do I have to use a hook ? Thanks guys for your help Cheers Thomas
  27. I'd like to introduce you to my newest employee: Devin
  1. Load more activity
×
×
  • Create New...