Hey Kobra,
Thanks for the quick reply! That is my plan in the end for styling. The problem is getting the ezpage links to go into the footer, in three separate columns. Which column they are placed in is based on their sort order.
I'm working on a fix for this but there is a problem with my code. Pretty green when it comes to the php still but am giving it a bash.
This is from includes/templates/mytemp/templates/tpl_ezpages_bar_footer.php
<?php
include(DIR_WS_MODULES . zen_get_module_directory('ezpages_bar_footer.php'));
if (sizeof($var_linksList) >= 3) {
$i = 0;
while(!$var_linkList->EOF) {
$i++;
$ezpContain = array('','','',);
switch($i) {
case 1:
$ezpContain[0] .= $var_linkList;
break;
case 2:
$ezpContain[1] .= $var_linkList;
break;
case 3:
$ezpContain[2] .= $var_linkList;
$i = 0;
break;
}// closes switch($i)
} // closes while (!$var_linkList->EOF . . .
} // closes if (sizeof($var_linkList . . .
?>
<table><tr>
<td><?php
for ($i=1, $n=sizeof($ezpContain[0]); $i<=$n; $i++) { ?>
<a href="<?php echo $ezpContain[0][$i]['link']; ?>"><?php echo $ezpContain[0][$i]['name']; ?></a>
<?php } // end FOR loop ?>
</td>
<td><?php
for ($i=1, $n=sizeof($ezpContain[1]); $i<=$n; $i++) { ?>
<a href="<?php echo $ezpContain[1][$i]['link']; ?>"><?php echo $ezpContain[1][$i]['name']; ?></a>
<?php } // end FOR loop ?>
</td>
<td><?php
for ($i=1, $n=sizeof($ezpContain[2]); $i<=$n; $i++) { ?>
<a href="<?php echo $ezpContain[2][$i]['link']; ?>"><?php echo $ezpContain[2][$i]['name']; ?></a>
<?php } // end FOR loop ?>
</td>
</tr></table>