Dotclear

Vous n'êtes pas identifié(e).

Annonce

13 février 2024 Sortie de Dotclear 2.29

#1 2021-09-09 11:53:25

Sasscat
Membre
Inscription : 2021-09-09

Message preview and single line posting

I was wondering if there was a way to limit post preview to say 1 line of text instead of the entire post.
Plus. anyway to get the posts when typing to single line (no spacing) instead of double spacing?
Thank you!

Hors ligne

#2 2021-09-09 12:47:14

Philippe
Stagiaire
Lieu : Toulon
Inscription : 2004-06-13
Site Web

Re : Message preview and single line posting

If I understand well your question, you could modify the context template file, say home.php, to display only a certain number of characters:

{{tpl:EntryContent full="1" cut_string="50" remove_html="1"}}

See tpl:EntryContent and Attributes common to every template tag in dotclear's documentation

Hors ligne

Vous n'êtes pas identifié(e).

Pied de page des forums

Sites map