Very frustrating....
Here is the code example:
I am trying to get these to work within a division or tournament, not an entire league.
Code: Select all
/*********************
* Front page: event boxes
*********************/
$settings['fp_events'] = array(
/*
Event boxes can show for any league, division or tournament the following:
dead - recent dead players
sold - recent sold players
hired - recent hired players
skills - recent player skill picks
*/
array(
'id' => $get_lid, # Node ID
'box_ID' => 5,
// Please note: 'type' may be either one of: 'league', 'division' or 'tournament'
'type' => 'tournament', # This sets the node to be a tournament. I.e. this will make an event box for the tournament with ID = 1
'title' => 'Latest Dead Players (Tournament)', # Table title
'content' => 'dead', # Event type
'length' => 5, # Number of entries in table
),
array(
'id' => $get_lid, # Node ID
'box_ID' => 6,
// Please note: 'type' may be either one of: 'league', 'division' or 'tournament'
'type' => 'tournament', # This sets the node to be a tournament. I.e. this will make an event box for the tournament with ID = 1
'title' => 'Latest Skills (Tournament)', # Table title
'content' => 'skills', # Event type
'length' => 10, # Number of entries in table
),
);