Forums / Setup & design / "Read more..." in ezwebin

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

"Read more..." in ezwebin

Author Message

Frédéric Peyron

Monday 10 November 2008 12:46:20 pm

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

Martin Ulrich

Thursday 13 November 2008 3:39:23 am

   {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}

_______________________

http://artenic.de ARTENIC - Publishing mit allen Mitteln!