The 7.x-3.3 release of views has an added field for contextual links http://drupal.org/node/1019486 to field displays. When adding the publish content field to this new contextual field it displays the whole link as plain text instead of a click-able link.

In the publishcontent_views_handler_field_node_link.inc file, if the views_handler_field_node_link class is used instead of views_handler_field then it can use the render_link() method as opposed to just the render() method.

Comments

segovia94’s picture

StatusFileSize
new2.35 KB

Here is a patch to try out.

segovia94’s picture

StatusFileSize
new2.36 KB

Sorry, I had some whitespace issues in that last patch.

robcarr’s picture

Status: Active » Needs review

Just tried the patch and used with Views 3.3. Works fine - thanks @segovia94

I can stop banging my head against the wall now.

rogical’s picture

Status: Needs review » Reviewed & tested by the community

Works and thanks!

aaronbauman’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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