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

Run an ajax form that is itself loaded with ajax (html)

Hello,

I want to run an ajax form, which is loaded itself (only the HTML) via ajax in jQuery

I load a form into a page in a boostrap modal using the following code called on Ajax (with a custom route) :

How to remove requirement of external composer lib

I maintain the amazon_pa module and now tried to upgrade to D10.

The problem is that the comoser repository uses guzzle 6.2 and that will throw the following error.

Create term button hook caption

How can I change text of "create taxonomy term" button?

This is node reference field for taxonomy, appears when I click Add new taxonomy term when add or edit a node.

[SOLVED] Making Twig template based on Vocabulary

My objective: create a page.html.twig override for Vcabularies.

Intention: So that term page displays under each vocabulary looks different.

The code I am tryng to use in my themename.theme is this:

use Drupal\taxonomy\Entity\Term;

Pass fields from entityform to mailchimp

I'd like to add in the name field from an entityform to a mailchimp list via the mailchimp automation module, but I'm not sure how to code this.

How to determine if a block configuration form is for new, or existing block?

From the configuration form that is loaded when a new block is being placed, or existing block configuration is being edited, how can one determine, programmatically, if the active form is for a new block or configuring an existing block?

This appears to be possible as the form itself changes the access to the machine name property between a new block and existing block, but I haven't been able to figure out what property it is looking at or where this part of the form is being built from.

Pages

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