-
- 98 Posts
Hey gadgetto thanks for you code.
I spent hours trying to get the pagination to work and then I came across this post copied your getpage code and now have exactly what I was after.
What this forum needs is somewhere full of code examples so people like me who do this mnore out of interest have a number of working examples to get things up and running.
Thanks for the that.
Cheers
Ian
-
- 375 Posts
Quote from: zzseba at Nov 22, 2013, 01:10 PMI get the same error, an array... any help?
Thanks!!
If an array is displayed, the most common error is a missing chunk.
If you follow the hints above, it should work as expected. If not, you need to provide more informations (eg. post your source code) so that we can help.
regards,
Martin
-
- 375 Posts
Quote from: noahlearner at Aug 27, 2014, 02:48 PMHey All,
I can't get Archivist to work properly. I am using revo 2.31.
example page is at http://c1274.paas2.tx.modxcloud.com/news/
on News page, my snippet call is:
[[!Archivist? &target=`307` &parents=`2`]]
The snippet call on archives page (with id of 307) is:
<h2>[[+arc_month_name]] [[+arc_year]] Archives</h2>
[[!getArchives? &parents=`2` ]]
No posts get outputted on target page
Is the parent with ID 2 an Articles container? If so, you need to add this param to your getArchives call (see a few post above):
Also I have written a complete tutorial for Archivist, which you can read here:
http://www.bitego.com/weblog/2014/01/22/create-a-stylish-news-archive-with-articles-and-archivist.html
-
- 244 Posts
Hey Martin,
No Joy. I created chunks to match yours on thy blog page. please check results on page I linked to above. I am willing to pay for a fix.
-N
-
- 244 Posts
Well I feel dumb...I just needed to assign a tpl to the getarchives snippet call on the archives page.
-
- 375 Posts
Well - if you choose MODX as your CMS you can't be that dumb...
I don't want to think about how often I struggle with simplest errors I produced for myself...