Views links, generally allow you to override the link attributes under "Rewrite results" -> "Output this field as a link". Also, on link fields, the "Link path" under "Rewrite results" -> "Output this field as a link" is automatically not available to prevent overriding the link path, but to allow changing the attributes (Example: Edit link).

This feature currently seems to be not available when using Views Megarows. Thanks in advanced for the feature request consideration.

As a workaround for classes, I am changing the following manually to support this:

/includes/views/handlers/views_handler_field_megarow_links.inc - Line 111

From:

$links[] = $this->getLink($label, $url, array('class' => array('views-megarow-open')));

To:

$links[] = $this->getLink($label, $url, array('class' => array('views-megarow-open fa fa-eye')));

I haven't yet found a workaround for the link title.

Comments

NWOM created an issue. See original summary.

NWOM’s picture

Issue summary: View changes
NWOM’s picture

Title: Support Views - "Link class" configurable field » Support Views - "Link class" and Title text configurable fields
Issue summary: View changes
NWOM’s picture

Category: Feature request » Support request
Status: Active » Closed (works as designed)

This is no longer necessary, since the class can be added to the Field Style.