Hi all
still ne to the system so got stuck with the output for a list. I need a listing of trips from several parent sub Documents with a template travelCat
I've tried the call by categories but get only on cat listed.
<?php $reisen = $pages->get("/angebot-reisen/messen-ausstellungen/",'/baumaschinen/', "sort=sort")->children; ?>
<?php
foreach ($reisen as $reise) { ?>
<div class="travel-item">
<h2><a href="<?php echo $reise->url;?>" title="Detailansicht" class="tripDetail"><?php echo $reise->longtitle; ?></a></h2>
<a href="<?php echo $reise->reise_flyer->url; ?>" title="Flyer als PDF laden" target="_blank" class="tripFlyer">Flyer</a>
</div>
<?php } ?>
could I eventually call all the documents with template travelDetail? I've tried this, but I get an error when chaining get to find.
Your help is much appreciated.