Hi, I am interested in child pages too and asked help to n00dles101
but sadly his tip didn't work... so I tried something like that
and - tho I am not a programmer - it worked fine!
<?php
echo "<ol>";
$submenu=getChildren($id);
$menuArray=array();
foreach ($submenu as $menuitem) {
echo "<li><a href='";
echo "?id=";
echo getPageField($menuitem,url);
echo "'>";
echo getPageField($menuitem,'title');
echo "</a></li>";
}
echo "</ol>";
?>
I hope it will be useful. Thanks again N00d.
but sadly his tip didn't work... so I tried something like that
and - tho I am not a programmer - it worked fine!
<?php
echo "<ol>";
$submenu=getChildren($id);
$menuArray=array();
foreach ($submenu as $menuitem) {
echo "<li><a href='";
echo "?id=";
echo getPageField($menuitem,url);
echo "'>";
echo getPageField($menuitem,'title');
echo "</a></li>";
}
echo "</ol>";
?>
I hope it will be useful. Thanks again N00d.
My website made with GetSimple CMS is
Arte & Società
www.artesocieta.eu
An indipendent website about Italian Contemporary Visual Arts
Arte & Società
www.artesocieta.eu
An indipendent website about Italian Contemporary Visual Arts