| Frontpage news? |
| Author | Text |
xanxion No Support
Posts: 6

Gender:  Online: No
Languages: xanxion |
Date: 04/03/2010 14:01 Frontpage news? | #post23625 | Hi, is it possible to change the way the frontpage news section works?
Right now it says:
« Read the other news
But i want it like on the news page:
Page 1/2 1 2 >
Is that possible?
Best regards,
Mike Unlock my thread! Goddamnit i fixed the copyright issue. |
|
 |
| |
rudykaka Exalted Member
Posts: 574

Gender:  Online: No
Country: España Languages: English, Español Version: waiting for 5 |
Date: 04/03/2010 21:53 Re: Frontpage news? | #post23626 | we need to ur website as a proof first, before providing any support. |
|
 |
| |
slashado Donator
Posts: 323

Gender:  Online: No
Version: 4.0.1 Country: Brasil Languages: Português, Inglês (via Google), e todas as outras (via google) |
Date: 04/03/2010 22:05 Re: Frontpage news? | #post23627 | | quote | we need to ur website as a proof first, before providing any support. |
So why do you ignore the rules of the forum posting without providing the necessary information? mainly SITE?
When someone removes the copyright, we believe that the person is aware enough not to need our support.
Post the site or sites that have worked with MemHT and yes there'll support you come to need.  |
|
 |
| |
xanxion No Support
Posts: 6

Gender:  Online: No
Languages: xanxion |
Date: 05/03/2010 03:30 Re: Frontpage news? | #post23632 | Oh okay, i wasnt aware that i needed to insert the website here..
Anyway.
Website is:
www.robotplaze.com
Anyone can help with my question? Unlock my thread! Goddamnit i fixed the copyright issue. |
|
 |
| |
mem MemHT's Dad Admin & Developer

Posts: 7243

Gender:  Online: No
Languages: English, Italiano, Македонски, Српски |
Date: 05/03/2010 10:53 Re: Frontpage news? | #post23634 | I'm affraid that's not possible without editing your files manually |
|
 |
| |
xanxion No Support
Posts: 6

Gender:  Online: No
Languages: xanxion |
Date: 05/03/2010 15:39 Re: Frontpage news? | #post23644 | That is no problem, i just dont know what to edit. Can you try to explain it? Unlock my thread! Goddamnit i fixed the copyright issue. |
|
 |
| |
slashado Donator
Posts: 323

Gender:  Online: No
Version: 4.0.1 Country: Brasil Languages: Português, Inglês (via Google), e todas as outras (via google) |
Date: 05/03/2010 20:10 Re: Frontpage news? | #post23645 | It is the news.html file of your template!  |
|
 |
| |
mem MemHT's Dad Admin & Developer

Posts: 7243

Gender:  Online: No
Languages: English, Italiano, Македонски, Српски |
Date: 09/03/2010 11:10 Re: Frontpage news? | #post23658 | pages/news/index.php
Find on row~114
| code | if (isset($_GET['page'])) {
//Pages
include_once("inc/class/paginationSystem.class.php");
$ps = new paginationSystem();
$ps->items = $ofsppg;
$ps->actpg = $pg;
$ps->query = "SELECT id FROM memht_news WHERE enabled=1";
$ps->url = "index.php?page=news&pg={{N}}";
$ps->show();
} else {
$num_news = $dblink->get_num("SELECT id FROM memht_news WHERE enabled=1");
$pages = ceil($num_news/$ofsppg);
if ($num_news>$ofsppg) {
echo "<div style='padding:8px 0 8px 8px; font-size:120%;'>";
echo "« <a href='http://www.memht.com/news.html' title='"._READ_OTHER_NEWS_."'><b>"._READ_OTHER_NEWS_."</b></a>";
echo "</div>";
}
} |
Replace it with
| code | //Pages
include_once("inc/class/paginationSystem.class.php");
$ps = new paginationSystem();
$ps->items = $ofsppg;
$ps->actpg = $pg;
$ps->query = "SELECT id FROM memht_news WHERE enabled=1";
$ps->url = "index.php?page=news&pg={{N}}";
$ps->show(); |
|
|
 |
| |
mem MemHT's Dad Admin & Developer

Posts: 7243

Gender:  Online: No
Languages: English, Italiano, Македонски, Српски |
Date: 09/03/2010 11:10 Re: Frontpage news? | #post23659 | PS: I can't remember if this solution would work, indeed i haven't tested it. |
|
 |
| |