Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.9
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Jul 2010 at 22:46 UTC
Updated:
10 Aug 2010 at 23:10 UTC
I've created a view which uses the title field, and opts to output it as a link to its node. No problem.
I have another field which is rewritten, and uses the title (Node: Title) token. But this is also output as a link, which I don't want because it breaks some HTML. I have:
<a href="[field_mp3url_value]" title="[title]" type="audio/mpeg"></a>
If I disable the title field being output as a link , then this solves the rewrite issue, buy then my title does not link to its node.
Is there an obvious workaround?
Comments
Comment #1
iantresman commentedA bit of thought, and the problem is solved. I simply left the original title field linked to its node, and add a second title field, hidden and unlinked, and used its token. Just had to make sure that the new title field appeared before the required field, by changing the sort order.
I now have the Yahoo Media Player working on my site, after adding the following snippet to my page.tpl.php file:
<script type="text/javascript" src="http://mediaplayer.yahoo.com/js"></script>Comment #2
dawehnerso.