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

Can't get page html after updating the page and flushing all caches

Once I updated a page via admin panel, I need to programatically flush all the caches, then get the page source code and write it to a file. I use the following code inside of my module:

generate login url using rest

Hi

I'm using headless Drupal via rest API.

i want to create a link that when user open it the user was authenticated to continue purchase a product .

can some one help me?

How can I store specific data per-user in Drupal

I want to store some nested data/configuration per user in Drupal. Also the user needs to be able to view/edit it.

Following format:

Help with ajax functionality

Hey there. I have some functionality I am working on that relies on Ajax. I have an entity autocomplete that runs the autocompleteclose callback when you select an item from the dropdown list. 

When you do this, if a specific entity type is selected from the list, it adds an additional field to the form. I also have repeatable fields (add/remove another) that runs additional ajax. 

When just doing one item, this works, but once you rebuild the form, the additional field doesn't show up, even if the autocomplete box has the required item. 

Allow only 1 quantity in cart

Hello All,

I'm a beginner learning Drupal Commerce. Currently, I'm working on a project on E-Learning concepts. My website will have different study materials; some free and some payable. I'm stuck at below major points.

Here I want to test below conditions and display the product details on product page:

1) If the course is free then entire content of the course will be displayed. If payable, then only summary of the course needs to be displayed. If user has purchased this course, then the entire content needs to be displayed

set up drupal with git for phpstorm on local pc for development for dummies

I am completely new to Git or Bitbucket. I don't understand the workflows to use. I need help.

I'am struggling with the best workflow for developing front-end / back-end development in phpstorm and how to manage the files in Git of bitbucket.

Pages

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