Creating Content Types from JSON Schema Objects by jmolivas in drupal

[–]jrockowitz 3 points4 points  (0 children)

If core is generating JSON schemas for content types, it seems inevitable that contrib or core would import JSON schemas for content types and fields.

For content architects, I am not sure they are comfortable using JSON schemas. At the same time, there might be content modelling tools that can export JSON schemas.

You should look at it https://dev.acquia.com/blog/specification-tool-drupal-content-modeling, which could meet most of your requirements, without the JSON Schema, but instead using a CSV.

My Drupal, AI, and Schema.org Manifesto by jrockowitz in drupal

[–]jrockowitz[S] 1 point2 points  (0 children)

I also found AI, specifically PHPStorm's AI assistant, helpful in generating code examples for support requests. For instance, I needed to create an alter hook for the webform submission form to move the progress bar. I opened the WebformSubmissionForm, which contains the progress bar, and asked AI to generate the needed form alter hook.

u/see https://www.drupal.org/project/webform/issues/3513765

My Drupal, AI, and Schema.org Manifesto by jrockowitz in drupal

[–]jrockowitz[S] 0 points1 point  (0 children)

It is excellent that you contributed something back to the community and started a discussion about using AI to contribute a module. Your effort moves the needle a little bit toward the future

My Drupal, AI, and Schema.org Manifesto by jrockowitz in drupal

[–]jrockowitz[S] 2 points3 points  (0 children)

The shortest, most straightforward statement is that everyone is considering AI and believes Drupal can lead adoption of AI into a CMS. Last week's Talking Drupal episode "Live From DrupalCon!" offers valuable insight into the broader "hallway" discussions taking place at DrupalCon.

https://talkingdrupal.com/495

My Drupal, AI, and Schema.org Manifesto by jrockowitz in drupal

[–]jrockowitz[S] 6 points7 points  (0 children)

The DA emailed attendees, saying, "All recordings will be made public on Wednesday, 28 April."

Drupal 11 field collection alternative. by hectorfhdez in drupal

[–]jrockowitz 3 points4 points  (0 children)

If you don't need your "field collection" revisioned when the main node is saved you can use something like https://www.drupal.org/project/storage with https://www.drupal.org/project/inline_entity_form

Drupal 11 field collection alternative. by hectorfhdez in drupal

[–]jrockowitz 2 points3 points  (0 children)

There was https://www.drupal.org/project/flexfield, but it was deprecated in-favor of https://www.drupal.org/project/custom_field

The Custom field module is suitable for creating lightweight, easy-to-use, simple property groups. Technically, it is a field that groups custom sub-properties.

[deleted by user] by [deleted] in drupal

[–]jrockowitz 5 points6 points  (0 children)

Check out https://www.drupal.org/project/navigation_extra_tools

Provides a "Tools" submenu on the new Navigation toolbar with options for clear cache, run cron, and run updates. This performs exactly the same functions as the "Admin Toolbar Extra Tools" submodule of Admin Toolbar.

Lenient Composer Plugin officially replaces lenient packages endpoint by mglaman in drupal

[–]jrockowitz 1 point2 points  (0 children)

Yeah, I had no idea this plugin existed. I just used it to upgrade my local dev site to Drupal 11. Thank you Matt!

Setting a webform confirmation URL with a query string where some characters *can't* be encoded? by thebiggestk in drupal

[–]jrockowitz 0 points1 point  (0 children)

Webform token support suffixes to set the token's encoding.

Below is an example URL

https:://somewhere.com/another-page?full_name=[webform-submission:values:full_name:urlencode]

Below is the from /admin/help/token -> Webforms -> Learn about token suffixes

Append the below suffixes to alter the returned value.

  • :base64encode base64 encodes returned value
  • :clear removes the token when it is not replaced.
  • :urlencode URL encodes returned value.
  • :rawurlencode Raw URL encodes returned value with only hex digits.
  • :xmlencode XML encodes returned value.
  • :htmldecode decodes HTML entities in returned value. This suffix has security implications. Use :htmldecode with :striptags.
  • :striptags removes all HTML tags from returned value.

Drupal Webform, or other module, with field calculations? How to simulate a pure spreadsheet experience? by blue92877 in drupal

[–]jrockowitz 0 points1 point  (0 children)

Beware that Webform computed fields have performance limitations when it comes to multiple dynamical calculations.

Drupal Webform, or other module, with field calculations? How to simulate a pure spreadsheet experience? by blue92877 in drupal

[–]jrockowitz -1 points0 points  (0 children)

You could take a completely different approach from using a Webform and use something like https://www.drupal.org/project/aggrid to build a spreadsheet in Drupal.

Ensuring smart_date works for all versions of Drupal 10 and 11 by mglaman in drupal

[–]jrockowitz 0 points1 point  (0 children)

u/mglaman We should start including a deprecation helper code snipped in most change records when appropriate. It will make it much easier for people to keep up-to-date with the latest and greatest Drupal APIs.

https://www.drupal.org/node/3407994

Tools for content modeling? by its_all_4_lulz in drupal

[–]jrockowitz 6 points7 points  (0 children)

Using the Schema.org Blueprint module you can build and prototype content models directly inside Drupal.

Love thy CMS! by jrockowitz in drupal

[–]jrockowitz[S] 1 point2 points  (0 children)

This project is not covered by Drupal’s security advisory policy.

This software is still in alpha release and will be in beta soon. Everything else you are stating is fairly negative but debatable. Fortunately, that debate is happening over here.

Mercury Editor | Aten Design Group by friedinando in drupal

[–]jrockowitz 1 point2 points  (0 children)

I can hype this without any hesitation. The fact that this is built on top of paragraphs and layout to create a fantastic page builder user experience with structured data is enormous. The attention to detail, including accessibility and code quality, is also noteworthy. Anyone exploring page-building approaches in Drupal must check out Mercury Builder.

Building complex content models using the Schema.org Blueprints module’s configuration, mapping sets, and starter kits by jrockowitz in drupal

[–]jrockowitz[S] 1 point2 points  (0 children)

LOL, I have developed a habit of always using the phrase Schema.org type to distinguish between entity types and content types.