Are you a tour operator or niche travel agent?Come and join our travel business social network!
![]() | ||
| Features Prices Sign up Support Community Company Contact us | ||
home > support > web design > container tags
Container tags
Container tags repeat element tags and other enclosed content. They work like HTML container tags and must have both a start and an end tag.
<TourCMSlist_departures orderby="offer_datetime" order="desc" bookable="show" has_offer="show" maxdisplay="3"> </TourCMSlist_departures>
By themselves container tags can't display or produce any output. They must have some enclosed content that is repeated for each new "loop". For example this container tag has 2 enclosed element tags:
<TourCMSlist_departures orderby="offer_datetime" order="desc" bookable="show" has_offer="show" maxdisplay="3"> <$TourCMStour output="t_name"$> <$TourCMSdeparture output="d_offer_price"$> </TourCMSlist_departures>
Attributes <TourCMSlist_tours>
<TourCMSlist_departures>
<$TourCMSdeparture output="d_code"$>
</TourCMSlist_departures>
</TourCMSlist_tours>
This above will create a list of departures for the first tour, then all the departures for the next tour, then the next etc. For each tour, the departure code will be shown.
<TourCMSlist_tours>
<TourCMSlist_departures d_id="all">
<$TourCMSdeparture output="d_code"$>
</TourCMSlist_departures>
</TourCMSlist_tours>
Unlike the previous example, this will, for each tour, list all departures for all tours.
| ||
Copyright © 2003-2008 Travel UCD Limited. All rights reserved. Privacy policy TourCMS® is a registered trademark of Travel UCD Limited, United Kingdom |
||