Welcome To Snipplr


Everyone's Recent Snippets Tagged drupal



« Prev 1 2 3 4 5 ... 14
Update multiple fields using #ajax in Drupal 7 form
0 1019 posted 7 years ago by guruparthi
How to use date pop-up calendar in custom drupal form
0 1201 posted 8 years ago by guruparthi
drush pm-list --status=enabled --pipe | grep 'uc_' | xargs -i drush pm-disable '{}' -y
0 937 posted 9 years ago by apro2000
Starter .info file
0 874 posted 9 years ago by sherakama
Drupal Debugging like Dev Tools
0 812 posted 9 years ago by apro2000
simple preprocess function to alter the site name depending on the section of the site
0 870 posted 10 years ago by emijayne
This script is a custom module to copy one field to another.
0 959 posted 10 years ago by DesignGoggles
Change the Views Slideshow pager items in <li> elements so that they are easier to style
0 796 posted 11 years ago by mktimes5
Create new user account programmatically - drupal 7
0 807 posted 11 years ago by pictonio
This is a custom field handler for a Drupal view. Sometimes you have two or more fields in a content type and you want to do a test on them to see if both are empty or both full or exclusive and return that as a field. There are probably ways to d...
0 798 posted 11 years ago by brownrl
Enables the usage off regions in node.tpl
0 779 posted 11 years ago by apmartins
Get the ajax complete event after filtering a view content in drupal
0 979 posted 11 years ago by apmartins
To make a custom link to a downloadable File in Views
0 773 posted 11 years ago by mktimes5
This is a hook_block_info and hook_block_view template that will allow you to quickly create blocks in a Drupal module. When you use this all you have to do is create a directory "blocks" in the module and then create block.block_name.php in the dire...
0 822 posted 11 years ago by brownrl
out put a field with multiple values as a list fro styling purposes useing child selectors
0 866 posted 11 years ago by mktimes5
Installs drupal using the provided database credentials with the provided localization, creates admin account with the given name and password
0 696 posted 12 years ago by klickreflex
for true plain text output of a field in drupal 7
0 714 posted 12 years ago by mktimes5
To filter a view only to pull content from the node it is on
0 718 posted 12 years ago by mktimes5
Insert this into a custom node template to display the metatags inserted in my the metatag module. <div>nid; ?>" class="<?php> clearfix"<?php>><?php>
0 693 posted 12 years ago by mktimes5
This is a callback example that can be used to conditionally display blocks on specific pages. In this example, I load all nodes with a specific field and return false if the value of that field is equal to the user id of the logged in user. The sni...
0 758 posted 12 years ago by chasecrawford
Add Styles to the drop-down menu for editors to use
0 1197 posted 12 years ago by thesmu
Use this no-conflict wrapper instead of the default ready function in JQuery to initialize scripts in your Drupal 7 theme
0 766 posted 12 years ago by chasecrawford
Safe Key-value pairs for time zones for use with Drupal Webform module.
0 838 posted 12 years ago by usrbingeek
Foromat {timestamp} as a "x x ago" date/time.
0 845 posted 12 years ago by jonathanpglick
imagecache preset depending on height and width of the image
0 740 posted 12 years ago by hoogvlieger
Add this snippet to template.php
0 794 posted 12 years ago by mktimes5
For our project, this code had been implemented in the theme template.php
0 955 posted 12 years ago by nicoknaepen
This is the Batch API example shown on http://api.drupal.org/api/drupal/developer--hooks--install.php/function/hook_update_N/6.
1 786 posted 12 years ago by wizonesolutions
« Prev 1 2 3 4 5 ... 14