Status: offline

watcorp

Forum User
Junior
Registered: 09/03/02
Posts: 23
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
We never stop looking... ...for a better way

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
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"Wink; $display .= "Whatever you want"; $display .= COM_endBlock (); (untested but should work) bye, Dirk