MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completely customizable, expandable and suitable for all needs.
A2Hosting
Moderators: Moderators
Forum RSS feedReply
Frontpage news?
AuthorText
xanxion
No Support

Posts: 6
Contributes: 6

Gender: _NEUTRAL_
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.
Delete Edit Quote
 
rudykaka
Exalted Member

Posts: 574
Contributes: 677

Gender: _MALE_
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.
Delete Edit Quote
 
slashado
Donator

Posts: 323
Contributes: 350

Gender: _MALE_
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.Smile
..::MS Criações::.. - Criação e Hospedagem de Websites!
..::Memht BRASIL::.. - Comunidade brasileira do MemHT!
Soon, Virtual Store with Modules and Templates for MemHT!
Eager for MemHT 5
Delete Edit Quote
 
xanxion
No Support

Posts: 6
Contributes: 6

Gender: _NEUTRAL_
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.
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
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
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
xanxion
No Support

Posts: 6
Contributes: 6

Gender: _NEUTRAL_
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.
Delete Edit Quote
 
slashado
Donator

Posts: 323
Contributes: 350

Gender: _MALE_
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!Smile
..::MS Criações::.. - Criação e Hospedagem de Websites!
..::Memht BRASIL::.. - Comunidade brasileira do MemHT!
Soon, Virtual Store with Modules and Templates for MemHT!
Eager for MemHT 5
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
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();
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
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.
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
Reply
Tags Cloud
Twitter updates...
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.107.179.233

Username
Password
MemHT Wiki
Language
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo