Category: drupal

  • Drupal & CKeditor Load Configuration Settings On Dynamic Page

    In Drupal the ckeditor hooks into form so that it populates all of the profile configuration information on page load. This works pretty well unless you use an ajax call to dynamically load a textarea. This code will allow you to pull that info for a given profile and place a ckeditor on the textarea. […]

  • Drupal – Pass Data To Template File

    Probably most useful for passing large blocks of data that can be iterated over from within the template file. Using this method allows the developer to keep the application logic separate from the presentation layer. The data being passed in would most typically be an array. 1) Create the function that will generate the data […]

  • Update To Drupal 7.2 The Easy Way (SSH)

    After backing everything up… # get the upgrade wget http://ftp.drupal.org/files/projects/drupal-7.2.tar.gz # uncompress it tar xfzv drupal-7.2.tar.gz # copy all files to my document root cp -r drupal-7.2/. /www/. found here