Customizing Module Builder Templates

Posted by Community Admin on 04-Aug-2018 00:20

Customizing Module Builder Templates

All Replies

Posted by Community Admin on 04-Apr-2012 00:00

Hello,

I created a custom module using the module builder and want to customize the generated template to wrap the link around the image as below but it does not work and the image is not displayed. 

<ItemTemplate>
    <li class="sfitem sfClearfix">       
       <sf:DetailsViewHyperLink ID="DetailsViewHyperLink" TextDataField="Title" runat="server">
               <sf:AssetsField runat="server" DataFieldName="Photo" />
      </sf:DetailsViewHyperLink>               
    </li>
</ItemTemplate>

Can this be done using the generated widgets?

Thanks in advance,
Fadi Raheel

Posted by Community Admin on 04-Apr-2012 00:00

Worked by removing TextDataField="Title"

Posted by Community Admin on 16-Apr-2013 00:00

Hi,

We are glad to hear that you have found where the problem comes from. Thank you for sharing the information with the community.

Greetings,
Stefani Tacheva
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed