Lynne |
03-09-2010 01:44 AM |
Quote:
Originally Posted by Joseph Witchard
(Post 2000140)
What are the common templates in your example? And do you mean that you have to build an Admin page from scratch? There are no common templates for it?
|
The header, headinclude, footer, and navbar are all used in the test template I posted. You don't have to include them, but if you don't, then you won't get the look of the forums.
This article is really not about the admin cp. The admin cp doesn't use templates at all.
Quote:
Originally Posted by CoZmicShReddeR
(Post 2000147)
Hello Lynne, could you please help meh figure out how to fix inframe page for this setup? I tried but the information is posting above the header...
http://www.cozworld.com/hlstatsx.php
Code:
// ###### YOUR CUSTOM CODE GOES HERE #####
$pagetitle = 'HLstatsX';
echo "<iframe src =\"http://www.cozworld.com/hlxstats/hlstats.php\" frameborder=0 width=100% height=800 scrolling=yes> \n";
echo "</iframe> \n";
// ###### NOW YOUR TEMPLATE IS BEING RENDERED ######
Here is the actual link http://www.cozworld.com/hlxstats/hlstats.php
Thanks...
|
echo just echos the info wherever the code happens to be called in the page - which is not somewhere in the middle of the template where you want it to go. If you look at my example, output is entered into a variable and the variable is placed in the template where you want the output to go.
|