Aha! a clue ...
I noticed a weird thing the other day that was really bugging me on Sale Maker ...
Got an odd display on the menubar when I was in Salemaker ...
So I did a little hunting around in the code ...
For me, this was a visual annoyance but did not break any functionality ... perhaps for you this is more of a problem ...
Assuming you are using Zen Cart v1.3.7 ... edit the file:
/admin/salemaker.php
Find this section of code around line 255:
</script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF" onload="SetCategories();SetFocus();init()">
<div id="spiffycalendar" class="text"></div>
<?php
} else {
?>
</head>
<?php
}
?>
<!-- header //-->
Replace with:
</script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF" onload="SetCategories();SetFocus();init()">
<div id="spiffycalendar" class="text"></div>
<?php
} else {
?>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF" onload="SetFocus();init()">
<?php
}
?>
<!-- header //-->
Find this section of code around line 411:
<script language="javascript" type="text/javascript"><!--
document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_SALEMAKER_POPUP, 'cid=' . $category['categories_id'] . '&cname='.$category['categories_name']) . '\\\')">'.'(More Info)'.'</a>'; ?>');
//--></script>
<?php
}
echo "</td>\n";
echo ' </tr>' . "\n";
echo ' </table></td>' . "\n";
echo ' </tr>' . "\n";
}
echo ' </table></tr>' . "\n";
/*
echo "";
echo "<td align=''left''>";
if ($prev_categories_array[$category['categories_id']]) {
echo ' Warning : ' . $prev_categories_array[$category['categories_id']] . ' sales already include this category';
?>
<script language="javascript" type="text/javascript"><!--
document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_SALEMAKER_POPUP, 'cid=' . $category['categories_id'] . '&cname='.$category['categories_name']) . '\\\')">'.'(More Info)'.'</a>'; ?>');
//--></script>
<?php
}
echo "</td>\n";
}
echo '</table></tr>';
*/
?>
</table></td>
</form></tr>
Replace with:
<script language="javascript" type="text/javascript"><!--
document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_SALEMAKER_POPUP, 'cid=' . $category['categories_id']) . '\\\')">'.TEXT_MORE_INFO.'</a>'; ?>');
//--></script>
<?php
}
echo "</td>\n";
echo ' </tr>' . "\n";
echo ' </table></td>' . "\n";
echo ' </tr>' . "\n";
}
echo ' </table></tr>' . "\n";
?>
</table></td>
</form></tr>
See if that fixes this issue ...
Linda McGrath
If you have to think ... you haven't been zenned ...
**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!