work in progress:
http://tiny.cc/jaf6u
Hotel site
Re: Hotel site
Very nice build website!
Are these different pages in CMSMS?
Are these different pages in CMSMS?
Re: Hotel site
Yes, I use this tag:
Code: Select all
global $gCms;
$manager =& $gCms->GetHierarchyManager();
$thisPage = $gCms->variables['page_name'];
$currentNode = &$manager->sureGetNodeByAlias($thisPage);
$contentops =& $gCms->GetContentOperations();
$nodes = $currentNode->getChildren();
if ($currentNode->hasChildren()) {
foreach ($nodes as $node) {
$content= $node->getContent();
$contentx = $contentops->LoadContentFromAlias($content->Alias());
$onecontent = $contentx->mProperties->mPropertyValues['content_en'];
$smarty->_compile_source('temporary template', $onecontent , $compiled);
@ob_start();
$smarty->_eval('?>' . $compiled);
$contentx = @ob_get_contents();
@ob_end_clean();
echo $contentx;
}
}