![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
Is it possible to disable (or reject) selection of parent terms in taxonomy reference fields at node creation or edit?
for instance, for a particular Vocab. and User Role.. Is it possible to achieve that in code? That parent terms will be rendered only as labels and not checkboxes? Thanks. Sponsored by SupremePR Spotify Promotion Services SoundCloud Promotion TIKTOK Promotion... read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
How to display comments and comments form on custom node pages
I am new developing my first ever site in drupal. Along the line, due to the requirements of the project I had to create custom node pages (template files) instead of the default ones in drupal. For example my site has content type ‘Article’ and the... read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
How to use curly braces in schema default value?
I have a long varchar field that I’m using to save serialised data with drupal_write_record. I’d like to set the default value of the column to “a:0:{}” (which is serialize(array())). However, when Drupal runs database updates, they are run... read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
Views exposed filter to take multiple values
I’m running a D7 system and have a requirement where I want user to be able to pass multiple values in one of the exposed filters. I’ve got hundreds of nodes called ‘group’ and I want user to be able to pass multiple ‘group’ names... read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
Give Amply
SoundCloud Repost Service SoundCloud Promotion Service Spotify Playlist Promotion Spotify Playlist Placements read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
Insert multiple checkbox value from webform into table
I created: a webform named Test Number checkboxes checkboxes named Number with values one, two and three using Form Builder a table named checkbox_check Aim: When the webform is submitted, the values selected are placed in a string and saved into the table. Example:... read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
Cache controller with json response
I want cached a controller that returns a json.. I try this: $build = array( ‘#cache’ => array( ‘contexts’ => [‘ip’], ), ); return (new CacheableJsonResponse([‘test’],... read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
How do I make the nodes referenced by organic group content also be OG content?
I have an organic group called ‘newsletter’. I have two content types – ‘issue’ and ‘article’ – in ‘issue’ (which is set to be a group content type), there is a node reference field to articles, and many... read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
How can I filter multiple nid at the same time using Views exposed filter?
I have an node view with an exposed filer for nid. It seems that I can put only one value (one nid) in there. But is there anyway I can filter down nodes by multiple nid? I tried these in the form “1 and 2” “1,2” “1 2” but... read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
Adding new rows on a draggable table via jquery
I have a draggable table with preloaded “new items” – sorta like the Power Edit feature of the menu_editor module. Everything works perfect. However, I want to have a button that adds a new row via jquery. I was able to do this via the following... read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
Updating node field value using custom module validation
I currently have a custom module which calls a submit custom validation function. I am trying to update a value after the validation is run. Basically, if a value is present, update a field to say “Yes”. function sitefuncs_form_alter(&$form,... read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
Redirect user to previous page after registration
I’d like users registering on my website are redirected to the page where they clicked the “create account” button which is in a modal. First, I tried to redirect to an absolute url I tried $form_state->setRedirect($myUrl); I tried... read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
How can I include a dropdown in menu_local_tasks tabs?
I am trying to include a Bootstrap style dropdown in the local_tasks tabs on a section of my website. I thought I might be able to accomplish this with the ‘theme callback’ option of ‘HOOK_MENU’, but it doesn’t run the custom callback.... read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
Deleting field revisions directly from the database
With full recognition that this is not considered a best practice (and is generally considered a worst practice) does anyone know if it is safe to delete field revisions directly from the DB via a DELETE query assuming I can guarantee that only the latest revision is... read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
Entity Synchronization CSV
Provides a CSV client for the Entity Synchronization framework for importing/exporting entities to CSV files. Using the Spout library for better performance and scalability. SoundCloud Repost Service SoundCloud Promotion Service Spotify Playlist Promotion Spotify... read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
Add views block to views header
I want to have the views header elements after exposed filters, so i try to get the filters in the header. For that, i expose them in a block, and try to add that block to headers, but no success. I also tried to show the filters-block on the view’s page (an... read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
I have issue with commerce_order_load_multiple function
The way i am using this function is foreach ($mms as $mm) { $orders_of_user += commerce_order_load_multiple(array(), array(‘uid’ => $mm->uid, ‘status’ => ‘cart’)); } But i am not getting anything output from this and when i... read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)
problem using ajax callback in form
I have a very simple form that has a select box of the terms in a vocabulary, and renders the selected term below it. It seems that the first time I change the value in the select it renders the appropriate term, however every subsequent “change” event it... read more![Time Limit on Comment Edit](https://pixeldust.net/wp-content/uploads/2021/08/pixeldust-purple-tint-logo-350.png)