Umesh Patil
  • Member for 6 years, 11 months
  • Last seen this week
Multilevel submenu with bootstrap 3
2 votes

After setting menu levels from block configuration, if you want to open the submenu on hover use below CSS, ul.nav li.dropdown:hover > ul.dropdown-menu { display: block; }

View answer
Hiding a View if empty when contextual filter is already used
2 votes

Add a FILTER CRITERIA Select the same field that you are displaying under fields Select the Operator as "Is not empty(NOT NULL)" Save it, and it is done

View answer
How do I fix a ReflectionException error (class doesn't exist)?
1 votes

If you are getting above error message then I suggests following things to check for, Check if there are any spelling mistakes in the routing file, that is may be the name you have written is ...

View answer
How to create a list of users who did not submit some webform?
1 votes

Well above solution may work but it looks far too complex to my eyes. ;) I have achieved this on Drupal 8 by following below steps, Create a user view Load user data into fields Add relationship to "...

View answer
RewriteBase /folder issues on IIS for broken images
Accepted answer
1 votes

Okay, so problem is IIS does not understand our .htaccess file and has its own set of rewrite rules. If someone's facing broken images problem, best is to create an outbound rule which will add your ...

View answer
Drush installed and running; No Drupal site found even with uri specified
1 votes

As @kenorb said, use drush -vd cc all, it will give you a good idea about what is happening in detail. In my case, it was due to the error "mysql command not found". I solved it by setting up the path ...

View answer
How to add the current title to the breadcrumb without preprocess function?
0 votes

To achieve this, use below code in your custom module or create a new custom module. I assume you already have understanding on how to create a custom module for Drupal 8/9. Create your services file ...

View answer
Show latest changes in node "View" tab while using Content Moderation
Accepted answer
0 votes

Finally after spending huge amount of time on this, I am able to figure it out. Thanks to shawn-conn's answer here - Take over display of a content type node route I have created a custom module and ...

View answer
How to get $_POST and $_GET parameters
0 votes

This is an example for accessing URL parameters and passing them to a template. I am assuming you have already created your module and required files and that /test?fn=admin is the path your module is ...

View answer
How do I access URL parameters from my custom module?
0 votes

For Drupal 7 use arg() function and you are good to go. For Drupal 8 follow below procedure, Here's the example of accessing URL parameters and passing them to a TWIG template, I am considering you ...

View answer
Commerce line item views with fields from content node
0 votes

To achieve this in views, you have to add a relationship named "Commerce Line item: Referenced products" and it will fetch field from your product node.

View answer
Password request redirect to another page
0 votes

To achieve this, I prefer to have a custom trigger which will give freedom to end user to select the page of his choice whenever he/she wants, instead of fiddling with code every time. Use below code ...

View answer
Modification of email template
0 votes

I know this is pretty old, but if someone got into this issue please take a look at User registration notification Module This will help you out.

View answer
Webform submitted data in views
0 votes

Create a new view by selecting webform submissions data and rendered submissions instead of fields under Display format. Or follow the process from this : - how-display-webform-submissions-views-...

View answer
How can I programmatically alter Webform "To Email Address"?
0 votes

I figured it out, actually I was using wrong hook to do the task. The right on would be "hook_webform_submission_presave". So my code will look like, function ...

View answer
How to include a custom menu in page.tpl
0 votes

Well, Nothing from above worked for me with Drupal 7 but below code, $search_menu_name = "menu-search-box-menu"; print theme('links', array('links' => menu_navigation_links($...

View answer