How To Use PrevNext Modx Addon

How To Use prevNext Modx Addon

Table of Contents

Modax is an open source web application management framework. Modex was originally developed in combination with PHP and Support Cloud. I wrote about a previous add-on for Modex. I discussed various options for using Priority in Modex and other languages. Modex also offers a part front plugin from Drupal.

prevnext is a free addon used in mods to provide navigation.

Using the previous post you can provide how to go to the previous post and how to go to the next post.

Also Read 

 

 

How to call prevnext in programming?

To use this add-on in modx application programming you have to use following this tag with or without argument.

[[!prevNext]]

 

more prevnext functions with example and explanation

&includeTvs=’1′ if you set &includeTvs=1 then it allow your to include the template variable in your code and if you do not want to include template variable then set &includeTvs=0

&includeTVList=“img-print-first” This allow you to include Template variables in your post. here when you use TV variable in list then do not use TV work before TV name.

&nextPrefix =”Specify the text appear in nexprefix” This allows you to specify the link value when use click then redirected to next page.

&PrePrefix =”Specify the text appear in nexprefix” This allows you to specify the link value when use click then redirected to next page.

&Tvprefix= here you can specify the prefix used before Template variable and using this it will call the template variable of this class. for example mydate is template variable and prefix is tv then use can call this using tv.mydate.

&processTVs : set this to 1 to consider process Tvs into flow. if this is set then your can specify the &includeProcessList with all the processess those can able to access this termplate varialble.

&processTVList : Here you can specicify the comma delimited process Template variable list. In turn this will be called by using this .

&parents : Comma-delimited list of ids serving as parents. Use -1 to ignore parents when specifying _resources_to include. If this is not done, getResources assumes &parents as the current resource and reads its children from there (plus the resources given in &resources = unexpected results)

&css : specify the css class name with which you can change the look and feel of the text.

&tpl :

Leave a Comment

Your email address will not be published. Required fields are marked *

No data found.