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

Delete an entity (not published/enabled) within particular time of it's created time

  • I have entity for booking service. 
  • Here the entity will be created when user fills the form and proceed for booking.
  • Now the booking will be created with initial status of not published (status 0).
  • After payment done, that booking will be enabled/published.
  • If the payment not done the booking needs to be deleted within 10mins of it's created time.

​​​​​​
Any idea?

Issue with File Listing Option in Entity Browser for Image Selection

Hi everyone,

I’m facing an issue when selecting images while creating content. Two options are available—"Upload Images" and "File Listing." The "File Listing" option is not working as expected. However, the entity browser view is showing the correct preview, and the widget settings for both options (DropzoneJS for upload and a view for file listing) are properly configured. I’m using the View display as "File Entity Browser: Entity Browser."

How to add shopping cart button to webform

I have a pretty large webform which is submitting fine. Owners of the site now want to levy a charge for submitting the form by adding an Add To Cart button.

I don't want to create a whole product to include all the webform fields but will need the new product to include a couple of the existing webform field values.

I'm not sure how to go about doing this. All help appreciated.

Peter

Set default value of field on inline entity reference widget, from field on parent entity form

I have a few custom entities defined by a custom module. One entity called, 'scene' contains an entity reference field to another entity called 'placed_asset'. When a user is editing or adding a new 'scene' entity, they can also add a new 'placed_asset' entity via the inline complex widget.

How to avoid customer ordering item that are out of stock

I am new to drupal and running drupal 7. What setting do I need to change to avoid customer ordering out of stock items. Currently its causing a lot of issues as I have to call customers manually to inform them for a replacement or a refund. 

Drupal 11 - AVIF not listed in supported image type?

I have trouble making AVIF compatible with Drual 11.

Thought it is natively supported, but in node editor's image upload, I cannot see AVIF in available image type list.

I tried to add it to 

Pages

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