Jump to content

AndZyk

Members
  • Posts

    699
  • Joined

  • Days Won

    10

Everything posted by AndZyk

  1. What will happen to developer directory?https://directory.processwire.com/ It is not mentioned anymore on the website but you can still find it on Google. You cannot login anymore. At this point I think it should either be deleted or relaunched. πŸ˜† Regards, Andreas
  2. Is it possible to change the color of links in the new admin theme? I have set a new main color in the module settings and in the admin.css with --pw-main-color, like recommended. But the links of modules or the login screen have still this styling: a, .uk-link { color: #e83561; text-decoration: none; cursor: pointer; } There seems to be no CSS variable. Is this intentional? Regards, Andreas
  3. Congratulations to the new website. πŸŽ‰
  4. Captured on iPhone 8 Safari (yes my phone is old) The navigation has issues and the page tree could look more compact. πŸ˜‰
  5. Hello @ryan, I meant the headers of repeater items. For my taste they are to subtle in the new admin theme and should be styled more likes button, as they were before. They contain most of the time the most content in my case and therefore should be styled more important. Regards, Andreas
  6. I have tried to customize the new admin theme and here are some of my impressions: Pros Easy to customize colors with CSS variables Light and dark mode styling No extra module for customization Cons Only a set of colors can be customized easy You cannot customize for example the global font family, font size and everything else easy as with the Less module. For that you need !important statements The inputs of repeaters have the same background color as every other input Currently I am mixed. Although I like the improvements and appreciate the new direction, there is a trade off in the customization of everything else other than colors. I like to style the font family, font size and other aspects as well. But probably I am the only one doing that. πŸ™ˆ But as always thank you for everyone involved in improving the admin theme to make it more modern. πŸ‘ Regards, Andreas
  7. It never bothered me, but now that you mention it, I also would rather prefer a more classic login form. πŸ˜„ Source
  8. In my opinion this would be bad for usability. πŸ˜‰
  9. First of all thank you to everyone involved in making this new admin theme. This is a really good looking admin theme. πŸ˜€ I have not tested it very well, but one small issue I noticed: When you tried to assign a tag to a field, there seems to be an z-index issue with the autocomplete results: Keep up the great work. πŸ‘ Regards, Andreas
  10. Thank you for your suggestions. I will have a look at them. πŸ˜€
  11. Maybe I am late to the party, because everybody is using AI for coding already, but I just wanted to mention: If you have a GitHub account and use VSCode for developing, try out the GitHub Copilot extension. πŸ˜€ https://code.visualstudio.com/docs/copilot/getting-started I have installed it a while ago and thought that I would not really use it, but recently I find it quiet handy. So far I only used the AI-powered suggestions, but its scary that the suggestions are mostly like I would code it. πŸ˜…
  12. I guess that YOOtheme probably will implement CSS variables with UIkit 4. Here is an open issue for ideas and suggestions for UIkit 4: https://github.com/uikit/uikit/issues/3967 Yes, there is one partial file for variables, but I don't think you can easily change every variable to a CSS variable. Some variables use for example darken() and lighten() which I think don't work with CSS variables. I have tried it once, for some variables it is possible but for most not. One simple enhancement I mentioned several times over the years would be to include the CSS source map in the AdminTheme. But it seems that I am only one with this wish. πŸ˜…
  13. Hello @sharpweb, I am not sure if really somebody tried to attack your website, but if that happens again maybe this commercial module could help. πŸ˜‰ https://processwire.com/store/pro-dev-tools/wire-request-blocker/ Regards, Andreas
  14. Hello @nclm, if your services page has no template file, you could put this in your _init.php: if ($_SERVER['REQUEST_URI'] == '/services/') { session()->redirect('/', 301); } Source: https://processwire.com/api/ref/session/redirect/ If your services page has a template file, you could put this in the template file: session()->redirect('/', 301); But it would only work with a hidden page. Regards, Andreas
  15. Thank you for your explanation @virtualgadjo. πŸ˜€ My preferred structure looks like this: Blog (template blog) Post 1 (template post) Post 2 ... Categories (template categories) Category 1 (template category) Category 2 ... Tags (template tags) Tag 1 (template tag) Tag 2 ... The templates categories and tags have no template file, but category and tag have one. The templates blog, category and tag have pagination enabled. The post template hast two page reference fields: Category (single selection) and tags (multi selection). This way there would be urls like: blog/post1 blog/categories/category1 blog/tags/tag1 My structure would not allow for a post to have multiple categories and disconnects tags from categories. Also I try not to use URL segments. That would be the main difference between your and mine structure. But of course there is no wrong or right structure. So everything is possible. πŸ™‚ Have a nice day.
  16. @virtualgadjo Maybe I am missing something, but your structure and the first structure achieve exactly the same result. The only difference is your structure uses one template (blog-index) with URL segments and the other one would use three templates (blog-index, blog-cat-index and blog-tag-index) and no URL segments. I used the first structure (all inside blog with two page reference fields) many times with no downsides. So what I want to say: It is just a matter of preference. ✌️
  17. Hello @Alpina, if your template blog-post has a date field and the other templates (blog-cat-index and blog-tag-index) not, you could sort the children of your template-blog-index by that date field. Then the blog posts should be always before the categories and tags. You can sort them in the template settings of your blog-index template under the family tab. That is how I like to do it. You could also use a system date fields like created or modified, but then the categories and tags could get mixed in the sort order. Regards, Andreas
  18. You have to look in the ProcessLogin module settings. You can find it in the core modules or with the search function. πŸ˜‰
  19. Hello @DrQuincy, have you tried this: Source: https://processwire.com/blog/posts/pw-3.0.159/ Regards, Andreas
  20. Thank you for the update. ❀️
  21. Hello @adrian, today I setup a fresh PW install with ProcessWire 3.0.245 and of course Tracy Debugger 4.26.60. Now I don't like to have always the full Tracy bar expanded when I do simple stuff, so I hide the Tracy bar with the "Hide Tracy" button in the right corner. Today when I use the "Hide Tracy" button the Tracy bar gets collapsed as expected, but when I reload the page it is completely hidden. It seems that the #tracy-show-button has "display: none" as styling. It seems to be a console error in this line: document.getElementById("tracy-show-button").style.display = "block"; Uncaught TypeError: Cannot read properties of null (reading 'style') at hideDebugBar ((Index):204:240) Can somebody reproduce this? Regards, Andreas
  22. I am on a Mac and make a daily TimeMachine backup. For my local server I use MAMP PRO and make snapshots that I upload to the cloud every few months. I export the newest database backups with TracyDebugger Adminer when I have to update a website. In the past I used the Database backups module but now I prefer Adminer.
  23. Happy to hear you found the issue. πŸ˜€ You could consider indexing the pages with a Lazy Cron or a cronjob.
  24. Hello @tires, have you tried looking in TracyDebugger if there is an error? Do you use hooks or special modules? The amount of subpages should not be an issue in my experience. Maybe there is something else going on. Regards, Andreas
  25. Hi @olivetree, my preferred structure is one template blog or news which contains children with the template post. Inside this tree I have two trees for categories and tags. Every post has two page references fields to reference one or multiple categories and tags. So it would look like this: Blog Post 1 Post 2 Post 3 ... Categories Category 1 Category 2 Category 3 ... Tags Tag 1 Tag 2 Tag 3 ... You could also use URL segments for shorter urls, f.e.: blog/categories/category1/ => blog/category1/ You can also enable a pagination or comments. Of course you can choose a different structure if you want to. πŸ˜€ Regards, Andreas
Γ—
Γ—
  • Create New...