MiniRecentPosts With Limit

By ErichSteinboeckErichSteinboeck

Description

Work in Progress …
This could work, but doesn't ..

If you'd like to allow users to interactively limit the number of displayed posts when using MiniRecentPosts use the below code.

Code

++ Recent Posts
[[size smaller]]Limit to \
[http://snippets.wikidot.com/code:minirecentposts-with-limit/limit/3 3]/\
[http://snippets.wikidot.com/code:minirecentposts-with-limit/limit/5 5]/\
[http://snippets.wikidot.com/code:minirecentposts-with-limit/limit/10 10]/\
[http://snippets.wikidot.com/code:minirecentposts-with-limit/limit/20 20]/\
[http://snippets.wikidot.com/code:minirecentposts-with-limit/limit/50 50] \
most recent posts[[/size]]
[[module MiniRecentPosts]]

In action

Recent Posts

Limit to 3/5/10/20/50 most recent posts

Hi Rob, Thanks for the assist, it is greatly appreciated. I have used your suggestion of right...
(by mgb 05 Apr 2013 22:56, posts: 5)
You're very welcome, I'm please it worked. And welcome also to the wonderful world of CSS! For...
(by RobElliott 05 Apr 2013 17:42, posts: 5)
Hi Rob, Thank you very much for the feedback. I apologize for posting it in the incorrect forum,...
(by mgb 05 Apr 2013 17:13, posts: 5)
Welcome to Wikidot. This snippets site is not a general support forum, so in future you'd be best...
(by RobElliott 05 Apr 2013 09:58, posts: 5)
Hi all, I'm trying to set a page back ground picture for all pages in the wiki but I'm not having...
(by mgb 04 Apr 2013 10:31, posts: 5)

Limit="2"

Hi Rob, Thanks for the assist, it is greatly appreciated. I have used your suggestion of right...
(by mgb 05 Apr 2013 22:56, posts: 5)
You're very welcome, I'm please it worked. And welcome also to the wonderful world of CSS! For...
(by RobElliott 05 Apr 2013 17:42, posts: 5)

Limit="20"

Hi Rob, Thanks for the assist, it is greatly appreciated. I have used your suggestion of right...
(by mgb 05 Apr 2013 22:56, posts: 5)
You're very welcome, I'm please it worked. And welcome also to the wonderful world of CSS! For...
(by RobElliott 05 Apr 2013 17:42, posts: 5)
Hi Rob, Thank you very much for the feedback. I apologize for posting it in the incorrect forum,...
(by mgb 05 Apr 2013 17:13, posts: 5)
Welcome to Wikidot. This snippets site is not a general support forum, so in future you'd be best...
(by RobElliott 05 Apr 2013 09:58, posts: 5)
Hi all, I'm trying to set a page back ground picture for all pages in the wiki but I'm not having...
(by mgb 04 Apr 2013 10:31, posts: 5)
Thanks. As mentioned in the background section, I was inspired by your excellent solutions.
(by Ed Johnson 23 Mar 2013 14:37, posts: 2)
WOW! This is an outstanding invention! Big well done Ed, this is awesome! @tsangk, yes, yes I did...
(by James Kanjo 23 Mar 2013 12:47, posts: 2)
[embed]] <script...
(by SO ANITA 27 Feb 2013 08:17, posts: 1)
That's not possible with a CSS solution like this. You should add a wish for it on...
(by Ed Johnson 26 Feb 2013 22:07, posts: 2)
hiding tags starting with a single letter or two
(by Zatz 26 Feb 2013 18:51, posts: 2)
You are awesome. Thank you.
(by Pirate Spice 15 Feb 2013 19:01, posts: 24)
<iframe width="425" height="350" frameborder="0"...
(by tymek12 15 Feb 2013 13:45, posts: 1)
can this be used to when embedding pages within wikidot?
(by Zatz 14 Feb 2013 16:45, posts: 1)
I have not found a way to control the output of a standard wikidot page in an iframe.. You...
(by RobElliott 14 Feb 2013 08:47, posts: 36)
No it hasn't, you've made an error in your syntax and inserted spaces between the values. It...
(by RobElliott 14 Feb 2013 08:43, posts: 38)
That depends on the "theme" used for the embedded page-category ! if the theme used for...
(by Helmuti_pdorf 14 Feb 2013 08:24, posts: 36)
If embedding a page within a page is there anyway NOT to include the side bar?
(by Zatz 14 Feb 2013 08:16, posts: 36)
this works for wikidot but you cannot just embed another page, like if you wanted to do a side by...
(by Zatz 14 Feb 2013 07:47, posts: 1)
has the coloring formatting changed since the odler posts on this snippet? minColor="0,...
(by Zatz 14 Feb 2013 07:21, posts: 38)
interesting event, expand first Adventuring and the plain jane tabview below it moves the tabs to...
(by Zatz 12 Feb 2013 09:23, posts: 21)

Thanks to tsangk for this great snippet: conditional-blocks


text above inserted with:

[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]



Other snippets posted by ErichSteinboeck

TOC's from many pages - 16 Feb 2012 01:47
Redirect: To - 16 Feb 2012 01:37
Module Listpages Tags - 16 Feb 2012 01:24
Module Feed Drilldown: Details Page - 16 Feb 2012 01:24
Module Feed Drilldown - 16 Feb 2012 01:24
Module Feed: Collapsible - 16 Feb 2012 01:23
Module Categories - 16 Feb 2012 01:23
ListPages: Horizontal? - 16 Feb 2012 01:20
Choose A Page! - 15 Feb 2012 00:32
Redirect: From (1st) - 01 Mar 2009 18:18
Redirect: From (2nd) - 01 Mar 2009 18:17


Rate this solution

If you think this solution is useful — rate it up!

rating: +2+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License