Jump to content

Pages how to add a div inside in url fields?


TAMAN

Recommended Posts

Posted

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? 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...