-
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. […]
-
PHP Script to list and display all images in a directory
-
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 […]
-
Php long running script to dynamically update html
This code is a work in progress and should never be used in a production environment without extensive testing! First, the page that is loaded into the browser, it uses jQuery to receive status updates from ‘getstatus.php’ script Update Inventory Long Running Script This is the long running script simulator And getstatus.php, the script that […]