We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10903
    • 23 Posts
    Hello

    I am using Ditto to publish the last 4 items in a news folder on the homepage. The template of a news item contains 2 TV’s: thumbnail (image) and thumbnailAlt (text). The TV thumbnailAlt is used within the widget of the TV thumbnail to allow content managers to define a custom alt-text for each thumbnail. Something like this:

    Widget properties Alternate text: [*thumbnailAlt*]

    This seems to work fine when displaying the thumbnail and alt-text on the news item page itself. However the alt-text is not displayed when publishing the items on the homepage via Ditto.

    Any ideas? Suggestions are very welcome!
    Gino
      • 18397
      • 3,250 Posts
      Could you provide your Ditto call and template?
        • 10903
        • 23 Posts
        Hello Mark

        The call:
        [!Ditto? &tpl=`NewsOverviewTpl` &startID=`9` &summarize=`2` &displayArchive=`0` &total=`2`!] 


        The template
        <div class="newsItem">
        <h3>[+date+]: <a href="[~[+id+]~]">[+title+]</a></h3>
        <div>[+tvthumbnail+][+summary+]</div>
        </div> 


        Suggestions?

        Many tnx
        Gino Lardon