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

Add dynamically fields on custom form

Hello,

I have a custom form in which I want to add several inputs. In the following test, I add a "car2" field. Visually I can see the new input created, but when I submit the form, "car2" is not present in $form and $form_state, there is only "car1".

I think I'm missing a behavior that wicks :p

Retrieving thumbprint of Certificate

Hi,

my requirement is to get thumbprint of the certificate and I am trying to use this 

$thumb = openssl_x509_fingerprint($certContent,"RSA-SHA256",false);

$thumb1 = openssl_x509_fingerprint($certContent,"sha256",false);

But the return of the above is not matching with the thumbprint.

when I open the cert and check "Details" --> Thumbprint , it is different than what is returned from above function. when I check here "signature algorithm = sha256RSA"   and "signature hash algorithm = sha256"

Please let me know if I am missing something.

Seeking a User Account Time Limit module that works in Drupal 10

I have viewed several user account Time Limit modules but they appear to be associated with older versions of Drupal - not Drupal 10.

I am seeking an existing module that essentially does the following and will work in Drupal 10:

1. A User Expiry Date field is added to the database.

2. Create time limits on user accounts so their access expires at a certain date.

3. It automatically sends a reminder notification to administrators that the user account is expiring 14/7/1 days before it expires.

figuring out the proper location of defining my javascript in drupal for specific page manipulation

First time touching Drupal 9 and I have got a site working locally on my computer using Docksal , Docker on Ubuntu 22.04  WSL 2 where I can test/make any changes. I have a Frequently Asked Question page and View,Edit , API etc options at the top of the page which looks like this. Here's some glimpse of how it looks like:

This FAQ page after inspecting in browser looks like this:

Installing Chosen Module help

Hi,

I am trying to install Chosen module on my local setup and below the steps I did 

how to publish a module

let's suppose I developed a custom module, tested it, it installs and uninstalls fine.

what are the steps for publishing it to the community ?

Pages

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