Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/15/2025 in all areas

  1. I had set an InputfieldDatetime field's setting of "yearRange" to "0:+2" and apparently 0, for the number of years before the current year simply is defined as no limit. (This should work for similar datetime field settings that offer a range.) The formatting expectation for the jQuery-UI datetime picker component is a string value that always has a negative value, a colon separator, and a positive value, indicated by "-x:+y". The solution here is simple, but in case anyone else runs into this problem, it just takes the following form instead: yearRange="-0:+2" Simply include the negative sign in front of the zero! 🤦‍♂️
    3 points
  2. I like NativePHP. I like Laravel. I love ProcessWire. I'd rather use ProcessWire to build desktop apps. Now it looks like I might be able to! Very early days.... https://bosonphp.com/ Hopefully it catches!
    2 points
  3. At risk of making myself unpopular, I'm a neovim user who has ethical aversion to AI. I get a great developer experience and I don't have to worry about Kernighan's law making my code buggy and hard to maintain. I am also concerned about climate change, and AI has huge carbon emissions - (re)training an LLM has been estimated to emit the equivalent CO2e as 125 round-trip flights between New York and Beijing [source]. I'm concerned that my open source code has been used against its license to train AI through github (find my stuff on codeberg or project owed gitlabs) and so now will be included in proprietary products. I'm also against having to pay subscriptions to a handful of big tech companies because this accelerates wealth inequality and erodes democracy, reducing our chances of turning the ship around before crossing the runaway climate change event horizon. I do not doubt AI's usefulness, or it's ability to charm and amaze or excite, I do not doubt that it can be used to save lives even (e.g. specific medical use such as identifying cancer early from scans). But I do remember how Nobel thought his invention of dynamite would be great and I'm not going to be taken in by another big tech lie about "don't be evil". We have very weak regulatory powers and a world teetering on the edge of unfathomable suffering. This is a post about a personal choice of text editor, and I'm not judging folx who choose Cursor (or ai plugins for neovim!) - I respect that opinions differ. But I wanted to share my opinions on my choice, too.
    2 points
  4. This week we have some useful upgrades to ProcessWire’s Markup Regions system. These upgrades make Markup Regions even more flexible and intuitive by reducing the dependence on HTML id attributes. Here is a new blog post that covers it in detail— https://processwire.com/blog/posts/pw-3.0.250/
    1 point
  5. ok, i saw this comment and have aded in the jquerycore file. this works for now, but I don't really understand why this file gets loaded for admin user but not other users. I can't see anything obvious in the Roles settings.
    1 point
  6. Hi @Dharma, I haven't done this myself yet, but I would look into hooking PagesRequest::getPage . Also check how LanguageSupportPageNames.module is hooking into that method, and get an idea of what it's doing to figure out how to overwrite the behavior.
    1 point
  7. 1 point
×
×
  • Create New...