| View previous topic :: View next topic |
| Author |
Message |
Niwla Platinum Sponsor


Joined: 02 Jul 2004 Posts: 532 Location: Groningen, The Netherlands
|
Posted: Sat Jun 30, 2007 3:29 am Post subject: Re: Paging v0.7 |
|
|
Dear Hans,
It works great now!!! Thanks for your great support (again).
I think this extension is one_of_the best !!!  _________________ Download Free Pivot Ported Templates here! |
|
| Back to top |
|
 |
hansfn Pivot Team


Joined: 15 May 2004 Posts: 5289 Location: Molde, Norway
|
|
| Back to top |
|
 |
holas Respected Pivot Enthusiast


Joined: 28 Nov 2006 Posts: 171
|
Posted: Sat Jul 28, 2007 6:42 am Post subject: Re: Paging v0.7 |
|
|
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 |
|
 |
hansfn Pivot Team


Joined: 15 May 2004 Posts: 5289 Location: Molde, Norway
|
Posted: Sat Jul 28, 2007 12:29 pm Post subject: Re: Paging v0.7 |
|
|
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 |
|
 |
holas Respected Pivot Enthusiast


Joined: 28 Nov 2006 Posts: 171
|
Posted: Sun Jul 29, 2007 6:46 am Post subject: Re: Paging v0.7 |
|
|
Ok, works fine now. Thank you very much. _________________ www.palasdepadel.net |
|
| Back to top |
|
 |
kickfm Pivot Groupie


Joined: 16 May 2007 Posts: 65
|
Posted: Thu Aug 30, 2007 9:31 am Post subject: Re: Paging v0.7 |
|
|
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 |
|
 |
hansfn Pivot Team


Joined: 15 May 2004 Posts: 5289 Location: Molde, Norway
|
Posted: Thu Aug 30, 2007 4:08 pm Post subject: Re: Paging v0.7 |
|
|
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 |
|
 |
kickfm Pivot Groupie


Joined: 16 May 2007 Posts: 65
|
Posted: Fri Aug 31, 2007 7:47 am Post subject: Re: Paging v0.7 |
|
|
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 |
|
 |
hansfn Pivot Team


Joined: 15 May 2004 Posts: 5289 Location: Molde, Norway
|
Posted: Fri Aug 31, 2007 12:26 pm Post subject: Re: Paging v0.7 |
|
|
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 |
|
 |
kickfm Pivot Groupie


Joined: 16 May 2007 Posts: 65
|
Posted: Fri Aug 31, 2007 1:08 pm Post subject: Re: Paging v0.7 |
|
|
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 |
|
 |
hansfn Pivot Team


Joined: 15 May 2004 Posts: 5289 Location: Molde, Norway
|
|
| Back to top |
|
 |
Niwla Platinum Sponsor


Joined: 02 Jul 2004 Posts: 532 Location: Groningen, The Netherlands
|
Posted: Wed Sep 05, 2007 5:08 am Post subject: Re: Paging v0.7 |
|
|
Looks great....I will implement it later today  _________________ Download Free Pivot Ported Templates here! |
|
| Back to top |
|
 |
camarados Über Pivot Groupie


Joined: 23 Sep 2002 Posts: 99 Location: Groningen
|
Posted: Tue Sep 25, 2007 3:48 am Post subject: Re: Paging v0.7 |
|
|
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 )
[[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 |
|
 |
hansfn Pivot Team


Joined: 15 May 2004 Posts: 5289 Location: Molde, Norway
|
Posted: Tue Sep 25, 2007 5:25 am Post subject: Re: Paging v0.7 |
|
|
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 |
|
 |
camarados Über Pivot Groupie


Joined: 23 Sep 2002 Posts: 99 Location: Groningen
|
Posted: Tue Sep 25, 2007 5:26 am Post subject: Re: Paging v0.7 |
|
|
haha, i did hans, i did!
one moment// |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|