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

Comments

diodata’s picture

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).

ec’s picture

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

diodata’s picture

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.

jhuckabee’s picture

Assigned: Unassigned » jhuckabee

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

ec’s picture

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

ec’s picture

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 !

ec’s picture

Priority: Normal » Critical
diodata’s picture

Josh,

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

diodata’s picture

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

diodata’s picture

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

http://drupal.org/node/407308

diodata’s picture

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.

dkocis’s picture

That worked awesome thanks!

clcallahan’s picture

I kept hitting a wall trying to find why my exhibit page didn't show the node title linked to the node. This simple change fixed the problem. Thanks!

ec’s picture

@diodata, thanks a lot for the fix, which works nice and solve my issue.
eric