The MojoMotorist - For All Things Related to the MojoMotor CMS

Pieces

A Commercial add-on by Conflux Group, Inc.

Description

A MojoMotor addon allowing users to include layouts inside of other layouts.

It’s so simple, it’s stupid.

Pieces only has one tag, but the flexibility it brings is useful. You’ll probably find Pieces is one of the most useful addons around.

Usage

All of the functionality of the Pieces addon can be accessed through the layout template tag:

{mojo:pieces:layout name="header"}

There is only one parameter, name, which is used to specify the name of the layout you want to include.
That’s all there is to it. Use Pieces to use global headers, footers, etc across your sites. And the best news is, all template tags inside your included layouts still get parsed.

Tags

templates   layouts  

Reviews for Pieces

There are no reviews for this add-on.

 

Leave A Review

Commenting is not available in this channel entry.