hi,
How can I check if folder of a masterpage is the same as the one in url?
for example:
Let`s say a user visits this URL: http://www.domain.com/mypage.php?pn=THIS-OLD-TOWN
Now, I can display this page like this:
<cms:set town="<cms:gpc 'pn' />" />
<cms:pages masterpage='ob/div_town_template.php'
folder="<cms:show town />" >
How can I check if town exists as a folder ?
I have tried like this but it does not work:
<cms:if k_page_foldertitle = "<cms:show town />">
<div><cms:show town_content />
<cms:else />
<div>please select a town first</div>
</cms:if>
thanks.
How can I check if folder of a masterpage is the same as the one in url?
for example:
Let`s say a user visits this URL: http://www.domain.com/mypage.php?pn=THIS-OLD-TOWN
Now, I can display this page like this:
<cms:set town="<cms:gpc 'pn' />" />
<cms:pages masterpage='ob/div_town_template.php'
folder="<cms:show town />" >
How can I check if town exists as a folder ?
I have tried like this but it does not work:
<cms:if k_page_foldertitle = "<cms:show town />">
<div><cms:show town_content />
<cms:else />
<div>please select a town first</div>
</cms:if>
thanks.