Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


AndZyk last won the day on August 9 2020

AndZyk had the most liked content!

About AndZyk

  • Birthday 09/12/1987

Profile Information

  • Gender
  • Location
    Furtwangen, Germany

Recent Profile Visitors

4,162 profile views

AndZyk's Achievements

Hero Member

Hero Member (6/6)




Community Answers

  1. I prefer wireIncludeFile because of these points described by Ryan in his blog post: The foo variable is just an own variable you can pass and use in the included file. This way you can keep track where you added variables. Of course Markup Regions are also awesome and I like to combine Markup Regions with wireIncludeFile. I use Markup Regions for the whole blueprint of the templates and wireIncludeFile to split up large junks of code. Occasionally I use field templates for repeating fields markup. ProcessWire offers many ways to structure your code if you want to. πŸ˜€
  2. Or you could use the wireIncludeFile-function of ProcessWire. I prefer this over the PHP include-function. πŸ˜‰ <?php wireIncludeFile('path/to/partial', [ "foo" => $foo ]);
  3. Hello @cabrooney, repeater items have their own system template: You should be able to find them and sort them like this: $zeit_start = strtotime("2021-12-01 00:00:00"); $zeit_end = strtotime("2021-12-31 00:00:00"); $terminliste = $pages->find("template=repeater_termin_repeater, termin_datum>=$zeit_start , termin_datum<=$zeit_end, sort=termin_datum"); Maybe you have to add "include=all" too, if the selector doesn't find anything while you are logged-out. I am not sure if that is necessary. Regards, Andreas
  4. I have only used Webflow a few years ago to try some animations, but since they have their own Webflow CMS solution, I don't think they would allow external sources. πŸ˜‰
  5. When selecting an existing tag in the field settings the capitalization is ignored and a new tag will be created. For example, I have added the tag "Content", select it in the settings and it makes a new tag "content". I think this should be fixed. Regards, Andreas
  6. Thank you for making it easier to style the admin theme. This is way better than building it every time with node. πŸ˜€ Is it possible to provide also a source map file in addition to the css? I like to search for the variables with the developer tools and this would help me a lot. I know I can look through the admin theme style, but for example the reno theme uses many own variables instead of the UIkit variables. Regards, Andreas
  7. The Architekturforum Freiburg sees itself as a regional platform for information and exchange about architecture, urban planning, landscape architecture and building culture. On the website you can register for events, view presentations or become a member. The website uses UIkit as framework and Workbox for the PWA. architekturforum-freiburg.de Features: Dynamic primary color Structured data Dynamic primary color The events are grouped in programs and every program can have its own color. For this I used the awesome module Color. I defined a fixed color palette, so that no ugly colors could be selected and I worked for the first time with CSS variables. With CSS variables you are more flexible than with f.e. SCSS variables and can change the primary color for the whole website on the fly. This is used on the detail page of events with a different primary color. Structured data It was important for me to provide the correct structured data for the events. Since the pandemic they have been enhanced for online, offline and mixed events. Modules used: Repeater Matrix Form Builder Functional Fields Map Marker ProCache Upgrades TOTP two-factor authentication Tracy Debugger Color Sitemap Email Obfuscation (EMO) Regards, Andreas
  8. Hello @fruid, I don't understand why you would like to disable drag in the slider and I haven't looked at your JavaScript. But if you want to jump to a slide with a link you could always add a link link this: <a href="#" data-uk-slider-item="1"></a> So you could link the slider item to itself for example. Or you could build two sliders, one visible on desktop and one visible on mobile. Thats more markup but no duplicate content for search engines. πŸ˜‰ Regards, Andreas
  9. Thank you very much @MoritzLost. This scripts works perfect. πŸ˜€ I have put it in a shell script to run it for all pages and modified it a little bit: Added a foreach-loop for all pages Only create folder if there are images Added timestamps to see what the shell script is doing I looked first in this module, but it only exports the pages as JSON without assets. The assets only get downloaded when importing. So this use case wasn't covered yet, as far as I know. πŸ˜‰ I love this community. 😍 Regards, Andreas
  10. Sorry, I should have explained myself better in my first post. I would just like to export the assets and group them in folders with the name/title of the page they are used in. It is just for organizing the archiving the assets, because many are only available in the CMS right now. So instead of folder β€ž1234β€œ, β€ž2345β€œ etc. with the assets for page β€žFooβ€œ, I want one folder β€žfooβ€œ with all the assets of this page. Thank you, your script seems to go in the right direction. πŸ‘ Could you or somebody else please help me with this? Regards, Andreas
  11. Hello, we have many projects as pages containing images inside regular image fields and repeater matrix elements. Now we would like to organize our assets. ProcessWire saves assets with id as folder name and makes separate folders for repeater matrix elements. Is there a way to collect all assets of one page and export them in a folder with the page name/title? I think I could achieve this by using the command line wget for this website or maybe by a hook. But maybe someone has done this before. πŸ˜‰ Regards, Andreas
  12. Hello @eelkenet, I had that issue on my local MAMP server, when this feature was introduced. I tried this config option, but for me it doesn't work at all. Is it mandatory to edit your .htaccess? Because strategies 1 and 2 didn't work for me, I use strategy 3 with an own config variable ($config->useWebP) and disable WebP on my local MAMP server. Regards, Andreas
  13. I know this is nit picking, but you could also validate the HTML for your responsive images: https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.dothiscookingthing.de%2F Many people don't care about HTML validation, but I find it important. πŸ˜‰ Regards, Andreas
  14. I would recommend using the third WebP strategy for that. πŸ˜‰
  15. Sorry for my late response, I am more interested in other things right now. There are some great discussions about layout builders at the moment, that I have to catch up and I find it great, because all those new API methods and modules are great, but for me more important is how content can be more flexibel for clients. πŸ™‚ Since you want to here my opinion on this topic: This demo is looking great for a proof of concept and funny thing is, that I had to work with the YOOtheme builder on a WordPress website a month before and thought myself: This is a nice layout builder. Especially how you can make new sections with grids, duplicate them and so on. And all with a live preview. 🀩 One downside was, that you have some many options in the YOOtheme builder to build your own layouts, that it can be confusing some times and you have to search for a few minutes. As for your proof of concept: It is really nice, but if the data would be stored only in the module, I would not use it. Because if something changes in ProcessWire (maybe in version 4) or you would not update the module anymore, I would have to migrate tons of data in the core fields again. I try to build websites with core fields only, that are still working in years and I had to work with projects before, where everything was build around a module that didn't got support be the third-party developer anymore. If it would be possible to combine the power of ProcessWire and its custom fields inside a layout builder field, where the data still would be there without the layout builder field, that would be awesome. So the layout builder would just be an enhancement of the existing structure, instead of the whole structure. I think I will wait for Ryans take on this and you are probably still busy with Padloper 2, but thank you for this proof of concept. It is nice to have people like you, that are driving ProcessWire forward. πŸ‘ Regards, Andreas
  • Create New...