-
- 85 Posts
on
http://svn.modxcms.com/docs/display/ADDON/getResources There is an example I would like to recreate:
[[getResources? &parents=`5` &limit=`5` &tpl=`blogPost` &includeContent=`1`]]
The above is inserted in the content of a page
the chunk blogPost looks like this:
<div class="blogPost">
<div class="date">[[+publishedon:strtotime:date=`%b %d %Y`]]</div>
<h2><a href="[[~[[+id]]]]" title="[[+pagetitle]]">[[+pagetitle]]</a></h2>
<p class="author"><strong>Author:</strong> <span class="author">[[+createdby:userinfo=`username`]]</span></p>
<p class="summary">[[+introtext]]</p>
<p class="readmore"><a href="[[~[[+id]]]]"><span>Read more</span></a></p>
<div class="clear"></div>
</div>
<hr/>
but as output on my page I only get:
<p>
<span>
<span>
</span>
</span>
</p>
extra information:
I use the TinyMce editor
any ideas what I did wrong ?
www.tornooi.net online database for (sport) events in dutch.
To be redesigned, rewritten to modx with multiple languages...
ANY help appreciated, I cannot offer money but I can offer free advertising on the site. just message me.
-
- 85 Posts
www.tornooi.net online database for (sport) events in dutch.
To be redesigned, rewritten to modx with multiple languages...
ANY help appreciated, I cannot offer money but I can offer free advertising on the site. just message me.