tgbdad


Member since 05/27/2008

9 snippets

10 profile views

2 Comment(s) Posted

View their favorites

their Tags


Profile

All time reputation: 19

Achievement

first submission:submitting first snipplet

tgbdad's Recent Snippets



« Prev 1 Next »
  1. FAV

    Adjust default number of visible rows in node body field.

    Adjust the size of the body field window. For use in hook_form_alter().
    PHP 5 views posted 9 years ago tgbdad
  2. FAV

    Suppress \"Split Summary at Cursor\" button on node form

    Suppress button to "split summary at cursor" on node bodies that are generally short and won't ever be displayed as teasers. (These lines go in hook_form_alter functions.)
    PHP 6 views posted 9 years ago tgbdad
  3. FAV

    Suppress input format options on node form

    Suppress the input format section of a node form when you don't really want users (even admin) to change it. Particularly handy for uncluttering forms with lots of CCK fields on them.
    PHP 4 views posted 9 years ago tgbdad
  4. FAV

    Set allowed integer values in CCK select list using PHP

    This example will return values -15 through 15 to be presented to the user in a select list for an integer CCK field.
    PHP 8 views posted 9 years ago tgbdad
  5. FAV

    Find all variables available to a template

    PHP saved by 1 person 5 views posted 10 years ago tgbdad
  6. FAV

    Fix screwy URL aliases for project_issue nodes

    I currently have project_issue nodes set for replacement pattern issues/issue[nid] in Drupal 5.x PathAuto. This query fixes all of the URL aliases for entries created before this was set correctly.
    MySQL 6 views posted 11 years ago tgbdad
  7. FAV

    Drupal create link to filefield file

    PHP saved by 1 person 6 views posted 11 years ago tgbdad
  8. FAV

    Clear Drupal 5 Cache

    This might work in Drupal 6, but I haven't tried it.
    PHP saved by 2 people 11 views posted 11 years ago tgbdad
  9. FAV

    Change Drupal Login Block Prompt strings in Zen Theme

    Place this code in the template.php file of your custom Zen sub-theme to create a friendly reminder that this site uses their LDAP password. In this example, we use Novell Directory Services as our LDAP provider.
    PHP saved by 1 person 5 views posted 11 years ago tgbdad
« Prev 1 Next »