Creating View Tabs

Create:
Author: heritage
See: http://drupal.org/node/87195 Example: see views JK by city and JK by country: http://ismaili.net/heritage/jk_view http://ismaili.net/heritage/jk_view/all http://ismaili.net/heritage/jk_view2 See the Menu section in the Page section of the Views. JK by city is the default tab, and I needed to add /all to its url for it to be routed properly. JK by country has JK by CITY as the parent tab
Audience

Displaying Entries in a block with same term as page

Create:
Author: heritage
Great entry that works: http://drupal.org/node/70145#comment-1318538 displaying only nodes in a block view with the same term as page arbel - March 5, 2009 - 00:43 here's something that might help out someone, for views 1 with drupal 5 argument code for displaying only nodes in a block view with the same taxonomy term as page if ($view->build_type == 'block' && arg(0) == 'node' && is_numeric(arg(1))) { $node=node_load(arg(1)); $term = taxonomy_node_get_terms_by_vocabulary($node->nid, 1); //change the 1 for the vocab id $args[0] = key($term); } return $args; Used here in the view "Search_Images_country" to display on place pages, a block of images of JK's from the same country.
Audience

20090727 - Aga Khan Tours Kenya Centre for Heart

Create:
Author: admin
Date
His highness the Aga Khan, spiritual leader of the Ismaili Muslims, today visited the construction site of the $50 million heart and cancer centre of the Aga khan university hospital (Nairobi), which is expected to be completed in 2010. The centre will be the first in the region to provide high quality cardiac and oncology care to patients using state-of-the-art technology and equipment, and will be a part of the aga khan universitys faculty of health sciences, east Africa first premier private medical school.