Hi all
I converted my personal website to MODX as well, and now i am trying to create an automated bloglist.
- Resource 2 is the page with all the blogposts. The posts are all children of resource 2.
- I created a tv, with tag categories to sort my blogposts
- I created a chunk to use as a very small template.
- Trying to get it working with a getresources call, but failing.
Where do I go wrong?
Resource 2, to list all the posts, is constructed this way:
<div class="usa-width-one-third">
<h3>Category 1</h3>
<ul>
[[getResources? &parents=`2` &includeTVs=`1` &processTVs=`1` &tvFilters [(tvPostCategorie)(=)](Webdesign)]]
</ul>
</div>
<div class="usa-width-one-third">
<h3>Category 2</h3>
<ul>
</ul>
</div>
<div class="usa-width-one-third">
<h3>Category 3</h3>
<ul>
</ul>
</div>
The bloglist template chunk is as such:
< li>< a href="[[~[[+id]]]]" title="[[+pagetitle]]">[[+pagetitle]]< /a>< /li>
Or am I thinking way too complex and can it be done in a more simple/elegant way?