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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | views-register-buttons.png | 3.91 KB | Tino |
| views-register-field.png | 55.9 KB | Tino |
Comments
Comment #0.0
Tino commentedtypos
Comment #1
Tino commentedThis is how the button looks because of this.
Comment #1.0
Tino commentedtypos
Comment #2
mustanggb commented