New Modules Nextpage Previouspage

New Modules Nextpage Previouspage

By Helmut_pdorfHelmut_pdorf on 20 Apr 2009 07:32, last edit by leigerleiger on 14 Oct 2009 01:19

Copied from the Syntax Changes journal:
2009-04-016 NextPage / PreviousPage Modules a new feature for ALL users: (ticket 253) available are now Modules

This features are now documented in and open for ALL users of wikidot.
Please - have a try!
I copy the text from Gabrys post:

Hi there,

NextPage and PreviousPage modules are ready for testing!

In the simplest form they link to the next/previous page in the category
when sorted by date (newer/older):

[[module NextPage]]
next page: %%linked_title%%

[[module PreviousPage]]
previous page: %%linked_title%%

(this should work quite well with autonumbering as well — as long as
you don't remove and then recreate pages in the middle of the category)

With by="title" pages are sorted by title! For example:

[[module PreviousPage by="title"]]
previous: %%linked_title%%

(great for dictionaries, when you want to link to the next word in it).

The syntax of the "inside" of module is the same as ListPages, so you
can for example use the %%preview%% to include the preview of page. Well
you all know the power of ListPages syntax, so no need for examples.

Once tested these modules will be documented.

Used in a blog footer you'll probably like something like this:

[[div style="overflow: hidden"]]

[[div style="overflow: hidden; float: left; clear: left"]]
[[module PreviousPage]]
Previous post: %%linked_title%%

[[div style="overflow: hidden; float: right"]]
[[module NextPage]]
Next post: %%linked_title%%


Looking forward to replies from You

Piotr Gabryjeluk developer

In Action:

Previous Blog: Multi File Uploader

Next Blog: New Press Notices


Tags: module nextpage previouspage

Related Community Blog Posts

The following posts have similar tags and may be related to this post.

Rate it up ?

rating: +5+x


Add a New Comment


Bookmark and Share

Community Blog feed-icon-14x14.png

Posts by date

Posts by tags

2018 2019 addthis admin admin_forum alexa animoto app appplication attributes autocomplete automatic autonumber autosave backwards badge banner birthday blog bloo bookmark bootstrap browser bug bugs button calendar candidate category cell ceo changes chinese chrome cleanup code comment community convert count country csi css database data-forms datenschutz delete deletion domain embed etension eu excel explorer favicon featured feature-request features file file-manager firefox fixing form forum free freemind front fun gallery gdpr gemeinschaft genealogy gerdami german glossary good google handbook header heading help helpon home homepage howto how-to html iframe images include infobox inline internet istorijska_biblioteka italian javascript job join joke languages link list listpages listusers live localize logged-in-user-only mail manual mass-delete mass-edit mediawiki members membership membershipapply membershipbypassword michal microsoft mindmanager mindmap mindmeister module multi-file multilingual nested newpage news newspaper newyear nextpage official open pagecalendar pagecalender pagepath pages %%page_unix_name%% permissions playground portuguese press previouspage private pro programming reshuffle rob row russian sandbox scheme scripting search search_engine services simplecal skins snippet social spam spanish squark styles successful syntax system table tag tags template templates theme themes thumbnail thumbnails toolbar town translate turkish tutorial tweet updated_at upload uri url user users variables video vote weneed wiki wikidot wikipedia wish wishlist yaml

Posts by rating

New Modules Nextpage Previouspage
Rating: þ{rating}þ (20 Apr 2009 07:32)

New Modules Nextpage Previouspage
Rating: þ{rating}þ (20 Apr 2009 07:32)

New Modules Nextpage Previouspage
Rating: þ{rating}þ (20 Apr 2009 07:32)


{"module":"feed\/FeedModule","params":{"src":"http:\/\/\/feed\/pages\/category\/blog\/t\/Michal+Frackowiak%27s+blog","limit":"1","module_body":"**[http:\/\/ Michal]:** \n%%linked_title%%\n[[size smaller]]%%date|%e %b %Y at %H:%M |agohover%%[[\/size]]"}}
{"module":"feed\/FeedModule","params":{"src":"http:\/\/\/feed\/pages\/category\/dev\/t\/Piotr+Gabryjeluk+blog","limit":"1","module_body":"**[http:\/\/\/ Gabrys]:**\n%%linked_title%%\n[[size smaller]]%%date|%e %b %Y at %H:%M |agohover%%[[\/size]]"}}
{"module":"feed\/FeedModule","params":{"src":"http:\/\/\/feed\/pages\/category\/blog\/t\/Squark%27s+Latest+Posts","limit":"1","module_body":"**[http:\/\/\/ Squark]:**\n%%linked_title%%\n[[size smaller]]%%date|%e %b %Y at %H:%M |agohover%%[[\/size]]"}}

Admin dashboard

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.