xoops forums

malexandria

Quite a regular
Posted on: 2005/1/11 13:29
malexandria
malexandria (Show more)
Quite a regular
Posts: 281
Since: 2001/12/23
#1

News Page Count At Top, Move To Bottom?

Hey Everyone,

I finally got the new news mod to work, but the page numbers are at the top of the page, how do I remove the top numbers without affecting the bottom ones?

Herko

XOOPS is my life!
Posted on: 2005/1/11 13:39
Herko
Herko (Show more)
XOOPS is my life!
Posts: 4238
Since: 2002/2/4 1
#2

Re: News Page Count At Top, Move To Bottom?

edit the news_article.html template in the news module. At the top of that template you'll see this:

<div style="text-align: left; margin: 10px;"><{if $pagenav}>Page <{$pagenav}><{/if}></div>

Remove that, and the top pagenav will be removed. If you want to test this out first, comment it out, and remove afterward, if it works.

Herko

malexandria

Quite a regular
Posted on: 2005/1/11 13:43
malexandria
malexandria (Show more)
Quite a regular
Posts: 281
Since: 2001/12/23
#3

Re: News Page Count At Top, Move To Bottom?

cool!! thanks!

malexandria

Quite a regular
Posted on: 2005/1/12 12:16
malexandria
malexandria (Show more)
Quite a regular
Posts: 281
Since: 2001/12/23
#4

Re: News Page Count At Top, Move To Bottom?

hmmm.... I just tried it this morning, and it didn't
work, there was no affect at all, are you sure it's the news_article template?

malexandria

Quite a regular
Posted on: 2005/1/12 12:22
malexandria
malexandria (Show more)
Quite a regular
Posts: 281
Since: 2001/12/23
#5

Re: News Page Count At Top, Move To Bottom?

Beautiful. It was actually the News_Index page, I removed the Pagenav, and it worked perfectly, then I went in and did the same thing on the News_article page :)