TinyPortal

Development => Support => Topic started by: mimmolo on January 12, 2007, 07:34:05 PM

Title: next page on front page?
Post by: mimmolo on January 12, 2007, 07:34:05 PM
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?
Title: Re: next page on front page?
Post by: mimmolo on January 27, 2007, 06:48:29 PM
up
Title: Re: next page on front page?
Post by: IchBin on January 27, 2007, 08:03:53 PM
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.
Title: Re: next page on front page?
Post by: mimmolo on January 27, 2007, 08:27:01 PM
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!
Title: Re: next page on front page?
Post by: mimmolo on January 27, 2007, 08:33:43 PM
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
Title: Re: next page on front page?
Post by: IchBin on January 27, 2007, 09:29:00 PM
It should be in one of the language files. You have the italian language TP files I assume?
Title: Re: next page on front page?
Post by: mimmolo on January 27, 2007, 09:45:13 PM
yes I have the Italian language for TP but pages remain pages...

I'll search better in all language file. thank you
Title: Re: next page on front page?
Post by: IchBin on January 29, 2007, 06:48:59 PM
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.
Title: Re: next page on front page?
Post by: mimmolo on January 29, 2007, 07:52:24 PM
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!
Title: Re: next page on front page?
Post by: mimmolo on January 29, 2007, 07:58:30 PM
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.
Title: Re: next page on front page?
Post by: IchBin on January 29, 2007, 08:14:24 PM
very cool! Thank you for reporting back!
Title: Re: next page on front page?
Post by: gffb on June 05, 2007, 02:26:51 AM
I hope I am not hijacking this topic as my questions is related.

I have the setting in TP for frontpage as Forum-posts and articles - sorted on date, and the number of forum posts to show is 5, however with the forum and articles both showing on the frontpage after 5 posts I just loose any others ports or articles there is no page 2,3 and so on.
If I change it to show articles only then yes that works fine I get pages of articles but I want both articles and posts from my news forum to be shown on the frontpage in date posted orded and after 5 posts a newt page link or page 2 link.

Is there a setting that I am missing or something I could change?
Title: Re: next page on front page?
Post by: gffb on June 06, 2007, 02:10:19 AM
bump....:)
Title: Re: next page on front page?
Post by: gffb on June 07, 2007, 07:00:48 PM
Does anyone have any Idea on how to solve my question above ^^
Title: Re: next page on front page?
Post by: IchBin on June 08, 2007, 01:02:39 AM
You are cross posting and hijacking a thread. Please be patient and wait to see if someone can help in your other thread. If you don't receive an answer its doesn't mean you're getting ignored, it means nobody knows.
Title: Re: next page on front page?
Post by: gffb on June 08, 2007, 01:33:19 AM
Sorry :( will post in other thread....