No worries hermano. Now it works perfectly. Thanks again!
I am trying to use GS normal pages like a blog. Here's the final result...
<?php
echo "<ul>";
$submenu=getChildren($id);
$menuArray=array();
foreach ($submenu as $menuitem) {
echo "<li><a href='?id=";
echo getPageField($menuitem,url);
echo "'>";
echo "[".date('d/m/Y', strtotime(returnPageField($menuitem,pubDate)))."] ";
echo getPageField($menuitem,title);
echo "</a></li>";
}
echo "</ul>";
?>
I am trying to use GS normal pages like a blog. Here's the final result...
<?php
echo "<ul>";
$submenu=getChildren($id);
$menuArray=array();
foreach ($submenu as $menuitem) {
echo "<li><a href='?id=";
echo getPageField($menuitem,url);
echo "'>";
echo "[".date('d/m/Y', strtotime(returnPageField($menuitem,pubDate)))."] ";
echo getPageField($menuitem,title);
echo "</a></li>";
}
echo "</ul>";
?>
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