Skip to content

Frontend module for Contao that allows articles to be embedded into layouts or other pages.

License

Notifications You must be signed in to change notification settings

vtxm-h/article-insert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Article Insert (Contao)

Frontend module for Contao that outputs the published content elements of a selected article.

Designed for theme- and template-driven setups (e.g. predefined layout blocks), where structure is handled by the theme and content is managed via Contao articles.

Usage

Backend → Themes → Frontend Modules

  1. Create a new frontend module
  2. Select module type: Article Insert
  3. Select a page (used to scope the article selection)
  4. Save the module (required to populate the article list)
  5. Select the article
  6. Place the module in a layout section or template slot

Note: In Contao 4.13, dependent select fields require a save/reload step. This extension intentionally avoids Ajax to keep the implementation stable and predictable.

Template

mod_article_insert.html5

Installation (via Composer / Contao Manager)

Add the repository to your Contao project composer.json (root of the Contao installation):

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/vtxm-h/article-insert"
    }
  ]
}

Installation

composer require vtxm-h/article-insert

Compatibility

Contao 4.13 PHP 8.0+

License

MIT

About

Frontend module for Contao that allows articles to be embedded into layouts or other pages.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages