ParapgraphContainerSort

Summary

Returns what number the paragraph is in the paragraph list in the content container.

Remarks

Insert ParapgraphContainerSort in the paragraph template that the paragraph uses, then it shows the number of the paragraph.

If there are 3 paragraphs in the main content area and you output the tag for the third paragraph then ParapgraphContainerSort = 3.

Requirements:

  • Designs and Layouts
  • Version 19.2.6.0

Example

<!--@If(ParapgraphContainerSort=1)-->
<div><h1><!--@ParagraphHeader--></h1>
	<!--@ParagraphImage-->
</div>
<div>
	<!--@ParagraphText-->
</div>
<div>
	<!--@ParagraphModule-->
</div>
<!--@EndIf-->

<!--@If(ParapgraphContainerSort=2)-->
<div><h1><!--@ParagraphHeader--></h1>
	<!--@ParagraphText-->
</div>
<div>
	<!--@ParagraphModule-->
</div>
<div>
	<!--@ParagraphImage-->
</div>
<!--@EndIf-->

Settings

The value is generated automatically.