thefivechinesebrothers
Beginner


Joined: May 22, 2006 Posts: 1
|
Posted: Mon Oct 16, 2006 2:08 pm Post subject: Unable To Remove Left Block From Gallery |
|
|
I'm able to remove the left block from any module using the code below however I am unable to remove the left block on the page displaying the Gallery. Any help would be appreciated.
if ($name == "Gallery" || $name == "About" || $name == "RaceResults" ) {
/* Don't display it. */
}
else {
blocks(left);
}
echo "</td><td><img src=\"themes/test/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
}
I attempted to use the following fix proposed but it causes the screen to go blank when reloading.
<?php if($name == "Forums" || $name == "News" || $name == "Private_Messages" || $name == "Members_List"){
echo "<td>";
}else {
echo "<td width=\"185\" valign=\"top\">";
blocks(left);
echo "</td><td><img src=\"/themes/test/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td>\n";
}
----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
http://cdba.org/PHP-Nuke/modules.php?name=Gallery
Gallery version: 1.5-RC2
Apache version: Not displayed
PHP version (don't just say PHP 4, please): PHP 4.4.1
Graphics Toolkit: Macromedia Fireworks
Operating system: FreeBSD 4.11-STABLE
Web browser/version (if applicable): Firefox 1.5.0.7 |
|