Hi guys, im a newbie at all this, i downloaded the collapsing forum block from this site, and after following the instructions from the zip file i still cannot get the forum block to appear, and every time i do activate it, all the blocks on the right dissapear, below is wat my javascript.php code looks like:
Code:
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
if (stristr(htmlentities($_SERVER['PHP_SELF']), 'javascript.php')) {
Header('Location: ../index.php');
die();
}
##################################################
# Include for some common javascripts functions #
##################################################
/******************************************************/
/* used in modules.php */
/******************************************************/
echo <<<_MODULES_
<script type="text/javascript">
function gotoURL(dropDown) {
URL=dropDown.options[dropDown.selectedIndex].value;
if(URL.length>0) {
top.location.href = URL;
}
}
</script>
<style type="text/css">
.mymodulesselectbox{
width:140px;
background:#f7f8fc;
}
</style>
_MODULES_;
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum