Cannot disable link from node reference field.

bfr - October 16, 2009 - 10:40
Project:Content Construction Kit (CCK)
Version:6.x-2.x-dev
Component:Views Integration
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi!

In my have nodes with these fields:

date (datetime)
project (node-reference)
duration (number)

i have created time tracking application with views calendar, so that user sees how many hours
he/she has marked for the project each day from a calendar, so each day of the calendar shows
those same fields(except day is hidden since the calendar shows the dates anyway).

Problem is, the node reference fields in the view get linked to the node it references, which i do not want. Is there a way
to prevent this?

#1

dereine - October 25, 2009 - 09:31
Project:Views» Content Construction Kit (CCK)
Version:6.x-2.x-dev» 6.x-2.x-dev
Component:Miscellaneous» Views Integration

Move to CCK Issue queue, because cck nodereference provides the field handler.

#2

markus_petrux - October 25, 2009 - 10:49
Status:active» fixed

In Views UI, select the node reference field from the Fields list, then choose the format that renders the field without link.

#3

System Message - November 8, 2009 - 10:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#4

bfr - November 17, 2009 - 15:55

The problem was that i needed to choose format "click to edit" which comes from editable fields, and that defaulted to the one with link.
Ended up editing the nodereference widget to change the behavior.. i hope this wont brake any other modules that need the link.

 
 

Drupal is a registered trademark of Dries Buytaert.