TinyPortal

Development => Support => Topic started by: MrCare on October 27, 2010, 08:33:39 PM

Title: Remove PAGEINDEX in forntpage
Post by: MrCare on October 27, 2010, 08:33:39 PM
smf - 2 rc3
tp TinyPortal 1.0 RC1

Anybody know? How to remove pageindex in frontpage?
Title: Re: Remove PAGEINDEX in forntpage
Post by: WillyP on October 28, 2010, 01:19:05 PM
You will have to be more specific, I don't now what you mean by pageindex.  A link to your site, a screenshot would help.

Posting Guidelines - PLEASE READ! (http://www.tinyportal.net/index.php?topic=581.0)
Title: Re: Remove PAGEINDEX in forntpage
Post by: ZarPrime on October 28, 2010, 02:33:45 PM
QUBBAH,

I'm not sure what you mean either but, if you a mean that your FrontPage is showing the Forum BoardIndex, you probably have "Go directly to forum index" selected under "What to display on frontpage:" in the TP Frontpage Settings, as shown in the attached image.  If that is the case, just make one of the other selections.

ZarPrime
Title: Re: Remove PAGEINDEX in forntpage
Post by: MrCare on October 28, 2010, 05:10:34 PM
i want to remove article page index in frontpage.  O0
Title: Re: Remove PAGEINDEX in forntpage
Post by: ZarPrime on October 28, 2010, 05:56:59 PM
Quote from: QUBBAH on October 27, 2010, 08:33:39 PM
How to remove pageindex in frontpage?

Quote from: QUBBAH on October 28, 2010, 05:10:34 PM
i want to remove article page index in frontpage.  O0

Well, now, I am confused as well, and I'm sure WillyP is too.  I'll tell you what.  Why don't you Read and Follow our Posting Guidelines. (http://www.tinyportal.net/index.php?topic=581.0) as WillyP suggested, and perhaps attach a screenshot of what you are trying to remove and maybe one of us can figure it out.

ZarPrime
Title: Re: Remove PAGEINDEX in forntpage
Post by: lurkalot on October 28, 2010, 06:19:20 PM
I was thinking , it might be  these page numbers at the bottom of the homepage.  :)
Title: Re: Remove PAGEINDEX in forntpage
Post by: MrCare on October 29, 2010, 03:12:44 AM
 O0

Tq.. for helps...
Title: Re: Remove PAGEINDEX in forntpage
Post by: WillyP on October 29, 2010, 04:04:56 PM
Is this issue solved?  :-\
Title: Re: Remove PAGEINDEX in forntpage
Post by: MrCare on October 30, 2010, 03:05:56 PM
Quote from: WillyP on October 29, 2010, 04:04:56 PM
Is this issue solved?  :-\

still waiting.
Title: Re: Remove PAGEINDEX in forntpage
Post by: Freddy on October 30, 2010, 03:22:05 PM
And we're still waiting for you to Read the Posting Guidelines (http://www.tinyportal.net/index.php?topic=581)

And ZarPrime asked....

QuoteWell, now, I am confused as well, and I'm sure WillyP is too.  I'll tell you what.  Why don't you Read and Follow our Posting Guidelines. as WillyP suggested, and perhaps attach a screenshot of what you are trying to remove and maybe one of us can figure it out.

We're not mind readers.
Title: Re: Remove PAGEINDEX in forntpage
Post by: WillyP on October 30, 2010, 03:26:21 PM
Quote from: QUBBAH on October 30, 2010, 03:05:56 PM
Quote from: WillyP on October 29, 2010, 04:04:56 PM
Is this issue solved?  :-\

still waiting.

For what?  You haven't answered the questions asked of you, we still aren't sure of what your question is. 

Please read and follow the instructions in the Posting Guidelines (http://www.tinyportal.net/index.php?topic=581.0).  And if lurkalot's guess about what you want removed is correct, say so.  We can't read your mind!


(Freddy posted while I was typing)

We can't help you unless you are willing to help us help you. 
Title: Re: Remove PAGEINDEX in forntpage
Post by: MrCare on December 17, 2015, 03:20:14 AM
For a long time.. try to wake it up back...

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fs7.postimg.org%2Figa6qppuj%2FUntitled.png&hash=5d3a3ca14615a748eb798667c9381ae908a2a069)

how to remove this page index only in frontpage, that was setup only to show forumpost.
Title: Re: Remove PAGEINDEX in forntpage
Post by: Sayaka Maizono on December 23, 2015, 02:39:31 AM
Open ./Themes/default/TPortal.template.php

Find:
// any pageindex?
if(!empty($context['TPortal']['pageindex']))
echo '
<div class="tp_pageindex_lower">' , $context['TPortal']['pageindex'] , '</div>';


Replace with:
// any pageindex?
/*
if(!empty($context['TPortal']['pageindex']))
echo '
<div class="tp_pageindex_lower">' , $context['TPortal']['pageindex'] , '</div>';
*/
Title: Re: Remove PAGEINDEX in forntpage
Post by: MrCare on December 24, 2015, 10:01:38 AM
yes... succeess, tq