Creating a homepage that doesn't have rankings

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.
 

Mark

Administrator
Staff member
Hello @armaclans you can simply edit the wrapper.html into your skins folder and you should be ready to go
unfortunately its waaaay more complicated than that :)

The entire script revolves around the home page displaying actual rankings. There will be problems with pagination, category paths etc that need to be sorted out. Not to mention the OUT traffic will go down dramtically without the top sites being listed on the home page.

Its doable, but it will require a lot of modifications.
 
Top