Hi,

I'm sorry for this request, but I haven't been able to figure this out... this is my first time using Views.

I have a CCK node and have created a view to show a list of them on a page. What I can't get is a link from each item in the found list to it's corresponding node.

Please, point me in the right direction.

Thanks!

Dan

Using Drupal 4.7.2
Latest CCK
Latest Views

Comments

RayZ’s picture

In the views I've worked with the node titles are (automatically) links to the corresponding nodes.

kindafun’s picture

Oh boy. Thanks.

I didn't want to use that field because it has more in it than I wanted to show, but... that is the answer.

Thank you.

merlinofchaos’s picture

You can always add a link to the node via theming.

In current Drupal, a link will always be l('text for link', "node/$nid") and ->nid is always available in the query results that views sends.

sijuwi’s picture

Related to this, I can't theme for table view, I have a column of emails which i want to make 'live' ie add the mailto: bit. Could anyone help me with the code for this. The wizard that come with views provides the theme and template.php code for lists but not for table view and I don't have the programming skills to make my own.

rtdean93’s picture

I would like to make URLs active also on my table view, but do not have the programming skills either.

merlinofchaos’s picture

I added a simple link to node that doesn't have to be the title, but can't be dynamic.

For the mailto stuff: If you aren't able to theme it, you're out of luck, I'm sorry. Try posting to the forums for help with theming, you might get an answer.

merlinofchaos’s picture

Status: Active » Fixed

Views 1.1 will contain a more flexible link to view a node as a field.

Anonymous’s picture

Status: Fixed » Closed (fixed)