I’m going through the tutorial located at
http://rtfm.modx.com/display/revolution20/Creating+a+Blog+in+MODx+Revolution but I’m having some issues. I’ve followed it mostly verbatim so my code is mostly copy pasta but it’s giving me some weird output. You can see it here:
http://dave.ravenflight.net/#blog/
Here’s the code from that page:
[[!getResourcesTag? &element=`getResources` &elementClass=`modSnippet` &tpl=`blogPost` &hideContainers=`1` &pageVarKey=`page` &parents=`[[*id]]` &includeTVs=`1` &includeContent=`1`]]
[[!+page.nav:notempty=`<div class="paging"><ul class="pageList">[[!+page.nav]]</ul></div>`]]
<hr />
[[!getResourcesTag? &elementClass=`modSnippet` &element=`getResources` &tpl=`blogPost` &parents=`2` &limit=`5` &includeContent=`1` &includeTVs=`1` &showHidden=`0` &hideContainers=`1` &cache=`0` &pageVarKey=`page`]]
[[!+page.nav:notempty=`<div class="paging"><ul class="pageList">[[!+page.nav]]</ul></div>`]]
I have installed all the necessary packages, created the tags TV and a template called blogPost. What am I doing wrong? Thanks in advance for any help.
Dave