You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 518 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
How to insert an extra table to the right of the page

14.6.1. How to insert an extra table to the right of the page

The themefooter() function in the theme.php file of your theme is the right place to modify if you want to insert an extra table cell to the right of your page:

Find the call to blocks(right) (see it in Section 14.6) and modify it by adding code as follows:

blocks(right);
    }
    echo "</td><td>&nbsp;</td>";
    echo "<td>Some text here.";
    // This is an extra table cell now
    $footer_message = "$foot1<br>$foot2<br>$foot3<br>$foot4";
    $tmpl_file = "themes/fiblack/footer.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "$r_file="".$thefile."";";
    eval($thefile);
    print $r_file;
}

Or, as a more elaborate variation that includes an external piece of code (in this case the Login block):

blocks(right);
    }
    echo "</td><td>&nbsp;</td>";
    echo "<td>Some text here.<br>";
    include("blocks/block-Login.php");
    $title = "Title Here";
    themesidebox($title,$content);
    // This is an extra table cell now
    $footer_message = "$foot1<br>$foot2<br>$foot3<br>$foot4";
    $tmpl_file = "themes/fiblack/footer.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "$r_file="".$thefile."";";
    eval($thefile);
    print $r_file;
}

In both cases, it is important that the inserted code is outside the IF statement that controls the call to blocks(right). See Insert a new table for more details.

Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.198 Seconds - 196 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::