Quailman Posted July 19, 2006 Share Posted July 19, 2006 Hi,I have just installed a new PHPNuke theme, called V-Mecha. The problem that I currently face is that the blocks only seem to appear on the left hand side of the homepage and not on the right. I would like to have the capacity to put blocks on either side but Blocks Admin seems to be pretty redundant.I have had a look in theme.php and as I am pretty new with PHP it is harder to understand that HTML. I don't even know if I am looking in the right area, but is this the right code to edit and if so, what do I edit? If it isn't then how is it possible to arrange the Blocks the way I want them?echo "<table bgcolor=\"#e7e9eb\" align=\"center\" width=\"95%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n" ."<tr valign=\"top\">\n" ."<td bgcolor=\"#333\"><img src=\"themes/V-Mecha/images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>\n" ."<td><img src=\"themes/V-Mecha/images/spacer.gif\" width=\"4\" height=\"1\" border=\"0\" alt=\"\"></td>\n" ."<td valign=\"top\">\n"; if (($name=='Forums') OR ($name=='Private_Messages') OR ($name=='gallery') OR ($name=='Members_List')) { } else { blocks(left);}echo "<td><img src=\"themes/V-Mecha/images/spacer.gif\" width=\"4\" height=\"1\" border=\"0\" alt=\"\"></td>\n" ."<td align=\"center\" valign=\"top\" width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\">\n"; $public_msg = public_message(); echo "$public_msg<br>"; if (defined('INDEX_FILE')) { blocks(centre); }}function themefooter() { global $banners, $foot1, $foot2, $foot3, $copyright, $totaltime, $slogan; if (defined('INDEX_FILE')) {echo "</td>\n" ."<td><img src=\"themes/V-Mecha/images/spacer.gif\" width=\"4\" height=\"1\" border=\"0\" alt=\"\"></td>\n" ."<td valign=\"top\">\n"; blocks(right);}echo "</td>\n" ."<td width=\"4\"><img src=\"themes/V-Mecha/images/spacer.gif\" width=\"4\" height=\"1\" border=\"0\" alt=\"\"></td>\n" ."<td bgcolor=\"#333\"><img src=\"themes/V-Mecha/images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>\n" ."</td>\n" ."</tr>\n" ."</table>\n\n\n";Any help would be much appeciated.Kind Regards,Ben Foley Quote Link to comment https://forums.phpfreaks.com/topic/15086-block-admin/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.