This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

How to RESTful Node Creation via POST in Drupal 9?

Hi,

I have developped a module based on this project here. I can load the list of views and I can delete them using the same mechanism as the project, i.e getting the token from

/session/token

My axios object looks like this:

How to RESTful Node Creation via POST in Drupal 9?

Hi,

I have developped a module based on this project here. I can load the list of views and I can delete them using the same mechanism as the project, i.e getting the token from

/session/token

My axios object looks like this:

I can't get "Embed view shortcodes" module to display a block

In the description for the module, "Embed view shortcodes" it says:

"The syntax for embed block is [block id="block_id"][/block]"

I have tried to apply this shortcode to this page:

https://www.pasocolombia.org/draft-jan-29-2021

The shortcode I'm using is:

[block id="md-slider-14-block"][/block]

Plugin not found/invalid plugin error while creating VBO custom action

I am creating VBO custom action and I constantly see the below error:

Search node by date

I have a content type with date and amount fields
I have to take the amount after doing the search by date
The dates are
01/07/2020 3.5
01/08/2020 3.7
01/09/2020 4

The search date is 06/28/2021. Amount 4 should return, but no.
Below is the code I use

Checking if paragraph fields are populated in node template

I have a paragraph that has a couple of text fields and an entity reference that access another paragraph, but that's just a little background. My field that renders it in the content type is a node template and i've tried {% if content.field_from_paragraph[0] %}, {% if content.field_from_paragraph is not empty %} and many variations of it.

I just wanted to check against something to know if the paragraph is being populated but I can't seem to find the right combination.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions