


How can I clear all check boxes on failed validation?
I have form with check boxes. The user checks the boxes and hits the submit button. If validation fails an error message is displayed. I also want all of the user’s checks to be cleared so they can try again. Here’s my code, but it does not clear the... read more
Static html page import [closed]
I want to import static html reports generated for source code by code analysis tools like doxygen, understand. Is there any module that can import the html reports generated by these tools directly into drupal? I tried import html without any success. Any tried and... read more
How do I add the <noscript> tag in <head>?
If I want to add JavaScript in the head tag, I use drupal_add_js($js, ‘inline’). This will add a <script type=”text/javascript”>. How do I add the <noscript> tag? I want to add the following in <head> also. <noscript>... read more
Can I create a link to a taxonomy page?
I have a page that has a single category applied to it, for this example, "Self Help Books". I want to put a place on content type that display a "view all [insert category here]" that links to that category listing page. I was hoping I could do... read more
Remove an uploaded file
I am working with files in a Drupal module. I added this form: $form[‘Background_image’] = [ ‘#type’ => ‘managed_file’, ‘#title’ => t(‘Image’), ‘#progress_message’ => t(‘Please... read more
Guard/LiveReload/Sass/Compass CSS Caching Issue
Here is a quick primer on my setup. Running an aurora sub theme that utilizes guard, guard compass, guard livereload. Basically what is happening is I make a change in a sass file, the files compile and the style change is shown right away on the browser. Great. The... read more
Unable to connect to local MySQL db using drush sql-sync
I’m attempting to use drush sql-sync to sync my prod database to my local dev copy, and everything seems to work until drush attempts to log into the local MySQL. When it does, it throws this error: “ERROR 1044 (42000) at line 39: Access denied for user... read more
Two formats in one view
Let me see if I can explain what I need. 1) I need some tabbed buttons listed first: View All | Category 1 | Category 2 | Category 3 2) For each button, clicking the tab should opens an area to display: Other tabbed buttons (to the left). Current | Future | Past Each... read more
view exposed filter ajax error coming for non administrator user
I have event calendar module which is perfectly working fine. For some other users (non-admin users) I have to give permission to access events posted by them (They have permission to view the calendar and add/modify/delete events). So far everything is good. Now I... read more
One-to-many and many-to-many relation between nodes of different content types
I am using Relation module for creating relationship. But i didn’t find the option how to create one to many, many to many relation. Can anybody tell me regarding that Thanks read more
How do you keep the login block on the same page when validation fails?
On pages where the login block exists, I need to stay on that page (and preserve query string arguments) if the validation fails when submitting the form. Does anyone have any idea how this could be done? read more