.weblog engine
FAQ :: Search ::  Memberlist ::  Register :: Profile ::  Usergroups ::  Log in
Log in to check your private messages ::  Download Pivot :: Support Pivot | Info
Help others in the Pivot Community by posting answers to questions whenever you can!
Paging v0.7
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic   printer-friendly view    Pivot Support Forum Index -> Extension Releases
View previous topic :: View next topic  
Author Message
Niwla
Platinum Sponsor
<b>Platinum Sponsor</b>


Joined: 02 Jul 2004
Posts: 532
Location: Groningen, The Netherlands

PostPosted: Sat Jun 30, 2007 3:29 am    Post subject: Re: Paging v0.7 Reply with quote

Dear Hans,

It works great now!!! Very Happy Thanks for your great support (again).

I think this extension is one_of_the best !!! Cool

_________________
Download Free Pivot Ported Templates here!
Back to top
View user's profile Send private message
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Mon Jul 23, 2007 12:42 pm    Post subject: Re: Paging v0.7 Reply with quote

I'm happy to announce version 0.5 with one important new feature:

Added optional parameter to set the number of entries to jump/skip between pages (to override the automatically calculated number).

This change was needed because of this (very useful) patch ...

_________________
My Pivot bookmarks, snippets and scripts| Pivot Documentation Project: Template tags
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
holas
Respected Pivot Enthusiast
Respected Pivot Enthusiast


Joined: 28 Nov 2006
Posts: 171

PostPosted: Sat Jul 28, 2007 6:42 am    Post subject: Re: Paging v0.7 Reply with quote

I installed this snippet but in my frontpage shows "16 next entries". In my pivot I have 10 entris in my subweblog standard. Why shows 16 entries and not 10 entries?. Thank you.
_________________
www.palasdepadel.net
Back to top
View user's profile Send private message
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Sat Jul 28, 2007 12:29 pm    Post subject: Re: Paging v0.7 Reply with quote

Did you even read the docs? Apperently not.

You have several subweblogs in your frontpage template - if you only want paging for one of them use "paging_subweblog" in stead of "paging".

_________________
My Pivot bookmarks, snippets and scripts| Pivot Documentation Project: Template tags
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
holas
Respected Pivot Enthusiast
Respected Pivot Enthusiast


Joined: 28 Nov 2006
Posts: 171

PostPosted: Sun Jul 29, 2007 6:46 am    Post subject: Re: Paging v0.7 Reply with quote

Ok, works fine now. Thank you very much.
_________________
www.palasdepadel.net
Back to top
View user's profile Send private message
kickfm
Pivot Groupie
Pivot Groupie


Joined: 16 May 2007
Posts: 65

PostPosted: Thu Aug 30, 2007 9:31 am    Post subject: Re: Paging v0.7 Reply with quote

Hello,

Great snippet! But have some problems with the code to setup correctly.
If use this:
Code:
[[paging:next: Vorige: %num%]]

My link will be blank, so there's nothing to click on it.

But when I use this:
Code:
[[paging:next: Vorige]]

My link will like this
Code:
.../archive.php?c=Muziek&o=34

I guess the o=34 is the amount (10 will be viewed on the page). But I want the standard number of paging (wich is 10).

What do I have to do to work it fine for me?

_________________
http://www.kickfm.nl
Back to top
View user's profile Send private message
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Thu Aug 30, 2007 4:08 pm    Post subject: Re: Paging v0.7 Reply with quote

You made a typo - it should be
Code:
[[paging:next: Vorige %num%]]

No, "o=34" means that you are 34 away from the "base" entry. The page will display 10 entries - if that is what you have selected in the (sub)weblog. The paging snippet doesn't control how many entries are actually displayed.

_________________
My Pivot bookmarks, snippets and scripts| Pivot Documentation Project: Template tags
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
kickfm
Pivot Groupie
Pivot Groupie


Joined: 16 May 2007
Posts: 65

PostPosted: Fri Aug 31, 2007 7:47 am    Post subject: Re: Paging v0.7 Reply with quote

Again thanks Hans, for your support.

Does this this snippet has to work like this?
When you click on next, it will give 10 entries earlier than the newest entries in the category? I thought it was.

When I use it now, it will jump to far away (skipped other entries).

For every category the output is "Vorige 34" (next 34) or "Volgende 34" (prev 34)?

