Drupal behaviors

Long version: Drupal.behaviors is not simply a replacement for jQuery.ready since the latter only runs once (when DOM is ready for manipulation): behaviors can be fired multiple times during page execution and can be run whenever new DOM elements are inserted into the document. Also, modules could override or extend an existing behavior (e.g. if … Read more

How Drupal works? [closed]

Drupal can be confusing on this front, partially because it has a relatively deep function stack. Although it’s procedural PHP it’s purely event/listener driven in its architecture, and there’s no simple “flow” in the main PHP script for you to look though. I recently did a presentation on this very subject, and the slides are … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)