I have a hidden field with a link to a node that I want to use in the next field as rewrite: [view_node] == Content: Link

This next field is a register link, that will not be available for every row. This link points to the register tab of the node, but I need it to point to the full node. So I rewrite the result and replace it with with [view_node]. This is working, but the link to the edit page is still outputted (without text). Like this

<td class="views-field views-field-register-link button">
  <a href="/node/35/register"></a>
  <a href="/node/35">Register</a>
</td>

How can I avoid this the first <a> from being outputted?
Eventually I am CSSing these links into buttons, hence the button-class. A little piece of a button is now shown for the first link...

What am I missing or doing wrong?
I also test this with a simple edit-link. Same output.

Thanks.

CommentFileSizeAuthor
#1 views-register-buttons.png3.91 KBTino
views-register-field.png55.9 KBTino

Comments

Tino’s picture

Issue summary: View changes

typos

Tino’s picture

StatusFileSize
new3.91 KB

This is how the button looks because of this.

Tino’s picture

Issue summary: View changes

typos

mustanggb’s picture

Issue summary: View changes
Status: Active » Closed (outdated)