Posted by bfr on October 16, 2009 at 10:40am
Jump to:
| Project: | Content Construction Kit (CCK) |
| Version: | 6.x-2.7 |
| Component: | Views Integration |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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?
Comments
#1
Move to CCK Issue queue, because cck nodereference provides the field handler.
#2
In Views UI, select the node reference field from the Fields list, then choose the format that renders the field without link.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.
#4
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.
#5
Issue still stands; using nodereference with editablefields click to edit doesn't work out of the box. If people are unsure about what bfr means with editing the widget:
nodereference.module (300-ish) sets the default and no link behavior. Simply switch the labels on the functions fixes the problem, while the functionality remains with the title (no link) option - dont forget to edit the label tho, just to keep things clear :)
Is there a particular reason why the default behavior is a link? Otherwise it might be an idea to make this switch permanent..
#6
Any problem getting editable fields to work should be reported on the editable field issue queue. This is a closed issue that had to do with selecting the right formatter, which is a different issue. The link is the default because that's what most people want when the use a nodereference, we're not going to change the default because of editable fields (which is used by a tiny fraction of all the people who use this module.) That change would break every existing site that uses the default -- thousands of sites over the two or more years since the D6 version has been in use.
#7
true true, didn't think of that :)
will report the issue over at editable