armaclans
Member
I have a plugin that I am writing to go with my theme. I want to override the index so that {$content} is not rankings but instead a file that I created in the plugins folder
$TMPL['content'] = $this->do_plugin_skin('./plugins/ClanlistThemePlugin','homepage');
I started playing with adding an action array.
$clanlistAction = array(
'homepage' => 1
);
$action = array_merge($action, $clanlistAction);
but I am not sure that is the correct way to do so.
$TMPL['content'] = $this->do_plugin_skin('./plugins/ClanlistThemePlugin','homepage');
I started playing with adding an action array.
$clanlistAction = array(
'homepage' => 1
);
$action = array_merge($action, $clanlistAction);
but I am not sure that is the correct way to do so.