because my original thread was close by the admin (see Thread 13345) and because i want to share the solution to [B]all[/B] users, not only the german speaking ones, here it is:
[{php}]
for( $i = 0; $i < 15; $i++ ){
$this->_tpl_vars["advertisementID"] = "advertisement".$i;
[{/php}]
[{oxifcontent ident=$advertisementID object="oCont"}]
[{ oxcontent ident=$advertisementID }]
[{/oxifcontent}]
[{php}]
}
[{/php}]
this includes up to 15 cms-pages, starting with a substring “advertisement” as ident and followed by a number from 0 to 14 in a template file, for example start.tpl.
if someone knows a better solution or knows, how to code this in pure smarty, please let me/us know.
greetings
wayne