Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/03/2026 in all areas

  1. Maybe take a crack at building a form module. Probably save some time. You might want to consider using features Tailwind makes available to style with utility classes outside of markup. This is the most efficient way to apply consistent styling to markup you aren't generating or don't control. This is for v3 but there are options in v4 to do the same. @layer base { label { @apply mb-1.5; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="number"], input[type="date"], input[type="datetime-local"], input[type="month"], input[type="search"], input[type="tel"], input[type="time"], input[type="week"], [multiple], textarea, select { @apply border-neutral-400; } button, [type='text'], [type='email'], [type='url'], [type='password'], [type='number'], [type='date'], [type='datetime-local'], [type='month'], [type='search'], [type='tel'], [type='time'], [type='week'], textarea, select, select[multiple], [type='checkbox'], [type='radio'] { @apply focus-visible:ring-2; @apply focus-visible:outline-none; @apply focus-visible:ring-cerulean-600; @apply focus-visible:ring-offset-2; @apply focus-visible:border-inherit; } [type='checkbox'], [type='radio'] { @apply focus:ring-cerulean-600; @apply cursor-pointer; } [type='checkbox']:checked, [type='radio']:checked { @apply bg-cerulean-600; @apply focus-visible:bg-cerulean-600; @apply focus:bg-cerulean-600; @apply hover:bg-cerulean-600; } select { @apply focus:ring-2; @apply focus:outline-none; @apply focus:ring-cerulean-600; @apply focus:ring-offset-2; @apply focus:border-inherit; } [type='submit'] { @apply px-6; @apply text-lg; @apply tracking-widest; @apply bg-cerulean; @apply text-white; } } Assuming you're a developer- get creative, build something, find a workaround. It's part of the job. After 10 years I would think that you'd have more of a "I gave this a shot but couldn't get it to work" approach to the question, especially given that the members of the PW forums are overwhelmingly positive and here to help.
    2 points
  2. Hey @ryan, hey all readres, I'd like to propose two features that would help those of us working with business and organizational clients. OAuth 2.0 Login Support Several of our clients use Microsoft 365, and it would be nice to integrate their websites seamlessly with e.g. Microsoft Entra ID. Native OAuth 2.0 support would allow users to log in with their organizational accounts instead of managing separate credentials. For an urgent case I'll try to set up @flydev's module (https://processwire.com/modules/oauth2-login/) but unfortunately the creation of users is not yet (?) possible. Microsoft Graph API for Email Delivery As said before, more and more peopele rely on Microsoft 365, and traditional SMTP with basic authentication is being phased out. Supporting Microsoft Graph API would allow us to: Use OAuth 2.0 tokens instead of storing SMTP passwords Leverage existing Microsoft 365 infrastructure Ensure better deliverability and avoid authentication headaches Native support for both would make ProcessWire from my perspectibe a more compelling choice for organizations looking for enterprise-grade SSO and email solutions.
    1 point
  3. 1 point
  4. I disagree. As a designer and developer, I think the new design is much more professional, contemporary, and appropriate. Compare it to the Dupal or WordPress website. Do you think they are better positioned? What information do you think is missing for customers?
    1 point
  5. Finally deleted all those pages using transactions: <?php namespace ProcessWire; include "index.php"; $dePages = wire('pages')->find("parent=/einstellungen/berufi/"); echo $dePages->count()."\n"; $i=0; try { $database->beginTransaction(); foreach ($dePages as $dePage){ echo $i++. " ".$dePage['title']."\n"; $dePage->delete(); } $database->commit(); } catch(\Exception $e) { $database->rollBack(); } Script took 7 Minutes to run , the actual query execution took about 7-10 seconds at the end of the script. I guess Transactions are helpfull at deleting pages too . What i did not try was to trash them first.
    1 point
×
×
  • Create New...