| Author |
Message |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2857 Location: Germany |
|
Prev-next-links for full story |
|
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.
| Description: |
|
 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 |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
odin
Moderator
Joined: 29 Sep 2005 Posts: 138 Location: Poland |
|
|
|
BUhahahahahahaha I had it I had it I had it 
|
|
| Fri Jan 13, 2006 5:42 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2857 Location: Germany |
|
|
| Wed Jan 18, 2006 1:11 am |
|
 |
Kova-2CROwded
Joined: 04 Jan 2006 Posts: 38 Location: Croatia/Zagreb |
|
|
|
Nothing on this link ..
Except Title Gallery.
|
|
| Wed Jan 18, 2006 6:27 pm |
 |
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2857 Location: Germany |
|
|
| Wed Jan 18, 2006 8:05 pm |
|
 |
joshers
Joined: 14 Nov 2005 Posts: 68
|
|
|
|
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 |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2857 Location: Germany |
|
|
|
 |  | There seems to be a bug when you you're using prospective posting, it will display the next article. |
Fixed. 
|
|
| Sun Jan 22, 2006 9:17 pm |
|
 |
afxback
Joined: 11 Nov 2005 Posts: 129
|
|
I need this module |
|
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 |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2857 Location: Germany |
|
|
|
1. Add this to Options -> User Friendly Urls:
 |  | [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 |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 2027 Location: US |
|
|
|
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  |
|
| Sat Jul 01, 2006 2:25 am |
|
 |
SS
Joined: 09 Jun 2006 Posts: 23
|
|
|
|
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 |
 |
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2857 Location: Germany |
|
|
|
Change this:
 |  | for(($reverse ? $j=0 : $j=count($query2)-1); ($reverse ? $j < count($query2) : $j >=0); ($reverse ? $j++ : $j--)){
|
to this:
 |  | for(($reverse ? $j=0 : $j=4); ($reverse ? $j < 4 : $j >=0); ($reverse ? $j++ : $j--)){
|
Not tested.
|
|
| Sat Jul 08, 2006 6:44 pm |
|
 |
SS
Joined: 09 Jun 2006 Posts: 23
|
|
|
|
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 |
 |
 |
rats
Joined: 29 May 2006 Posts: 44
|
|
|
|
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
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 |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 2027 Location: US |
|
|
|
 |  | 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 
_________________ 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  |
|
| Wed May 23, 2007 5:14 pm |
|
 |
|