Quote Originally Posted by reetp View Post
flexible_footer_menu.php

Not sure if this is a bug but when I look at the flexible footer admin menu I noticed that unless there was an image attached to a menu entry it shows something like this :

http://www.zimagez.com/zimage/screen...615-160037.php

It seems no check is made for an image field. I am not sure the best way to sort this out (assuming it is an issue)

I did a quick hack so if there is no image it doesn't show anything like this :

--- files/myadmin/flexible_footer_menu.php 2015-06-19 15:31:40.000000000 +0200
+++ files_mods/myadmin/flexible_footer_menu.php 2015-06-19 16:11:59.000000000 +0200
@@ -291,7 +291,17 @@
echo ' <tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\'' . zen_href_link(FILENAME_FLEXIBLE_FOOTER_MENU, 'flexfooter=' . $_GET['page'] . '&bID=' . $flexfooter->fields['page_id']) . '\'">' . "\n";
}
?>
-<td class="dataTableContent"><?php echo $flexfooter->fields['page_title'] . $flexfooter->fields['col_header'] . zen_image(DIR_WS_CATALOG_IMAGES . $flexfooter->fields['col_image']); ?></td>
+
+<td class="dataTableContent">
+<?php
+if (($flexfooter->fields['col_image']) <> "" ) {
+echo $flexfooter->fields['page_title'] . $flexfooter->fields['col_header'] . zen_image(DIR_WS_CATALOG_IMAGES . $flexfooter->fields['col_image']);
+}
+else {
+echo $flexfooter->fields['page_title'] . $flexfooter->fields['col_header'];
+}
+?>
+</td>
<td class="dataTableContent"><?php echo $flexfooter->fields['col_id']; ?></td>
<td class="dataTableContent"><?php echo $flexfooter->fields['col_sort_order']; ?></td>

Not sure if that is any good, but it works for me :-)
Thank you for posting your solution.

This bug has already been noted for a future template update.

Thanks,

Anne