Link to node title doesn't work anymore since update to views 2.3

ec - March 15, 2009 - 20:31
Project:Exhibit
Version:6.x-1.x-dev
Component:Tabular view
Category:bug report
Priority:critical
Assigned:jhuckabee
Status:active
Description

Hi,
I was using exhibit with views 2.2 for a while and no problem. But since the update to views 2.3 the link to the node title in exhibit doesn't work anymore though when I check the views preview the link to the node from the title works as expected.
Any idea concerning this?
Thanks, regards,
Eric

#1

diodata - March 18, 2009 - 20:37

I've experienced the same problem. Hopefully that can be fixed relatively easily.

The only workarounds I came up with were the following, neither ideal solutions:

1) create a dynamic URL using the node id (doesn't point to URL alias though) as described in http://joshhuckabee.com/getting-started-exhibit-using-drupal-and-views-p...

2) add the Node: Link field to the view and use that as your link. I put it immediately after the node title as (view).

#2

ec - March 20, 2009 - 11:32

Hi Diodata,
Thank you for your workaround. Though my issue is mainly for tabular view and I'm not sure how to do that in this mode.
Neverless, the link to the node title was working with views 2.2 thus it should work to with 2.3. So my feeling is that there is something wrong somewhere. And newcomers will espect it to work too!
So this is something we need to sort in a better way if possible.
Regards,
Eric

#3

diodata - March 20, 2009 - 16:35

I've used my workaround #2 in tablularview. However, it's not really what you would like functionally, nor is it clean or elegant. So, we'll need to get the "link to node title" working again.

#4

jhuckabee - April 8, 2009 - 21:05
Assigned to:Anonymous» jhuckabee

I will take a look at this. I hope to have a fix in the upcoming 1.0 release.

#5

ec - April 20, 2009 - 13:20

Hi Josh,
Thanks for having a look to this issue. It looks like this still apply for the last views release (2.5).
Regards,
Eric

#6

ec - April 20, 2009 - 14:07

When looking at the file exported by a view in 2.5 used for exhibit, there is no reference to a link to the node title i.e, for example, now there is no "href = \something" to link to the title !

#7

ec - April 20, 2009 - 14:39
Priority:normal» critical

#8

diodata - April 22, 2009 - 18:43

Josh,

Do you have any news on this? Were you able to fix the problem?

#9

diodata - May 1, 2009 - 19:54

I just upgraded to 6.x-1.0-beta1 and Link to node title still does not work for me.

#10

diodata - June 6, 2009 - 03:34

Any progress on this? Could the following be the issue, using advanced_render() instead of render()?

http://drupal.org/node/407308

#11

diodata - June 24, 2009 - 15:54

That above link (http://drupal.org/node/407308) was the issue.

In the exhibit module folder, under contrib, exhibit_views, just edit the views_plugin_row_fields_exhibit.inc file. Line 36 should be (according to the beta1 2009-05-01 release),

$value = $field->advanced_render($row);

Basically, this is changing "render" to "advanced_render." Not sure of any further implications of this but it seems to work for now.

#12

dkocis - June 25, 2009 - 20:19

That worked awesome thanks!

 
 

Drupal is a registered trademark of Dries Buytaert.