Notes from moving from Drupal Views 2 to Views 3 Alpha
I decided to jump into Views Alpha 3 because I wanted to explore the Views Infinite Scroll module, and I have a friend using it on a large production site without any problems. Here are some notes from the upgrade experience.
No update.php run was required - nice.
I did get a WSOD on the /admin/build/views page, but I CTFC and all was good.
Here's the new interface, which looks a lot like the old one:

On one of my side blocks, a pager suddenly appeared, so I had to change the pagination settings here:

This is cool, the number of items and pagination settings have merged into a single setting.
I also started to notice that the configuration blocks are ordered a bit differently. There are basic and advanced settings panes now, and the new ordering does seem to make more sense, though it's hard to tell if it would make more sense to someone new to Views.

Ah, I've been wanting this feature, the ability to re-order the displays.

When setting pagination options, you can expose inputs for the number to show and the offset. Even though I think this is usually clutter, it's a common request from clients to have the ability to set the number displayed.
I installed the Views Infinite Scroll module (and the associated jQuery plugin, after some wheel spinning), and selected it as the pager option for my view. At that point, it said that it was incompatible with Ajax, which makes the search box above my view less responsive. So, I'll have to leave it to the default Views pager. I also kept getting this error, even after turning Ajax off on the view:

My friend also suggested that I upgrade Views Bulk Operations to the latest 6-3 dev release, which at the moment is here. No problems there, and it also didn't require an update via update.php.
Recent blog entries
Twitter feed:
- Letter to a disgruntled module user http://is.gd/eLI2y3 days ago
- How to easily upgrade Drupal from one minor version to another with a patch file http://is.gd/ezL2s1 week ago
- Restarting my mac for the first time in 24 days #fb2 weeks ago
- Why does it always catch me off guard when people don't look like their profile pics? I should be used to this from my internet datin... #fb2 weeks ago
- @rock_soup What command was that?2 weeks ago
- @dale42 A belated agreement about the devil's work in absolute URLs. :)2 weeks ago
- Save the Planet! Well, the Drupal Planet (actually, the Drupal Planet log files) http://is.gd/egxwt2 weeks ago
- The Save Joseph campaign is over, thank you! (plus, summarization of social networking techniques applied) http://is.gd/eb1Y1 #fb3 weeks ago
- @simonsurtees Great re:evernote offer. In next steps I want to improve API and allow for collaborative content creation. Should be fun!4 weeks ago
- Only 12 hours left to Save Joseph - $150 bounty, infinite karma points, excitement abounds! http://savejoseph.org #fb4 weeks ago
Topics
- activism
- apple software
- book reviews
- design
- Drupal
- drupal administration
- drupal community
- drupal events
- drupal modules
- drupal resources
- freaky stuff
- geeky entertainment
- iphone ipod touch
- jquery
- learning
- life hacks
- looping
- maps
- minimalism
- music
- philosophology
- presentations
- productivity
- rambling
- restraint
- software
- theming
- treadmill desk
- usability
- usability testing
- video demonstrations
- web hosting
- original songs
- This American Life
- evernote
Blog archive
- March 2009 (2)
- April 2009 (15)
- May 2009 (10)
- June 2009 (3)
- July 2009 (3)
- August 2009 (6)
- September 2009 (2)
- October 2009 (4)
- November 2009 (3)
- December 2009 (1)
- January 2010 (1)
- March 2010 (1)
- June 2010 (1)
- July 2010 (46)
- August 2010 (5)










Comments
Hi Chris, nice series of posts that you are writting, very useful :)
Reorder of displays is awesome! I was looking for something similar and the only think I found was this module http://drupal.org/project/views_clone_display
Hey, that's nice! Cloning a display is something I've had a need for in the past. Thanks for the tip!
Thanks for the posts. Just wondering why you all like the reorder feature?
Al
For me, I sometimes have 10 different displays, and the ability to order them in a meaningful way can be useful. I'm pretty sure everything cascades directly to the default display, but one thing that would make the ordering even more useful is a cascade through each display, so every display has a chance to override defaults for all the displays after it.
Wow...great notes you got here.
You point out the combination of the pager and number of items as a single item, but you don't note that it only seems to be available at the default level. It is not available, as far as I've been able to find at the Block or Attachment level. So if you want a page view that shows, say, the top item as a full node attachment and the next nine items as an ordered list of linked titles in the page view itself, there no longer seems to be a way to do that.
Interesting, I'll have to take a look at that when I get a chance to play with Views 3 a bit more. Cheers!
Post new comment