TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 651
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 180
  • Total: 181
  • lurkalot

next page on front page?

Started by mimmolo, January 12, 2007, 07:34:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mimmolo

It woul be nice to have a link to next (previous) page in the front page after the selected "number of posts to show on front page".

so for  example on front page I display my 5 recent news. if a new user come on my front page may think that there aren't more news.
A link to "next five news" just below the last news would be great.
could it be done in a easy way?


IchBin

If you have it set to news you can only have a set amount of news on the frontpage. However, if you have it display "forum only" you get news from the forums you select, and it will give you a page number for each page after your set number.

Same goes for articles I believe.

mimmolo

Great! it works! I have set "forum only". now I have to put the articles in a new block. no problem doing this.
thank you for your help!

mimmolo

one more thing.
it now display pages under all my news. I have to change pages into italian  "Pagine".
I have searched Pages in the language file but can't find it.
where in the code can I do this change?
thank you again

IchBin

It should be in one of the language files. You have the italian language TP files I assume?

mimmolo

yes I have the Italian language for TP but pages remain pages...

I'll search better in all language file. thank you

IchBin

Well if its showing up in english and italian then its probably hard coded into the template file. I'll have Bloc take a looksy.

mimmolo

no I have solved!

now it display the italian for pages. I'm not able to understand what happened however now it works correctly.

since I can't find "Pages" in tp language file (original english files) I think it is taken from the language file of smf. Is it possible?

thanks for you help & time!

mimmolo

uhm  Yes, It is like I think

The String "Pages" is taken from smf language file, and exactly from index.php: $txt[139] = 'Pages';

I have verified changing the value of $txt[139].

So I have understood why now it works. in the meanwhile I have updated the italian language for smf....

Again thank you.

This website is proudly hosted on Crocweb Cloud Website Hosting.