how do I display term image, and term fields before the node display on /term/#

pursuitofliberty - October 14, 2009 - 02:59

http://suitupscene.com/taxonomy/term/112/all

The site above is doing precisely what I want to accomplish.

For every term they are assigning a Image using Taxonomy Image, then they are just displaying the Name of the Term.

Below this they show all of the nodes associated with it.

I could imagine this working with two views with arguments on a single page, one to show to the term image,fields and the other to show the list of nodes for the term in a table format. If two views could be made to work together like that, and I'm not sure how, maybe with Attach.

But what they did is customize the actual output of the /term/.

I want to show the image, the name, but also the applicable fields from Taxonomy Fields module.

How can this be accomplished?

------------

http://suitupscene.com/scenes/aliens/locker-rooms-bad-centerfolds-and-th...

Also on the above page you see how nicely the tags are divided into separate groups and styled. Can this be achieved using something like contemplate, if so... how?

got it

pursuitofliberty - October 14, 2009 - 21:12

got it myself...

http://drupalsn.com/learn-drupal/drupal-questions/question-2650#comment-563

I created 2 new views.. one block to show the term info (passing arguments to block using above technique)
and another view... in page form replacing the /taxonomy/term/% path that displays nodes in a table....

Huge note! When adding PHP code to view arguments to get the block to work dynamically, don't use the PHP start/end syntax! Had myself going for an hour over that until I read the little description note on the bottom... doh

 
 

Drupal is a registered trademark of Dries Buytaert.