2.0.1 • Published 9 months ago

aitomic-o-partners1 v2.0.1

Weekly downloads
13
License
SEE LICENSE IN li...
Repository
-
Last release
9 months ago

A template of a list of partners. There are prepared styles of display as grid and carousel. Include the grid template (stored in folder named 'control') in module GenericList using macro {layout '../path-to-latte-template'}. To display component as carousel in module GenericList, import {latte} block from package 'o-carousel' using macro {import '../path-to-latte-template'} and declare this block as {include #blockName}. Between macros {import} and {include} you can redefine used blocks like this:

{define #carouselItem}
	<a n:tag-if="$item->link" href="{$item->link}" n:attr="target => $item->blank ? '_blank'">
		<img src="{thumbnail $item->thumb, 300x190, EXACT, $item->thumb->filename}" class="d-block" width="300" height="190" loading="lazy">
	</a>
{/define}

Check {latte} source template in folder 'control' to discover available hooks to customization.

2.0.1

9 months ago

2.0.0

9 months ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.1-security

6 years ago