Posted on: 09/03/02 11:11pm
By: watcorp
I'm a gl newbie and i was wondering how to either put a phpblock in the center column or how to include php code in ...say a static page or story....we are plainning a local linux and hardware support site and would like to have some comparision shopping information in a table that needs to be in something larger than the left or right columns...as always any help is appreciated
Put a block in the center column
Posted on: 09/04/02 12:48am
By: Dirk
There's an extended version of the static pages plugin that lets you use PHP in static pages. You can download it from http://www.mediaaustralia.com.au/geek/public_html/
Alternatively, you could hack index.php and hard-code a block there that shows up just above the stories. A good place would be after the line that reads
$display .= COM_showMessage($HTTP_GET_VARS['msg']);
you can then just add
$display .= COM_startBlock ("My Block"

;
$display .= "Whatever you want";
$display .= COM_endBlock ();
(untested but should work)
bye, Dirk