Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 09:46 am EDT

Geeklog Forums

Put a block in the center column


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
 Quote

Status: offline

Dirk

Site Admin
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
 Quote

All times are EDT. The time is now 09:46 am.

  • 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