_________________
http://www.kickfm.nl
Back to top
View user's profile Send private message
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Fri Aug 31, 2007 12:26 pm    Post subject: Re: Paging v0.7 Reply with quote

You have many subweblogs on your frontpage. If you only want to do paging for one of them - the "main" list of entries, use
Code:
[[paging_subweblog:standard:next: Vorige %num%]]

asuming the main subweblog is called "standard".

Apparently, the docs aren't clear enough... Please read them again and tell me how to make it clearer.

_________________
My Pivot bookmarks, snippets and scripts| Pivot Documentation Project: Template tags
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
kickfm
Pivot Groupie
Pivot Groupie


Joined: 16 May 2007
Posts: 65

PostPosted: Fri Aug 31, 2007 1:08 pm    Post subject: Re: Paging v0.7 Reply with quote

Yes, that will do!

I read the docs again, especcialy Weblogs and Categories, and I understand (now) that a category "works the same" as a subweblog.

I get the trick of your comment above and that part of the docs. A subweblog has 1 category to work properly and when you click on a category you will get a 'sort of subweblog' allthough it's not setup a subweblog in your Pivot admin.
Maybe it is a good point to write it there also.

Hopefully I did make myself clear.

But again Hans, you bring me to the right direction and it works fine for me

_________________
http://www.kickfm.nl
Back to top
View user's profile Send private message
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Wed Sep 05, 2007 4:58 am    Post subject: Re: Paging v0.7 Reply with quote

I'm happy to announce version 0.6 with added Digg (digg.com) style navigation/paging!

You can see it in action on my dev/test blog.

_________________
My Pivot bookmarks, snippets and scripts| Pivot Documentation Project: Template tags
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Niwla
Platinum Sponsor
<b>Platinum Sponsor</b>


Joined: 02 Jul 2004
Posts: 532
Location: Groningen, The Netherlands

PostPosted: Wed Sep 05, 2007 5:08 am    Post subject: Re: Paging v0.7 Reply with quote

Looks great....I will implement it later today Very Happy
_________________
Download Free Pivot Ported Templates here!
Back to top
View user's profile Send private message
camarados
Über Pivot Groupie
Über Pivot Groupie


Joined: 23 Sep 2002
Posts: 99
Location: Groningen

PostPosted: Tue Sep 25, 2007 3:48 am    Post subject: Re: Paging v0.7 Reply with quote

Hans, you said:

Quote:

Code:
[[paging:style:opt_link_text:opt_num_entries]]

The default is "Previous page" and "Next page". For the other (single) link styles the optional link text can contain the following format tags:
Code:
%num% - The number of next/prev/curr entries.
%num_tot% - The total number of entries.
%num_from% - Start number of entries.
%num_to% - End number of entries.


OK, I want to show a next and previous button and in between like for example 7 pages.

[vorige] [1] [2] [3] [4] [5] [6] [7] [volgende]


What do I do?

change this
[[paging:style:opt_link_text:opt_num_entries]]

into this
[[paging:style:opt_link_text:7]]
(doens't work Very Happy )

[[paging:style:opt_link_text:opt_num_entries:%num%=7]]

I dont know, please help.
Yes im using [[paging:digg]] in my templates.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Tue Sep 25, 2007 5:25 am    Post subject: Re: Paging v0.7 Reply with quote

OK, I'm a bit upset - have you tried to carefully read the docs (in the first post of the thread or the included readme)? If so, I can't possibly understand how you can think
Code:
[[paging:style:opt_link_text:7]]

could work?! The docs says
Quote:
style is either "digg", "next", "prev", "curr".

and much more.

OK, so you are using [[paging:digg]] in the templates. I assume that you post because you don't get the result that you want? So please tell us what happens and where we can see the problem.

_________________
My Pivot bookmarks, snippets and scripts| Pivot Documentation Project: Template tags
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
camarados
Über Pivot Groupie
Über Pivot Groupie


Joined: 23 Sep 2002
Posts: 99
Location: Groningen

PostPosted: Tue Sep 25, 2007 5:26 am    Post subject: Re: Paging v0.7 Reply with quote

haha, i did hans, i did!
one moment//
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    Pivot Support Forum Index -> Extension Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4
|
 
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
Your generosity is appreciated!
Gambling News was the last to make a donation
:: go here for sponsorship information ::
Special thanks to our platinum sponsors: Gambling News  
DreamHost

powered by phpBB | RSS Feed