Skip to content

User login

Gizra.com: Views and Panels Ajaxified

June 30, 2010 by Steve Hanson

Gizra.com: Views and Panels Ajaxified -

This is a handy brief tutorial on making your panels and views use Ajax

If you haven't read Roger Lopez Ajax without Javascript take a 5 minutes break and do it. If you are not a developer and all this code makes you frightened then you are excused. This post will also have a little code, but take a big breath and you'll see how easy it is to Ajaxify your Panels!

  1. Download this feature and the related modules
    drush dl ctools panels views
    drush en page_manager panels views_content views_ui story_list php -y
  2. Add a few story nodes (title and body), or use Devel generate module to do it for you
  3. Navigate to /story-test and you should see a list of the last 10 stories on the left and the body of the first story on the right
  4. Click on any of the titles and notice how the body text changes, without any page load. Hooray!

Lets go over the things we did to achieve this behavior:

read more

[Drupal Planet]

Comments

I also think that this will

December 8, 2011 by Anonymous, 9 weeks 1 day ago
Comment id: 37

I also think that this will make your work easier and it is also really use to use, is not so complicated as it seems to be or as you're sayin g in the article. You don't have to be a developer for understand this.

Optimizare SEO

AdaptiveThemes