The #INTRODUCTION tag displays an extract of the contents of an SQL "text" field (if the table has such a field). For articles, this extract is drawn from the "Brief description" field if it has a value, else from the "Standfirst introduction" field appended by the "Text" field. The extract can also be explicitly defined when writing the content, by framing it with <intro> and </intro> mark-up tags.

An argument can be passed to define the maximum length of the introduction (the default is 600 characters):



Provide the HTML meta tag "description" with an introductory text about the article pages (example in squelettes-dist/article.html) :

<BOUCLE_principale(ARTICLES) {id_article}>
[<meta name="description" content="(#INTRODUCTION{150}|attribut_html)" />]

Display the 10 most recent articles with an introduction of their contents:

        <BOUCLE_articles_recents(ARTICLES) {!par date} {0,10}>
            <h3><a href="#URL_ARTICLE">#TITRE</a></h3>
            [<div class="#EDIT{intro} introduction">(#INTRODUCTION)</div>]

Author Mark Baber Published : Updated : 11/03/17

Translations : English, français