Paid affiliate advertisement

College Site jQuery Tabs

llizards - October 24, 2007 - 01:00

I need to get a feature like yahoo main content area of the main site. jQuery Tabs for out different news items we have... Latest News, Athletics, Employment, and Possible Student Newspaper Articles.

All categories are using taxonomy terms.

=-=

VM - October 24, 2007 - 01:22

investigate the tabbed_bock.module with views.module or the panels.module and views.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

Insert View Module Might Also Do What You Need

TKS - October 24, 2007 - 02:31

http://drupal.org/project/insert_view
(That assumes you're using Views, of course.)

The New America Foundation site pulls views into jquery tabs in several places. We did it mostly at the template level, but also right in the body of a few nodes here and there.
____________________________
Troy K. Schneider
New Media Editor, The New America Foundation
http://www.newamerica.net
http:/troyschneider.com

We are using Views

llizards - October 24, 2007 - 03:20

Demo site is at http://pcc.screamingpeacock.com - the area for this is the light grey box in the top center area.

The the tabbed_block module could work, but what I like about yahoo is they have one major story at the top and 4 small headline below that when clicked they become the main item... That is really what I am looking for.

All news items will have at least one photo... I will be making that required.

How about something like this

nevets - October 24, 2007 - 03:49

Here is a block (not the tabbed part) that displays a single story and when you click a title below it replaces the "main story". Check out the top of the center column at www.gayweddings.com. (the site also auto cycles the content).

That will work for the

llizards - October 24, 2007 - 12:02

That will work for the tabbed content. I assume you are pulling the stories from a taxonomy term? Is that a view you created?

We would like to see 4 of the latest news items from the main college area, and athletics and up to 4 random Job openings. Each Being a separate tab.

That is actually produced with a custom module

nevets - October 24, 2007 - 14:34

If you contact me through my contact tab I can send you a copy (mention the promo module). Using the promo module you would "make" three blocks, one each for news, athletics and jobs (not sure about the random part for jobs). They would need to be either/or different content types or be tagged with different taxonomy terms.

You could then use either tabbed blocks or tabbbed pannels to get the tabs.

Use Panels 2

nedjo - October 25, 2007 - 03:28

and the Tabs Panel Style module, http://drupal.org/project/panels_tabs.

This gives you all the flexibility you need.

Note that there are other tabs solutions depending on your needs:

Views Tabs, http://drupal.org/project/views_tabs, enables the presentation of views on tabs

CCK Fieldgroup Tabs, http://drupal.org/project/cck_fieldgroup_tabs, allows you to assign given fields of a node to their own tabs in both forms and display.

I needed tabbed content at

zedquark - November 5, 2007 - 20:14

I needed tabbed content at one time and wrote this down for future reference. Works like a charm.

Create Tabbed Content using Views & JsTools

zedquark - two questions Is

omnyx - March 4, 2008 - 08:00

zedquark - two questions
Is the node-[ContentTypeName].tpl.php file empty or do I put something inside?
also, what exactly do you mean by

Two variables to edit.

* $module: Using Views
* $delta: Drupal View Name

isn't $module variable fixed (=views)?

thanks

 
 

Drupal is a registered trademark of Dries Buytaert.