There is a check box in the fields area (once you add a field) which opens up the doors for a ton of cool features without having to code tpl files etc.

 

You can see a sample image at http://www.rivervalleytechcollective.org/files/thebutton.png

Once you click this a field appears under it where you can enter html and token like fields.

The tokens happen by adding field above it. Any fields above it can be called to in this field. You can then set those fields to exclude from view to have them not show up twice.

Here is an example code.

<a href=/node/[nid] class=cluetip title='[title]|[body]'>[title]</a>

So here I am calling to the NID field and the BODY field above.

Cause I loaded the http://drupal.org/project/cluetip module I then joined the two fields in the title area so you get a pop up bubble when you hover over the URL.

Simple but a nice feature.

Then next trick will be http://drupal.org/project/popups module and editfield module.

Comments

rezvani63’s picture

I have installed Cluetip and Popups and following above instructions for Views, but I'm not getting expected result. The result is actually displaying all html codes along with text from title and teaser inside popup box. It seems the class name ("cluetip") is not recognized, I tried "title" class as well, following cluetip demo but no result.
Actually this is my code inside views:

<a href="/node/[nid]" class="cluetip-title" title="[title]|[teaser]">

The Cluetip is enabled in JQ settings page.
How can I solve this problem?

domignon’s picture

You can remove the attribute 'Link this field to its node' in the editing form of the title field

fishfree’s picture

Thank you for your tips! I need not write any code!