Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide component link in Dreamweaver Template

Dreamweaver template is using the following code to generate the component link. Can this be set up in a way to hide the actual text if the component link has not got a landing page?

  <a tridion:href="@@Component.ID@@">@@Component.Fields.Title@@</a>
like image 864
fsnova Avatar asked Dec 31 '12 07:12

fsnova


1 Answers

You can use the attribute: tridion:textonfail="False" to hide text if the link cannot be resolved (no landing page). Default value is True

like image 192
Puntero Avatar answered Sep 25 '22 16:09

Puntero