Jump to content

Ivan Gretsky

Members
  • Posts

    1,497
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by Ivan Gretsky

  1. I did try it with the updated class names. Sorry for not mentioning that. But that did not help ?
  2. 1. Thanks, @BitPoet! I did install the dev version in a MyIsam db. It works! 2. This doesn't seem to work. I get an error Call to a member function set() on string. Am I doing something wrong? /* Change value for "fifth-row" in our field */ $p>-nativeField->set('fifth-row', new \JsonValue('datetime', time() - 3600)); $p->save(); 3. You gave example of how to set new values. Can you help with getting the value of a specified key and outputting it. 4. ...and adding new key/value fields to an existing set. 5. What are field type configuration options? Are you talking about setting a new custom type (for example, not just text, but email / phone) with its own customizable pattern checks and so on? That was exactly what I was about to propose. The other cool thing would be to use custom inputfields for types. Like Page Reference to get a comma separated pages list and store it as a string. 6. Another idea is the ability to limit the names and/or name/type combinations to a predefined set, so the user can only choose from the list, but not create new key/value pairs. I do understand, that this module is probably not your top priority, as it was here unchanged for a while. But just can't resist writing here all my wild wishes)
  3. Thank you, @BitPoet! While you're at it, maybe you'll have time to look at this issue? Solving it could make using this field possible for existing installations and therefore more common. I think this module deserves more attention and usage.
  4. I have just found this module and once again am astonished at the scope of interest and productivity of @adrian! Whatever I am looking for years after I started using PW he already has a module for written when I was just messing around ? This one is the great example. But the module is not as perfect as it could be. There is an issue (see above) that does not allow it to work as desired. I just added my thumbs up for the issue on github that makes the enhancement of the module (and custom hooks too) possible. Bumping this thread, so those of us working with multi-language sites could give their thumbs too to move the issue forward (it was waiting for us for a long time)) P.S. Multi-language support is one of the PW's selling points, so I feel proud making any step to improvement in this field)
  5. Good day, @BitPoet! I am looking at this field to implement custom properties for pages without a predefined schema, but so they can still be searchable by them. I can't think of a better solution, than this field. It really looks awesome! I need to fill those properties via API during import. I haven's spotted field API docs neither here nor on github. Did I miss them? If there aren't any, could you please share an example of reading from/writing to this field?
  6. Thanks! Looking forward for to see the video. I am sure that just looking at the list of available sections/components and Mystique configs can give me a lot of inspiration. And that part about automatic fields setup sounds magical. Is that base module or some of its parts open to read the code? Sorry, got too exited))
  7. Great job and write-up @Jonathan Lahijani! Could you expand a bit on the RM based content builder? Maybe even post some screenshots or even videos, if that is allowed by the customer. We had a great conversation about content builders in the beginning of the year. And you are a named expert in the field, so would love to read/see/watch anything more detailed from you.
  8. There is so much significant change in minor releases it seem to make sense. There was at least a couple of times I did try to download specific version of the core to mirror remote installation and it was not as easy as it could be.
  9. Good day! Thanks for the great module, @tpr! I've never installed it myself, but now got acquainted with it on a customer site, and see how much goodness does it bring! I think I spotted a little bug. I've got "Add language switcher to the admin" option from the Misc section turned on. It works great in general. But the multilang tab labels do not get selected the right way, when I switch the language. The contents of the field itself changes according to the selected language as it should, but the tab label does not (see the screenshot). The selected lang is Deutsch, the content of the "Titel" field is Uber (in German), but the field label is still English. Could you please take a look?
  10. @gornycreative, me and @fliwire are not teaching you how to do your modals. Both Unpoly and htmx are js libraries that help you (amoung other things) to extract a portion of markup that they receive from a ajax requests and paste it where you want it (in a modal). That way you do not need to alter the rendering, but can define which part of a rendered markup you need.
  11. Could this somehow be used to copy-and-paste Repeater and Repeater Matrix items? Looks interesting.
  12. Is it .htaccess compatible? In other words, can we run PW on top of it out of the box?
  13. Don't know) You can read here if you got the passion to move it forward.
  14. I was thinking about something like $rm->createFile("/path/to/your/dest/file.php", "/path/to/your/source/file.php");
  15. That's nice! It could be useful to allow adding not only template files, but any files (like my views) to make it complete. A basis for scaffolding feature development as well.
  16. Most of the time I do not have anything in template file other than the namespace too as I use it as a controller. And unlike Wireframe I do need this file to avoid error, so this is not useless addition.
  17. Cool, @bernhard! Could you share a use case from your workflow? It is clear a template file is not enough. Are you populating it with some code automagically?
  18. I didn't hear anything about forum integrations lately. Doesn't seem that anything ready-made exist, By the way, Flarum 1.0 was recently released.
  19. Cool! Looks like we gotta gave a theme switcher module.
  20. Cool thing, @bernhard! It is clear you put a lot of effort and talent into this. Thanks for sharing with the community! I think it would be great to have an example to understand, which modifications are possible and how to implement them. If you have something that could be shared, please do.
  21. Just another option to consider. You can add additional fields to the user template. Or use a custom template for users.
  22. The deletion of a field is a complex action. It involves checking all the templates that have them, and making user confirm his intent to prevent data loss. In fact, you rarely have to delete lots of fields. But if you have to and want to dig a little deeper, you can speed up things doing it with the api from the cli. Maybe using something fancy like RockMigrations. But that is advanced stuff. I would not recommend it for beginners. For now I guess you need to figure out how the basic functionality works.
  23. Look at repeaters and Mystique first. And ProFields if you need more.
  24. Yep. Remember loading those on a ZX Spectrum from a tape recorder and playing on a black and white TV screen. Greetings to you, my fellow oldfags)))
×
×
  • Create New...