Der im Beispielcode verwendete Platzhalter ID_ZIMMERKATEGORIE muss durch die ID einer Zimmerkategorie ersetzt werden
{@load resource="roomcategories/ID_ZIMMERKATEGORIE"} <div class="roomDetail"> <h1>{name}</h1> <div style="background:#eee; padding:10px 5px; margin-bottom:20px;"> {description|t|s} <p style="margin-bottom:0;"> Belegung: {minimumOccupancy} - {maximumOccupancy}<br> </p> </div> <div class="row"> {#mediums} <div class="col-sm-3"> <a href="{@imageurl id=id type="RCD" /}"> <img src="{@imageurl id=id type="LT" /}" /> </a> </div> {/mediums} </div> {#seasonCategories rc=.} <br/> <h2>{name}</h2> <table class="table table-striped"> <thead> <tr> <th></th> {@gt key=showInPriceListCount value=1} <th></th> {/gt} {#seasons sc=.} {@if cond="{seasonCategory} == {sc.id}"} <th class="text-right"> {name|nl|s} </th> {/if} {/seasons} </tr> </thead> <tbody> {#guests sc=.} {@if cond="{seasonCategory} == {sc.id}"} {#lodgingTypes g=.} {?showInPriceList} <tr> {@if cond="{$idx} == 0"} <td rowspan="{showInPriceListCount}"> {g.name} {~n}{?fromAge}{fromAge} - {toAge}{/fromAge} </td> {/if} {@gt key=showInPriceListCount value=1} <td>{name}</td> {/gt} {#seasons lt=.} {@if cond="{seasonCategory} == {sc.id}"} <td class="text-right"> {@matchOne var=prices guest=g.id season=id lodgingType=lt.id} <a onclick="Samera.Overlay.show({roomCategory:{rc.id}, lodgingType:{lt.id}});"> {amount|money} </a> {:else} - {/matchOne} </td> {/if} {/seasons} </tr> {/showInPriceList} {/lodgingTypes} {/if} {/guests} {#lodgingTypes sc=.} {?showInPriceList} <tr> {@if cond="{$idx} == 0"} <td rowspan="{showInPriceListCount}">Mindestpreis</td> {/if} {@if var=showInPriceListCount gt=1} <td>{name}</td> {/if} {#seasons lt=.} {@if cond="{seasonCategory} == {sc.id}"} <td class="text-right"> {@matchOne var=minimumPrices season=id lodgingType=lt.id} <a onclick="Samera.Overlay.show({roomCategory:{rc.id}, lodgingType:{lt.id}});"> {amount|money} </a> {:else} - {/matchOne} </td> {/if} {/seasons} </tr> {/showInPriceList} {/lodgingTypes} </tbody> </table> <div class="row"> <div class="col-sm-12"> Preisinformation<br/><br/> {priceInfo|t|s} </div> </div> <div class="row"> <div class="col-sm-12 text-right"> <a class="btn btn-primary" href="#" onclick="Samera.Overlay.show({roomCategory:{id}}); return false;"> Angebot finden </a> </div> </div> {/seasonCategories} </div> {/load}