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 \
[https://snippets.obscurative.ru/code:minirecentposts-with-limit/limit/3 3]/\
[https://snippets.obscurative.ru/code:minirecentposts-with-limit/limit/5 5]/\
[https://snippets.obscurative.ru/code:minirecentposts-with-limit/limit/10 10]/\
[https://snippets.obscurative.ru/code:minirecentposts-with-limit/limit/20 20]/\
[https://snippets.obscurative.ru/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

you cant edit your page after this bruh
(by Fractal Orion 20 Nov 2024 17:42, posts: 2)
I am unsure if I simply misunderstood, but using the code you displayed first: [[include...
(by Director Erzahler 14 Nov 2024 02:52, posts: 6)

Limit="2"

you cant edit your page after this bruh
(by Fractal Orion 20 Nov 2024 17:42, posts: 2)
I am unsure if I simply misunderstood, but using the code you displayed first: [[include...
(by Director Erzahler 14 Nov 2024 02:52, posts: 6)

Limit="20"

you cant edit your page after this bruh
(by Fractal Orion 20 Nov 2024 17:42, posts: 2)
I am unsure if I simply misunderstood, but using the code you displayed first: [[include...
(by Director Erzahler 14 Nov 2024 02:52, posts: 6)
When I first tried this, It didn't work. This was due to my stupidity as I tried using a YouTube...
(by Director Erzahler 09 Oct 2024 18:37, posts: 12)
Replaying to myself. This doesn't work. Instead, to do this, put the Embed code between html...
(by Director Erzahler 27 Sep 2024 03:09, posts: 28)
I don't know nothing of this type of problem at all, sorry can't help you. Now, when you put the...
(by AWriterOn 26 Sep 2024 05:44, posts: 9)
Which, again, both end in a "wiki refused to connect" message.
(by Director Erzahler 25 Sep 2024 02:12, posts: 9)
Okay, I did that. It works but once again, everytime I press on the weh link(s) provided in the...
(by Director Erzahler 25 Sep 2024 02:09, posts: 9)
Did you put the Wikidot code in the module for HTML? The Wikidot syntax for this is shown...
(by Eye14 25 Sep 2024 00:43, posts: 9)
This was made before 2020, wasn't it? What am I saying? Of course it was. For anyone new coming...
(by Director Erzahler 25 Sep 2024 00:15, posts: 2)
I'm afraid that all it did for me was show the code. Maybe I made a typo or something. But here's...
(by Director Erzahler 25 Sep 2024 00:08, posts: 9)
I edited the code so that it only show results of your wiki. I prove it, for me it did work...
(by AWriterOn 23 Sep 2024 19:48, posts: 9)

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