PDA

View Full Version : News page embedded in webpage



krondor
Tue 7th Aug '01, 4:42am
I want to create a news page that i can embedded in my webpage homepage, does anyone have any blank templates that would do this..

orca
Tue 7th Aug '01, 8:29am
I don't think that you can do this with templates. There's a hack inside the hack forum which lets you do about what you want.

]CkB[Cowboy
Wed 8th Aug '01, 7:58am
you can go to styles -> modify -> [fonts/colors/etc]

edit the "PHP parsed code" (assuming you have PHP4 installed)

and insert code like this:

ob_start();
require("/ckb/pic.html");
$POTD = ob_get_contents();
ob_end_clean();

then actually use $POTD as a variable in any template. Look at my forums: http://www.rj3.net/ckb/forums/ to see how I utilized this (the POTD on the right side is the exact same file: http://www.rj3.net/ckb/pic.html that all the other "non forum" .shtml pages include)

:)