Welcome to Geeklog, Anonymous Monday, June 24 2024 @ 07:57 pm EDT

Geeklog Forums

Put a block in the center column

Status: offline


Forum User
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


Site Admin
Registered: 01/12/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

All times are EDT. The time is now 07:57 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