TAMAN Posted January 15, 2016 Posted January 15, 2016 Im trying to customize a page i have created but im stuck because working with url field is a pain in the ass there no way to add elements inside links and the link to be controlled with the field for example i have this in my template <a href=" {$record->customFieldDisplayByKey('clan_website', 'display')|raw} "> <div class="pmi_title2"> {$record->customFieldDisplayByKey('clan_name', 'display')|raw} </div> </a> the clan_website field is a url field but the url field already adds the link inside a tag and if i choice a text field type the out put adds <wbr> tags between the link any idea?
opentype Posted January 15, 2016 Posted January 15, 2016 $record->field_ID gives you the raw field content without anything added to it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.