Hey guys!
First of all, sorry if I'm posting in the wrong section! I was wondering if anyone could help me with this: I've been using BlogIt for a little while now to display portfolio work on my home page. It looks great, and the plugin is very customizeable in terms of html and css.
Sadly, the documentation on BlogIt is basically nonexisting. It seems like the plugin only displays the most recent five articles and the others just kind of disappear in thin air. I'm guessing there should be an option to click to a next page or just to load more articles on the page. It would be great if anyone could help me figure out how to do a pagination. It would be even better if somebody could explain to me how to load more articles on scroll.
I'm using Modx Revo 2.5.4. If I need to supply any more information, please let me know! Thanks in advance.
Kind regards,
Yoel
Hi yoelmrthrs,
BlogIt use the extra getResources to grab all resources in a certain folder. The code can be found in the chunks with the name
blogit.get_posts
[[blogit.lexicon_load]]
[[!getResources?
&parents=`[[*id]]`
&tpl=`blogit.blog_row_tpl`
&includeTVs=`1`
&processTVs=`1`
&tvPrefix=``
&where=`[[!TaggerGetResourcesWhere]]`
]]
By default getResources limits the output of resources at 5 so maximum of 5 resources will be returned by getResources. You can modify this limit to set it with 0 for unlimited output by adding the following parameter to the chunk.
Codeplaza Webdesign: for professional websites at low cost