Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/28/2021 in all areas

  1. Related, so I did NOT want to create a new topic for it. Note: I am especially happy to see enums, as a think implementing state machines / statecharts is the way to go when developing "expandable systems". Not that personally I am into some large systems or anything like that, but ProcessWire is large enough from benefiting it, I think. For example, Java seems to have been having it for years: https://www.google.com/search?q=enum+for+state+machines Still, when I find the time, I will experiment with enums to see if I can use it to improve my coding. I hope I can :)
    1 point
  2. This is a holiday week here in the US, at least for my kids (school break). With kids home I've been off work this week so don't have any ProcessWire updates to report, but I'm looking forward to getting back to work next week and will have more updates to report then. Yesterday was Thanksgiving here in the the US and that kind of marks the beginning of the holiday season here. So today the Christmas tree went up, the lights are coming out and the holiday music has taken over the radio (or Alexa or Google or whatever we call it). Cheers and Happy Holidays!
    1 point
  3. @Robin S No, there are no problems and actually, I use this code, but I would like to have a more obvious way to detect for which page the hook was triggered. $page instanceof RepeaterPage or $page->template != "repeater_template"
    1 point
  4. That sounds like a reasonable way to return early if the form is not the one you are wanting to modify. Any problems if you do that?
    1 point
×
×
  • Create New...