Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Prev-next-links for full story
Goto page 1, 2, 3  Next
 
Reply to topic    Forum Index » Additional Downloads View previous topic
View next topic
Prev-next-links for full story
Author Message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2857
Location: Germany

Post Prev-next-links for full story Reply with quote
This plugin allows you to add prev-next-links and pagination to the full story so you can jump to the previous or next article directly from the full story.



Very usefull if you want to make a gallery: http://english.cutenews.ru/cuteru/gallery.php



Installation:

Just copy it to your plugins folder and activate it in admin panel.



prev-next-links.zip
 Description:
Prev-next-link

Download
 Filename:  prev-next-links.zip
 Filesize:  1.39 KB
 Downloaded:  970 Time(s)



Last edited by FI-DD on Fri Mar 16, 2007 11:59 am; edited 4 times in total
Fri Jan 13, 2006 3:12 pm View user's profile Send private message
Guest








Please login to hide the ads.

odin
Moderator


Joined: 29 Sep 2005
Posts: 138
Location: Poland

Post Reply with quote
BUhahahahahahaha Very Happy I had it I had it I had it Laughing Laughing Laughing Laughing
Fri Jan 13, 2006 5:42 pm View user's profile Send private message MSN Messenger
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2857
Location: Germany

Post Reply with quote
Update:

Pagination added to the full story.



Look at the example gallery for details: http://english.cutenews.ru/cuteru/example/gallery
Wed Jan 18, 2006 1:11 am View user's profile Send private message
Kova-2CROwded



Joined: 04 Jan 2006
Posts: 38
Location: Croatia/Zagreb

Post Reply with quote
Nothing on this link ..



Except Title Gallery.
Wed Jan 18, 2006 6:27 pm View user's profile Send private message Visit poster's website MSN Messenger ICQ Number
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2857
Location: Germany

Post Reply with quote
Works again. Smile
Wed Jan 18, 2006 8:05 pm View user's profile Send private message
joshers



Joined: 14 Nov 2005
Posts: 68

Post Reply with quote
There seems to be a bug when you you're using prospective posting, it will display the next article.



I add posts weeks in advance, the posts are available via next link now. haha. any fix?



Josh
Sun Jan 22, 2006 9:07 am View user's profile Send private message Visit poster's website AIM Address
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2857
Location: Germany

Post Reply with quote
joshers wrote:
There seems to be a bug when you you're using prospective posting, it will display the next article.


Fixed. Smile
Sun Jan 22, 2006 9:17 pm View user's profile Send private message
afxback



Joined: 11 Nov 2005
Posts: 129

Post I need this module Reply with quote
Helo,

dear FI-DD, is it possible to get this demo gallery mod ? please if possible post it here in download section. it nice for me.

thanks
Sat Mar 11, 2006 7:27 am View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2857
Location: Germany

Post Reply with quote
1. Add this to Options -> User Friendly Urls:

Code:
[gallery]

post = "{title}.htm"





2. Create a new category for your images.



3. Create a new template. In "Active News" use {link=gallery/post} instead of {link=home/post} to link to the full image.

In "Full Story" use the prev-next-tags provided by the Prev-Next-Plugin to link to the previous/next image and to show the pagination.

See the "Gallery"-template in the demopage for details.



4. Create a file gallery.php in your main Cutenews directory and put an include code in it which uses the new gallery category and the new gallery template.
Sun Mar 12, 2006 9:00 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 2027
Location: US

Post Reply with quote
i really like this plugin but i can't use it.. does it do this to everyone? i liked putting a next post and previous post button on the full story page but when it's the newest post on the website.. the previous post button doesn't work and comes up with an error. i don't have an example to show you but it's cause there is no newer post than the newest post.. all the rest of the pages work though.

_________________
www.scodal.com is an example of cnr as a social forum - www.scottdizzle.com is an example of cnr as a personal website to share whatever cool stuff i feel like. i have another, but it's nsfw. pm me Wink
Sat Jul 01, 2006 2:25 am View user's profile Send private message Visit poster's website AIM Address
SS



Joined: 09 Jun 2006
Posts: 23

Post Reply with quote
FI-DD,

How it is possible to limit amount of pages in pagination?

For sample - max sisplay 4 pages



<< 1 2 3 4 >>



It will seems that at a plenty of pages it to look ridiculously and like < 1 2 3 4 5 6 7 8 9 10 ............................................................. 99 100 >



It would be good to set a variable in template (near {pagination}). For sample {pagination} {max=4}
Sat Jul 08, 2006 1:06 pm View user's profile Send private message Visit poster's website ICQ Number
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2857
Location: Germany

Post Reply with quote
Change this:

Code:
for(($reverse ? $j=0 : $j=count($query2)-1); ($reverse ? $j < count($query2) : $j >=0); ($reverse ? $j++ : $j--)){





to this:

Code:
for(($reverse ? $j=0 : $j=4); ($reverse ? $j < 4 : $j >=0); ($reverse ? $j++ : $j--)){



Not tested.
Sat Jul 08, 2006 6:44 pm View user's profile Send private message
SS



Joined: 09 Jun 2006
Posts: 23

Post Reply with quote
Thank you very much!

Yes, now pagination has 4 links, but it seems what is it does not work correctly. For sample I have now 21 news and pagination is started with 17

I see < 17 18 19 20 21 > and it always shows only the last 5 news.

Opening the newest page (news) pagination is 17 18 19 20 21 >

If open oldest page, pagination is < 17 18 19 20 21

If to press on "<" that I should seems that to receive < 12 13 14 15 16 >, but is same < 17 18 19 20 21





It would be good to have standard pagination as on ACTIVE NEWS - < 1 2 3 ... 19 20 21 >

It is possible?



Sorry for my English.
Sat Jul 08, 2006 7:17 pm View user's profile Send private message Visit poster's website ICQ Number
rats



Joined: 29 May 2006
Posts: 44

Post Reply with quote
I seem to have found a bug... when you're at the last link and there's no way of getting further, the output code is {nextlink}... I bet it's an easy fix, but it's still a bug Very Happy

I even tried to fix it with some str_replace, but no luck with my php noobnessness </3
Wed May 23, 2007 3:35 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 2027
Location: US

Post Reply with quote
Quote:
I seem to have found a bug... when you're at the last link and there's no way of getting further, the output code is {nextlink}...




I noticed that same thing a long time ago and I still don't know what to do about it either Sad

_________________
www.scodal.com is an example of cnr as a social forum - www.scottdizzle.com is an example of cnr as a personal website to share whatever cool stuff i feel like. i have another, but it's nsfw. pm me Wink
Wed May 23, 2007 5:14 pm View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:    
Reply to topic    Forum Index » Additional Downloads All times are GMT + 1 Hour
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.