How to reload the page after a successful Drupal AJAX Form submit? You many run into this question, for example, if you're using complex AJAX Forms and as a result so many things change, that you need to reload the current page or form
Ajax
Whao, that wasn't as easy as I thought. I wanted to print out the two top level breadcrumb elements, without "Home", with node title in a custom block. I tried it in many different ways but ran into surprises every time. So finally I'd like
Ein typisches Problem im Umgang mit AJAX ist die (re-)Initialisierung von Scripts auf den nachträglich geladenen Inhalt. Im JTL-Shop 4 stößt man darauf beispielsweise auf Kategorieübersichten bei der Seitennavigation. Viele Systeme, viele
I created this issue and snippet as better entityreference.module autocomplete widget usability solution in: 2571107.do
If you're running into the JavaScript alert error message on creating an AJAXified node form: Call to undefined function node_form_validate() ... ... the reason might be that the $form_states array contains wrong information which files to
Sometimes you need a snippet to display the drupal messages (drupal_set_message) created messages after an ajax call as result (for example if a node was created via ajax). The following snippet removes old messages from the site and
Drupal 7 views.module allows to refresh ajaxified views dynamically via a javascript call. Implementation in JavaScript The JavaScript call is simple: jQuery('.view-id-XXX').trigger('RefreshView'); Implementation in PHP
If you should run into the same problem as I did and wonder that your AJAX callback results return in the wrong language, you may have missed to add the language (path) prefix to the AJAX call! AJAX calls determine the language from the
This post saved you a lot of time and headache?
Then I'd be very happy about a delicious coffee! Or a helpful book from my wish list.