I created a view (unformatted) associated with a content type with two simple fields for a block. The view is called "phrases" have generated two .tpl:
a) views-view-unformatted--phrases-block.tpl.php (to style row).
b) views-view-fields--phrases-block.tpl.php (to style the fields).
How to generate the link to the content, because by the variables I do not receive the direction I need.
I have available only the variable "$content", but this is formatted with something like:
<span class = "field-xx-xx"> <a href="path/to/correct/content">Path</a> </span>
I need to assign a class to the "a tag" , but as I receive all formatting can not.
Example i need:
<div class="my-class"> <a class="my-link-class" href="path/to/correct/content">Path</a> </div>
As I can generate the correct path to the content?