I've spent the past days pimping my first real Quick Tabs implementation (http://observers.gohernandez.com/election/results/2005/kabul) and just wanted to share.

This proof of concept uses QT, AJAX, views, pass-through arguments, views theming, and Google Charts. It's a port of the 2005 Election Results for Afghanistan from an ASP/Access build I did on contract in 2005 (http://d8680609.u106.forthost.com/province.asp?ProvinceID=1).

Constructive feedback is always appreciated. For example, I know the CSS could be condensed a bit but it's my theme from the bottom up, and before I release it, I will definitely clean that up a bit.

Comments

equalspeterd’s picture

Any chance of posting a tutorial on how you accomplished this? It's a great example of composing multiple modules together for customized presentation.

abendy’s picture

Would also love some tips on refreshing a view with ajax & view arguments

santam’s picture

Hi a very very nice demonstration. And a very viable project indeed. As above a tutorial would be highly appreciated. This is a great way of demonstrating the flexibility of drupal too.

betovarg’s picture

Very nice indeed! i found this when googled for a demo, because the official demo is dead. Im downloading and installing.

pasqualle’s picture

changed QT demo link to this issue, till an official demo site is not functional..

defconjuan’s picture

Awww.... I'm not sure when I can get to a demo but feel free to scrape the css/js/theme as you wish. I'm in the process of migrating servers and in doing so, I'm updating these sites from 6.04 to 6.20 (before the inevitable D7 migration) so hopefully soon, I'll have a 6.20 compliant version up.

sdrews’s picture

Very nice work! I have a QT project and my problem is with equal columns. The heights of my two areas (left sidebar & main content) are calculated on load which works fine for the first/default tab view. But, the heights are not being adjusted as user click through the tabs - which have different heights. How do you control that function?

chaosmind’s picture

I'm not sure if this is "constructive feedback," but that is completely awesome. and exactly what i was looking for, thanks!

and let me add a "bump" to that comment asking "Any chance of posting a tutorial on how you accomplished this?" a tutorial on how to recreate the functionality of that page would be most excellent.

js’s picture

Very nice. What module, if any, did you use for Google Charts? Did you use Views for the charts?

bolo79’s picture

How did you alter the list classes for the tabs?

GreenLanterrn’s picture

Great job,

& I add my voice to those who would love to have a detailed (or simple) tutorial on this views/qt integration and the google charts api usage is quite impressive as well

Awesome exercice

dubois’s picture

Awesome and inspiring.

tcroarkin’s picture

Looks very useful. Just wondering if the scripts associated with the charts run in the background when the tab is not open. I have charts that notify my when the values reach a certain level and would need to know when there is an issue whether the tab is open or not. Any input would be appreciated. Would also love a tutorial.

larkydoo’s picture

Nice! Thanks for posting.

nandwabee’s picture

Just curious.What did you use for the map there?Thanks

Nora McDougall’s picture

I agree with the trend in the previous comments:
1. Way cool implementation
2. How did you do it?

defconjuan’s picture

StatusFileSize
new62.12 KB
new87.93 KB
new84.36 KB
new81.39 KB
new43.05 KB
new89.44 KB
new59.98 KB
new36.67 KB
new105.05 KB
new16.07 KB
new30.5 KB

Here's some screenshots of the important steps and configs (which are basically the same in 7.x). The quicktab set in the demo below uses just 1 quick tab set, and 2 views.

01 - Go to your QuickTabs admin

http://drupal.org/files/QT 01.png




02 - Edit/Create the Quicktab Set

http://drupal.org/files/QT 02.png




03 - Add Tabs to Quicktab Set

These are all of the tabs in the demo linked above. I'm passing some arguments, and setting some manually as you can see in the "argumetns" settings.

http://drupal.org/files/QT 03.png




04 - 'e_results' View

The important settings are highlighted.

http://drupal.org/files/QT 04.png




05 - 'e_results' View Path Settings

http://drupal.org/files/QT 05.png




06 - 'e_results' View Argument Settings

http://drupal.org/files/QT 06.png




07 - 'candidates' View

The important settings are highlighted.

http://drupal.org/files/QT 07.png




08 - 'candidates' View Argument Settings

http://drupal.org/files/QT 08.png




09 - 'candidates' View Argument Settings

http://drupal.org/files/QT 09.png




10 - 'candidates' View Argument Settings

http://drupal.org/files/QT 10.png




11 - 'candidates' View Path Settings

http://drupal.org/files/QT 11.png

ocim’s picture

Wonderful!Thanks.

avpaderno’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I am closing this issue, since it's for a Drupal version no longer supported.