


Displaying parts of main menu in separate blocks
I need to display my main menu in separate blocks: the first sub-menu in one block, and the following two sub-menus in another block. I’m using Drupal’s native menu module and also the nice menus module. How can I do that? Sponsored by SupremePR Spotify... read more
View restricted to a specific taxonomy term
I have a custom content type called Property with taxonomy term fields set up for example for vocabularies Train Station, Style, and Area. I would like to create a view showing only those Properties with a specific term within the taxonomy for example only the ones... read more
Drush does not work invoking the local Drush
I have installed new D8 on a remote server using this way https://github.com/drupal-composer/drupal-project . I have pulled files from GitHub and I have run ‘composer install’ for getting the all vendor files include the local Drush (/vendor/drush/drush/)... read more
How can I dynamically disable a single required field from validation in a form?
This is an extension of this question: Need help with AJAX callback function for text field validation in form_alter I have a form with a Username autocomplete field (txn_user). The editors want to be able to enter a UID (txn_userid) as an alternative way of... read more
Use a field’s values in database to populate an exposed filter’s options
I have a content type with a field named year (integer). In a view, I’d like to expose this field to the user as a filter. Instead of the default text boxes, I want to populate select lists with the values in the database for that field. Then the user will just... read more
Views, Taxonomy, multiple parameters using contextual filters
A view has been created to display related content types via their taxonomy terms, using contextual filters. Currently the view is able to display content based on the first param eg. about The goal is to abe to display content based on the second param, being the... read more
How update programmatically node entity with empty field_image?
i need to make an import from one mysql table in my base. I create node with : $value= array( ‘type’ => strtolower($typeProduit), ‘field_1’=>”test”, ‘title’=>”test”, ‘body’ => array(... read more
Conditional display of paragraphs items
We use Paragraphs quite extensively in our site. We have about 10 bundles available. What we’ like to do is alter how the paragraphs are displayed on various pages; Ie, we’d like to remove bundle a and display only bundle b. Then, in an alternate view, we... read more
Base path and user picture uploading
So I recently migrated my site between servers. I think this is causing some issue with the base path of Drupal, which in turn affects the image upload path when a user tries to upload an image to his/her profile. So, before migrating, some data was already uploaded... read more
How to change path of taxonomy facet
I am using facet search on my site. The search paths for taxonomy term facets are of the pattern “search/term-name”, but I would like them to be of the pattern “search/term-tid”. Is this possible? How can I change this? Sponsored by SupremePR... read more
Order list: Pay unpaid invoices
I have created some extra statuses: Paid and Unpaid. Now they got the functionality and react on the transaction balance perfectly fine. However, on the user site, it is kind of a dumb thing. Even if the invoice is unpaid, there is no option to pay the invoice from... read more
Passing arguments to a block
I am working on trying to understand the secrets of custom-developed blocks. Namely, I have a use case where a block need to pull content via EntityFieldQuery (this could be done with Views, but I like a challenge) and the contents loaded need to adjust based on a URL... read more
Innoraft Drupal Blogs: Why Regular Website Maintenance is Important for Its Success
Why Regular Website Maintenance is Important for Its Success You must update and maintain your website regularly. Read this article to know how website maintenance can help your website and brand image. Tanjeet Wed, 10/27/2021 – 14:48 website maintenance Website... read more
Multiple pagers in one page
I have a view with two separate displays that is used in one single page. Both the displays are using a pager. To get things working I set a unique id for each pager under pager options. This works and I can use each pager independently. The problem is that the... read more
Use ajax to save modal / dialog form instead of page reload
I’m looking for a way to save modal & dialog forms through ajax instead of redirecting the user after the form submit. Ajax is quite unknown territory to me. I’ve found several interesting topics here already: jQuery UI Dialog attempt to submit a form... read more
How to get the id of a group when using the Group module?
I’m using the Group module. How can I get the id of a group whose a user is a member (I have the user id)? Sponsored by SupremePR Spotify Promotion Services SoundCloud Promotion TIKTOK Promotion SoundCloud Repost Service SoundCloud Promotion Service Spotify... read more
How can I force users to input a shipping address when using the Commerce Paypal WPS submodule?
I just built a store in Commerce using Drupal 7 and I am taking payments by the Commerce PayPal WPS submodule. However, when I tested checkout, I found it was possible to buy a product without supplying a shipping address. In the PayPal Express Checkout documentation,... read more
Commerce Shipping Pickup GLS CsomagPont
Drupal 8/9 module to extend commerce_shipping_pickup module with pickup service providers. Implemented providers: – GLS CsomagPont (Hungary) – Csomagautomaták (Parcel machines) CURRENTLY UNDER MODIFICATION, DON’T EXPECT TO WORK WITH... read more