New Zenner
- Join Date:
- Jul 2008
- Posts:
- 75
- Plugin Contributions:
- 0
HELP!! after delete "static categories menu", i can't install other adds-on anymore!
sometimes i install some sidebox adds-on, they work fine, normally thoes adds-on which i install are in 3 folders:
\includes\languages\english
\includes\modules\sideboxes
\includes\templates\template_default\sideboxes
after installation, i go to admin - tool - layout boxes controller, it appears "new box found", then i make the status true, so everything's ok.
but these days, i installed the sidebox add-on "static categories menu", there are 3 files to upload, i dont like it very much, then i deleted thoes 3 files, and i went to admin - tool - layout boxes controller, this sidebox still appeared there and the row's background became pink, and appearing "MISSING", so i click this row and clicked "delete", then it doesnt appear there anymore.
but, after that, i try to install other sidebox adds-on, always failed, the case is that after transfer the files, when i go to admin - tool - layout boxes controller, no new sidebox appears, i can't find any new sidebox!
what shall i do now? i can't install sidebox adds-on anymore! i'm new, i dont know why and i cant figuer it out. could anyone help? thanks a lot.
here are the codes of those 3 files of "static categories menu"
\includes\languages\english\extra_definitions\staticmenu.php
<?php
/* ------------------------------------------------
* YahooTreeMenuWithAJAX for Zen-Cart v0.9
*
* Copyright (c) 2006 Andrew Yermakov <[email protected]>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
------------------------------------------------
*/
?>
<?php
define('BOX_HEADING_STATIC_MENU', 'Categories');
?>
\includes\modules\sideboxes\staticmenu.php
<?php
require($template->get_template_dir('tpl_staticmenu.php', DIR_WS_TEMPLATE, $current_page_base, 'sideboxes') . '/tpl_staticmenu.php');
$title = BOX_HEADING_STATIC_MENU;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base, 'common') . '/' . $column_box_default);
?>
\includes\templates\template_default\sideboxes\tpl_staticmenu.php
<?php
$content = '
<script language="javascript">
function movein(obj,html){
obj.style.background=\'#8bd3e5\'
}
function moveout(obj){
obj.style.background=\'#ffffff\'
}
//-->
</script>
';
$content .= '<table bgcolor="white" border="0" bordercolor="white" cellpadding="2" cellspacing="4">
<tr>
<td bordercolor="white" id="choice1" style="background-color:#ffffff; cursor:hand" onmouseover="movein(this,\'www.PreciousGive.com\')" onmouseout="moveout(this)"">
<a style=\'font-size:1.1em; font-weight:bold; font-family:Arial; color:#008CD8;\' href="http://www.preciousgive.com">Home</a></td></tr>
<tr>
<td class="menu" bordercolor="white" id="choice2" style="background-color:#ffffff; cursor:hand" onmouseover="movein(this,\'Sterling Silver Bracelet\')" onmouseout="moveout(this)">
<a style=\'font-size:1.1em; font-weight:bold; font-family:Arial; color:#008CD8;\' href="http://www.preciousgive.com/index.php?main_page=index&cPath=1">Sterling Silver Bracelet</a></td></tr>
<tr>
<td class="menu" bordercolor="white" id="choice3" style="background-color:#ffffff; cursor:hand" onmouseover="movein(this,\'Sterling Silver Charm\')" onmouseout="moveout(this)">
<a style=\'font-size:1.1em; font-weight:bold; font-family:Arial; color:#008CD8;\' href="http://www.preciousgive.com/index.php?main_page=index&cPath=2">Sterling Silver Charm</a></td></tr>
<tr>
<td class="menu" bordercolor="white" id="choice4" style="background-color:#ffffff; cursor:hand" onmouseover="movein(this,\'Sterling Silver Earrings\')" onmouseout="moveout(this)">
<a style=\'font-size:1.1em; font-weight:bold; font-family:Arial; color:#008CD8;\' href="http://www.preciousgive.com/index.php?main_page=index&cPath=12">Sterling Silver Earrings</a></td></tr>
<tr>
<td class="menu" bordercolor="white" id="choice5" style="background-color:#ffffff; cursor:hand" onmouseover="movein(this,\'Sterling Silver Stud Earrings\')" onmouseout="moveout(this)">
<a style=\'font-size:1em; font-weight:bold; font-family:Arial; color:#008CD8;\' href="http://www.preciousgive.com/index.php?main_page=index&cPath=12_13">SS Stud Earrings</a></td></tr>
<tr>
<td class="menu" bordercolor="white" id="choice6" style="background-color:#ffffff; cursor:hand" onmouseover="movein(this,\'Sterling Silver Dangle Earrings\')" onmouseout="moveout(this)">
<a style=\'font-size:1em; font-weight:bold; font-family:Arial; color:#008CD8;\' href="http://www.preciousgive.com/index.php?main_page=index&cPath=12_14">SS Dangle Earrings</a></td></tr>
<tr>
<td class="menu" bordercolor="white" id="choice7" style="background-color:#ffffff; cursor:hand" onmouseover="movein(this,\'Sterling Silver Necklace\')" onmouseout="moveout(this)">
<a style=\'font-size:1.1em; font-weight:bold; font-family:Arial; color:#008CD8;\' href="/index.php?main_page=index&cPath=3">Sterling Silver Necklace</a></td></tr>
</table>
';
?>