简体   繁体   中英

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>

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM