[Source MOD] Page Functional for Home page (WORKS ON 4.2.23)

Discuss/Upload mods to the EVE-Dev Killboard.
Post Reply
trix12345
Greenhorn
Posts: 16
Joined: Wed Oct 19, 2011 05:17

[Source MOD] Page Functional for Home page (WORKS ON 4.2.23)

Post by trix12345 » Tue Jun 07, 2016 17:15

If you want to add a page functional for the home page you need to replace following inside of .../common/home.php on 237+ strings:

Code: Select all

			$klist->setLimit(config::get('killcount'));
			$table = new KillListTable($klist);
			if ($this->showcombined) $table->setCombined(true);
			$table->setLimit(config::get('killcount'));
			$html = $table->generate();
by

Code: Select all

		//	$klist->setLimit(config::get('killcount'));
		//	$table = new KillListTable($klist);
		//	if ($this->showcombined) $table->setCombined(true);
		//	$table->setLimit(config::get('killcount'));
		//	$html = $table->generate();
		    $this->loadTime($klist);
			//$klist->setWeek($this->week);
			//$klist->setYear($this->year);
			$klist->setPageSplit(config::get('killcount'));
			$pagesplitter = new PageSplitter($klist->getCount(),
					config::get('killcount'));
			$table = new KillListTable($klist);
			if ($this->showcombined) $table->setCombined(true);
			$pagesplit = $pagesplitter->generate();
			$html = $pagesplit.$table->generate().$pagesplit;
6.jpg
6.jpg (63.51 KiB) Viewed 1657 times
Links on the right side also work
Last edited by trix12345 on Fri Jun 17, 2016 15:18, edited 1 time in total.

liability
Greenhorn
Posts: 17
Joined: Mon May 24, 2010 22:25

Re: [Source MOD] Page Functional for Home page

Post by liability » Wed Jun 08, 2016 22:11

Thank you!

Post Reply

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 5 guests