Jump to content

elabx

Members
  • Posts

    1,504
  • Joined

  • Last visited

  • Days Won

    21

elabx last won the day on November 20 2025

elabx had the most liked content!

1 Follower

About elabx

  • Birthday 04/12/1988

Profile Information

  • Gender
    Male
  • Location
    Mexico City

Recent Profile Visitors

30,441 profile views

elabx's Achievements

Hero Member

Hero Member (6/6)

1.6k

Reputation

1

Community Answers

  1. My personal solution for this issue, without using third party modules, has been: Setup a page reference field on the home template, that lets me pick the projects I want to showcase, and I make the assumption that l'll pick the first image of the gallery of each project. So i the home template you'll end up with something like: <div id="masonry-gallery"> <?php foreach($page->portfolio_pick as $project):?> <img src="<?=$project->gallery->first->url?>"> <?php endforeach ?> </div> - gallery being the field within the project template. - portfolio_pick being the page reference field on the home template. Another thing I've done, but that I'm not a huge fan of for certain uses, is adding a extra fields to the image field, in this example, the field "gallery" in the project template. So you can then code something like this on the home template: <div id="masonry-gallery"> <?php foreach($page->portfolio_pick as $project):?> <img src="<?=$project->gallery->findOne('is_main_image=1')->url?>"> <?php endforeach ?> </div>
  2. That's a bit of the AI bragging, still missing field/template creation to put an example. I focused first on page CRUD. This looks amazing 😮
  3. Worked on this the last couple days: https://github.com/elabx/processwire-mcp just tested it yesterday, so not a lot of usage.
  4. You mean something like this?? https://cursor.com/docs/agent/browser I started doing this with Claude and it does catch the error screens and fixes the bug.
  5. I though you were talking about THIS, now I just furiously started prompting all the bugs meanwhile I go reviewing and doing stuff on my own. Now just boostrapping ddev somwhere (gihub codespaces?) , some E2E testing, feedback loop till acceptance and out of work lol
  6. No! they would hold the placeholder reference! Something like <script src="{APACHE_SCP_NONCE}"> Then swapped by apache right before delivery.
  7. Apache just does it faster from what I remember.
  8. I forgot there was one more complexity, which is actually adding the nonce to the response. I remember doing it with mod_substitute and there seems to be an easier way using Apache SSI. Can't remember if I actually tried SSI.
  9. I solved this once for frontend usage using mod_cspnonce, which created the nonces per request right on Apache. This way I was able to keep using ProCache and not having to manage a CSP list in the header. I guess that for ProcessWire admin purposes, hashes implementation could work better? Also there's the caveat of scripts that generate other scripts, like GTM, which need a special implementations: https://developers.google.com/tag-platform/security/guides/csp
  10. I changed the module name on github and that seems to have messed something up since I cannot add the module to the module's directory 🤔 At least that's what it seems since it's the only different thing I've made that's different from other modules I have published. Anyone know if this could be an issue? Thanks!
  11. Update this can be done just with Inputfield classes, no Fieldtype is really need, simplified and renamed: https://github.com/elabx/InputfieldRadiosImageLabel
  12. I'm still a big fan of using Shopify and now with web components it's even nicer to integrate the look and feel of your site into the whole layout of the booking widget.
  13. REALLY interesting, thanks for chiming in. Where is this Allegretto plan explained I can only find https://platform.moonshot.ai/docs/pricing/chat#concepts Am I even talling about the same thing?
  14. Is anyone going the way of SpecKit, BMAD, Opensec, superpowers?
  15. Around 100-150 USD on cursor, on the 20 plan, and also probably wasting a lot of money too since I pay OpenAI (like their webUI), gemini (hate their web UI but I like their deep research and images) and now Claude. Probably have to spin one of the agents to make me a reasonable budget or I'll go broke. Anyone tried Kimi? Getting very good impressions from peers.
×
×
  • Create New...