Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Wednesday, May 22 2013 @ 02:47 AM EDT

The following comments are owned by whomever posted them. This site is not responsible for what they say.

  • Blocks and Arguments
  • Authored by:Dirk on Thursday, July 11 2002 @ 12:18 AM EDT
No, they can\'t.

Actually, I don\'t quite see the point of it. Blocks are called by Geeklog without any arguments anyway, so why do you want to add some?

Maybe you can give an exmaple of what you\'re trying to accomplish?

bye, Dirk
  • is this what you mean?
  • Authored by:Anonymous on Thursday, July 11 2002 @ 05:25 AM EDT
Not sure if this will help but, I have a block that has a form on it that when submitted will change display.

For example:

function phpblock_downloads () {

global $_CONF, $PHP_SELF, $HTTP_POST_VARS;

$sortby = $HTTP_POST_VARS[\'sortby\'];

$path = $_CONF[\'path_html\'] . \"pafiledb3/includes\";
include_once($path . \"/display_dls.php\");
$display = getdls($sortby);
return $display;

}

The include file display_dls.php does all the work.