Article editable

On this page

Overview

An article editable will hold the content of the article. The editable is visible to the user in a blue frame on the articles.single.tpl where the user can edit the content that the article should contain.

The article editable should only be used inside the articles.single.tpl.

 

Below is a table of all the available editables inside an article.

Name Description
article_editable The article content
article_editable_or_default The article content for the current locale or default locale (see note)

 

You can only use one editable per article.

When using a drop that has _or_default e.g. article.editable_or_default the system will return the default locale (language) text for that drop. 

 

So if you have a site in two languages: Swedish and English where Swedish is the default locale and there is no content in the English article it will fall back to the default locale (in this case Swedish). 

 


 

Snippets

{{ article_editable }}
{{ article_editable_or_default }}

Updated: 2019-11-06