Ditto style:
Let’s say my doc structure like this:
[tt]
- Homepage (1) -> template= homepage
|- Section 1 (7) -> template= myNewBlankTpl + imgTV
|- Teaser (8 ) -> template= myNewBlankTpl + imgTV
|- Section 2 (9) -> template= myNewBlankTpl + imgTV
|- Section 3 (10)-> template= myNewBlankTpl + imgTV
- About
- Services
- Products
- Contacts
[/tt]
<html>
<div id="teaser">
[[Ditto? &documents=`8` &tpl=`homepageteaser` &extender=`summary` &trunc=`0`]]
</div>
<div id="sections">
[[Ditto? &documents=`7,9,10` &tpl=`homepagesections`]]
</div>
<div id="content">
[*content*]
</div>
Notice that I’m using blank template to the children pages because we actually don’t provide a link to their pages, so their page designs are not required, but we need their imgTV values.
<div class="introduction">
[+content+]
</div>
<div class="introimg">
[+imgTV+]
</div>
Notice that I’m using &extender=`summary` parameter, not because I want to use it, but because I want to disable the truncation (&trunc=`0`).
Ditto will trunc summary/content values after 30 chars as the default. You might change its value though, through &truncOffset=`number`, but let’s just turn it off so the Introduction content won’t be cut incidentally.
<div class="imgBar">
[+imgTV+]
</div>
As the imgBar class I’d try to use
float:left;
Well,
further process is yours.
Try to experiment when your structure is like this:
[tt]
- Homepage (1) -> template= homepage
|- Sections (7) -> template= myNewBlankTpl + imgTV1 + imgTV2 + imgTV3
|- Teaser (8 ) -> template= myNewBlankTpl + imgTV
- About
- Services
- Products
- Contacts
[/tt]
Non-Ditto style:
[tt]
- Homepage (1) -> template= homepage + introTextTV + introImgTV + imgTV1 + imgTV2 + imgTV3
- About
- Services
- Products
- Contacts
[/tt]
Free to choose which way suits you.