Welcome to Geeklog Sunday, October 24 2021 @ 03:21 pm EDT

Geeklog Forums

Put a block in the center column


Status: offline

watcorp

Forum User
Junior
Registered: 03/09/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
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

All times are EDT. The time is now 03:21 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content