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,352 profile views

AndZyk's Achievements

Hero Member

Hero Member (6/6)




Community Answers

  1. Hello @SwimToWin, just out of curiosity: Is there a source for this statement? I don't quite believe that this makes any difference at all. Also you can already achieve this by using for example URL segments on your homepage: https://processwire.com/docs/front-end/how-to-use-url-segments/ You would just have to check the URL segment with the page somewhere else in the page tree. Regards, Andreas
  2. Thank you for the update. I am always using the latest MAMP PRO and didn't notice this issue anymore. But I also defined as workaround a own config variable "useWebP", which I set to false for my development environment. πŸ˜‰ <picture> <?php if ($config->useWebP): ?> <source srcset="path/to/image-webp" type="image/webp"> <?php endif; ?> <img src="path/to/image"> </picture>
  3. I had this issue on my local MAMP server for a while, when the new master version came out. But now it never occured to me again. First I also suspected the language pack, but now I think it might was a chaching issue. Although I had cleared all chaches. πŸ˜…
  4. AndZyk

    other CMSs

    Thank you, for linking to the post I was refering to. In my opinion "lack of interest" and "lack of expertise" goes hand in hand, but yes he showed willingness to support this feature on the PHP side. πŸ‘ I still hope, that the Repeater Matrix could be enhanced as layout builder, because many of us use it already and it has already the blocks feature. Also the layout builder feature was one of the most requested features of the community at the beginning of this year and was discussed a few weeks. But if it is too complex to enhance the Repeater Matrix, I can understand that. πŸ˜‰
  5. AndZyk

    other CMSs

    Hello @Fokke, thank you for the teaser of your module. I am exited to see more of it. Since @ryan doesn't seem to be interested in developing a layout builder solution, it is nice that somebody else gives it a shoot. If your teaser video is ready, feel free to mention me. πŸ˜‰ Regards, Andreas
  6. AndZyk

    other CMSs

    I was curious and tested out the new Blocks + Layout feature of Kirby 3.5 and here is my brief experience: The interface of the Layout feature is really nice and its fun to add or drag & drop blocks. If the Repeater Matrix would have such an interface, it could be a nice layout builder in ProcessWire. Also it is possible to add custom settings for each row, which makes it possible to customize your layout more. But currently it is not possible to switch the layout (f. e. from 3 columns to 4 columns). If you want to do this, you have to add a new row and drag & drop the blocks there. Also you cannot add custom settings to each column. This feature is currently in development. As for the blocks: You have a default set of blocks (Text, Image, Video etc.) which is nice and covers most of the content needs. Each block has its own snippet, similar to field templates. So you are free to customize the default blocks. Or you can create custom blocks with own fields. But you cannot see all fields of the custom blocks in the layout interface. To edit custom blocks you have to click on the block, which I think is ok in my opinion. In my opinion the Blocks + Layout feature is cool, but has its limitations at the moment. It is a nice mix of layout builder and customization. I wish the Repeater Matrix could be enhanced in this way. But I know that layout builder are no easy task. πŸ˜€
  7. Hi @Peter Falkenberg Brown, I think it should be: $page->getUnformatted('sale_date') Personally I have never used the $datetime->date()-function. I am using the plain PHP date()-function. Regards, Andreas
  8. Hi @sebr, 1. You could just uninstall the core module "Languages Support - Tabs". But this would disable all language tabs. πŸ˜‰ 2. Required fields should prevent you from publishing the page if not filled out. But I think it only works for the default language. Regards, Andreas
  9. I have tested it with the latest German language pack for ProcessWire 3.0.184. Thank you for investigating, I will also look if I can provide more informations. πŸ˜‰ Regards, Andreas Edit: This issue didn't occur after upgrading a few more websites, so maybe this was a caching issue after all.
  10. Thank you @ryan for your response. I made some tests and think that I can provide some additional informations to my issue: It is not the browser cache. Incognito mode or reseting didn't help. It is not another module. It was still there after disabling all third party modules. It happens after the upgrade from 3.0.165 to 3.0.184. It worked after upgrading from 3.0.182 to 3.0.184. It probably has something to with the language pack. I got no issue with the default language. The latest language pack (German in my case) still has this issue. So it seems, that something in the InputfieldTextTags module causes a conflict with the translation of language packs. I hope this helps, but as it seems that no one else had this issue so far and it happens only on my local MAMP server, this seems to be an isolated issue. πŸ˜‰ Yes, I have posted this issue on GitHub. It would be great, if this could be solved in the future, but until then I just avoid using the new InputfieldTextTags with Selectize.js. πŸ˜‰ And thanks again for the new master release. Reading through all the changes again makes you realize how much has changed since the last master release. Regards, Andreas
  11. Thank you for the new master version. πŸ‘ But after the upgrade from 3.0.165 to 3.0.184 I get an JavaScript error on the field editing page, which results in a blank page: Has anybody else this issue? I think I have to wait for the upgrade a little bit. Regards, Andreas Edit: Ok, this issue seems to only occur on my local MAMP PRO server so far. I try to investigate further. πŸ˜‰ Edit 2: By the way, I use to add tags to my fields and templates for better organization. The tags I add have usually capitalization like "Foo" or "Bar". It seems to be an issue with the newly introduced InputfieldTextTags.
  12. I think I will settle with the solution to set a "Name format for children" on the "Family" tab of the parent template. This way I can skip the "add page" step and still keep my "page-edit-lang-english"-permission. Additionally I hook into "Pages:saveReady" to set a nicer page name. If anyone has a nicer solution, I would be happy to hear it. πŸ˜€
  13. Hello, I have a user role "editor-english", which is not allowed to edit the default language "german" of a page. For this I have installed the "page-edit-lang-..."-permissions. This user role has the permission "page-edit-lang-default" disabled and "page-edit-lang-english" enabled. My problem is, that I want this user role to be able to add new pages in the non-default language only. But since ProcessWire requires you to enter the page title in the default language on page creation, it is not possible to add a page for this user role, because it is not possible to enter a page title in the default language. I think the only way for me would be to set the page title in the default language with a hook before the page is added. Could somebody please tell me which hook that would be? I only tried "Pages::saveReady" so far. Or is there an other solution? πŸ˜‰ In my opinion this is an issue which reduces the use of this permission. Regards, Andreas
  14. A variable is something you store information in. It could be a string, an array, an object or something else in PHP. This is basic PHP knowledge, so maybe you should take a PHP course first. πŸ˜‰ In my example the variable was just for demonstration that you could pass variables with the wireIncludeFile-function from "file-a.php" to "include-b.php". But you don't have to use it at all. The only difference is to write wireIncludeFile instead of include. Here is a comparison: <?php include("path/to/partial.php"); wireIncludeFile("path/to/partial"); But you can use the include-function if you want to, its just a matter of preference. πŸ˜‰ Regards, Andreas
  15. 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. πŸ˜€
  • Create New...