I would like to add the EZ-Pages to the Information box, but I don't want to add each individual ez-page link, I just want to add it dynamically so that if we add a new ez page in the admin, it will automatically show in the Information box. I can't seem to get it working though. We are using 1.3.6. Here is the code in tpl_information.php:
Can anyone see what might be wrong in there?$content = "";
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
$content .= "\n" . '<ul style="margin: 0; padding: 0; list-style-type: none;">' . "\n";
for ($i=0; $i<sizeof($information); $i++) {
$content .= '<li>' . $information[$i] . '</li>' . "\n";
}
for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) {
$content .= '<li><a href="' . $var_linksList[$i]['link'] . '">' . $var_linksList[$i]['name'] . '</a></li>' . "\n" ;
} // end FOR loop
$content .= '</ul>' . "\n";
$content .= '</div>';
?>
Thanks!


That is what I usually do...but this person doesn't want it like that! But if I can't figure it out, I guess that is just how it'll have to be...

