eZ Community » Forums » Setup & design » "Read more..." in ezwebin
expandshrink

"Read more..." in ezwebin

"Read more..." in ezwebin

Monday 10 November 2008 9:46:20 pm - 1 reply

Hi,
How can I display the "read more..." link at the bottom of the article summary, when (and only when) a body exists. Indeed, it is not really evident for the users that the article is bigger and they must click on the title to view the body.
Also I would like translate this link ("lire la suite..." in french)
(I am using the ezwebin package)

Thanks for your help
Fred

Thursday 13 November 2008 12:39:23 pm

   {section show=$node.data_map.body.content.is_empty|not}
        <div class="attribute-link">
            <p><a href={$node.url_alias|ezurl}>{"Read more..."|i18n("design/base")}</a></p>
        </div>
    {/section}

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from