basicmagic

Member since 01/03/2007

125 favorite snippets

View their snippets

basicmagic's Favorite PHP Snippets



« Prev [Page 1 of 4] Next »
  1. FAVPluralize Function to change wording based on the number of results (0,1,or more)

    PHP saved by 3 people
    posted on January 13, 2009 by
  2. FAVDrupal 6: Translatable primary and secondary links with i18n module

    PHP module drupal block language i18n l10n localization saved by 3 people
    posted on January 6, 2009 by
  3. FAVDrupal print Vocabularies and Terms associated with a node

    PHP drupal taxonomy vocabulary saved by 2 people
    posted on December 13, 2008 by
  4. FAVDrupal create link to filefield file

    PHP drupal theming filefield tpl saved by 1 person
    posted on December 4, 2008 by
  5. FAVCurrent page including query string

    PHP saved by 1 person
    posted on November 26, 2008 by
  6. FAVPHP plain date

    PHP php pregreplace saved by 2 people
    posted on October 30, 2008 by
  7. FAVDrupal mission statement include

    PHP php drupal drupal5 saved by 1 person
    posted on October 23, 2008 by
  8. FAVTest whether URL exists

    PHP testing saved by 12 people
    posted on October 7, 2008 by
  9. FAVVery short snippet: PHP word cut

    PHP php saved by 3 people
    posted on September 21, 2008 by
  10. FAVDrupal theming list Views to display like menus

    PHP template module drupal phptemplate views saved by 2 people
    posted on September 1, 2008 by
  11. FAVSeparate theme for a specific node

    PHP template node drupal phptemplate saved by 1 person
    posted on August 26, 2008 by
  12. FAVRelated nodes to the current node by taxonomy term (2)

    PHP node module drupal block taxonomy saved by 1 person
    posted on August 21, 2008 by
  13. FAVRelated nodes to the current node by taxonomy term (1)

    PHP node module drupal block taxonomy saved by 1 person
    posted on August 21, 2008 by
  14. FAVDrupal: Add node content into block depending on page ID

    PHP module drupal block saved by 1 person
    posted on August 21, 2008 by
  15. FAVDrupal RelatedContent module: Block with links to related content

    PHP module drupal block saved by 1 person
    posted on August 21, 2008 by
  16. FAVOpen external URLs in a new window - Drupal

    PHP drupal Themes saved by 4 people
    posted on August 13, 2008 by
  17. FAVDrupal tip: Stripping out nested divs in views blocks

    PHP template drupal phptemplate saved by 3 people
    posted on August 12, 2008 by
  18. FAVDrupal function to return contents of a databasetable (for Debugging)

    PHP database debug drupal helper tool saved by 2 people
    posted on August 1, 2008 by
  19. FAVDrupal: View for blog content type

    PHP drupal views cck saved by 2 people
    posted on July 21, 2008 by
  20. FAVDisplay a list of themed $nodes

    PHP php textmate drupal saved by 1 person
    posted on July 16, 2008 by
  21. FAVPrint all defined vars

    PHP php vars defined saved by 1 person
    posted on July 11, 2008 by
  22. FAVPrint Drupal Node Variables

    PHP drupal saved by 3 people
    posted on July 7, 2008 by
  23. FAVDrupal Block Visibility: Show On Blog and Forums

    PHP drupal saved by 3 people
    posted on July 7, 2008 by
  24. FAVDrupal Block Visibility: Show On Forums

    PHP drupal saved by 2 people
    posted on July 7, 2008 by
  25. FAVDrupal Block Visibility: Check Node Type

    PHP drupal saved by 4 people
    posted on July 7, 2008 by
  26. FAVDrupal Block Visibility: Check Role

    PHP drupal saved by 3 people
    posted on July 7, 2008 by
  27. FAVDrupal Block Visibility: Check UID

    PHP drupal saved by 2 people
    posted on July 7, 2008 by
  28. FAVDrupal view to create a list of category terms

    PHP drupal views taxonomy categories saved by 2 people
    posted on July 3, 2008 by
  29. FAVGet menu item array

    PHP menu php textmate array drupal saved by 1 person
    posted on June 24, 2008 by
  30. FAVOverride System Table Settings in settings.php for Drupal

    PHP drupal saved by 1 person
    posted on June 12, 2008 by
  31. FAVUgly Template Hack to display contents of a view

    PHP drupal phptemplate views saved by 2 people
    posted on June 11, 2008 by
  32. FAVDrupal 5.x page.tpl.php template

    PHP textmate template drupal pagetplphp saved by 2 people
    posted on May 23, 2008 by
  33. FAVDrupal: New Comments Block

    PHP drupal views saved by 3 people
    posted on May 15, 2008 by
  34. FAVrandom favicon

    PHP html favicon saved by 3 people
    posted on May 13, 2008 by
  35. FAVcurrent weather favicon

    PHP info favicon weather saved by 2 people
    posted on May 13, 2008 by
  36. FAVIs the mail I sent, read or unread by the receiver.

    PHP header mail report receive saved by 4 people
    posted on April 30, 2008 by
  37. FAVAutomatic image width and height tags

    PHP images getimagesize saved by 3 people
    posted on April 24, 2008 by
  38. FAV301 redirection with php

    PHP saved by 3 people
    posted on March 31, 2008 by
  39. FAVDisplay pictures in the directory

    PHP list image glob picture saved by 8 people
    posted on March 22, 2008 by
  40. FAVViews argument handling code: get gid from pretty group path

    PHP drupal 9l saved by 2 people
    posted on March 20, 2008 by
« Prev [Page 1 of 4] Next »