Quick Tabs for D6 beta release - now with Views 2.0 integration, but was it worth it?
As far as Quick Tabs integration went, all I needed was a way of providing a drop-down list of all available Views so that people could add one for display in a tab. I had previously used the views_build_view() function then to display the view. There were a couple of hiccups in getting this to work in Drupal 6. Views_build_view() no longer exists but there is views_embed_view() which is slightly different because of the fact that you now have different displays per View. Probably the biggest challenge was getting a dependent drop-down to show all the displays for whichever View is selected. Let's just say I had an interesting journey through the Forms API, after my initial naïve effort that simply used AJAX to replace the options in the drop-down (synopsis: you can't add new elements or even select options to Drupal forms via AJAX without telling Drupal about them - see here for more info: http://drupal.org/node/150859). And the end result is a Quick Tabs creation form which may well get the prize for highest concentration of AJAX and AHAH craziness - which is not necessarily a good thing, as I'm worried my issue queue will prove soon enough.
Actually, the real low point came after I had done the bulk of the work and then suddenly it seemed that the new Views was so powerful it totally reduced the benefit of being able to add a View directly into a Quick Tabs block over just adding that View's block display (i.e. just adding a block that happens to come from a View). Well, fortunately, that's not quite true. The ability to use the same View in multiple tabs but passing in different arguments each time (an example of which is the "My Favourite..." QT block in my right sidebar) is, I think, justification enough for my continuing to include Views integration in Quick Tabs. I'm looking forward to feedback on this question.
Next on my to-do list: SimpleTest unit tests for Quick Tabs. And I might even request some Drupal Tough Love for it... if I dare!
Just so you know, I am using
Submitted by dundon (not verified) on Wed, 08/19/2009 - 01:08.Just so you know, I am using and investigating this module under 6 and will be posting/fixing new bugs etc as I find them (hopefully). First one coming right up, Diff integration! (with one line of code, I hope!)
Get high school diploma | GED Diploma | Online Diploma
Drupal 6
Submitted by Ramon1982 (not verified) on Wed, 02/10/2010 - 06:43.So hows the progress after 1 year, have things developed out of beta or is this dead/put on hold project?
Fuel | Energy
This is great news. I was
Submitted by Wim Mostrey (not verified) on Wed, 11/19/2008 - 08:55.This is great news. I was looking for something like this myself and tabbed mini panels is only available for Drupal 5 so I custom coded this myself for Drupal Digest using the tabs module.
The Quick Tabs module seems to do exactly the same, nice work!
Quick Tabs Will be my Savior
Submitted by CitizenKane on Mon, 08/04/2008 - 22:36.Actually, I greatly appreciate this because I'm doing a website (a rather large one actually) that will be using this all over the place. So thanks in advance, I'll try to remember to post a comment or something when the site is up. I do know that without quick tabs I would have had to do this by myself, which I was not looking forward to.
i'm hoping to bang through at
Submitted by Wilmore (not verified) on Wed, 08/19/2009 - 01:10.i'm hoping to bang through at least a beat by the end of the month. if folks can swarm on the bug report issues and hammer the 6 dev version, it'll help us move things along. moving to active
Accredited High School | Homeschool diploma