Hey! I keep getting an error message from the NewsListing snippet: "
Your NewsListing template is blank or you have a typo in the chunk name, please check it." I know the chunk name is alright and the template is NOT blank, so what’s wrong? Here’s the details:
In my "Articles index page" I make a simple NewsListing call, where id=6 is the root folder of all my articles :
[[NewsListing? &tpl='NewsListingTemplate' &truncSplit='false' &startID='6' &summarize='3']]
I’ve created a chunk called NewsListingTemplate which looks like this:
<div>
<h3><a href="[~[+id+]~]">[+title+]</a></h3>
<div>[+summary+]</div>
<p>[+link+]</p>
<div style="text-align:right;">av <strong>[+author+]</strong> den [+date+]</div>
</div>
...and lastly, in the template which my "Articles index page" uses, "article_index", I just put [*content*] in the main content <div>. Maybe it’s me who’s stupid, but this is how I understand from the documentation how it should be done.
Any suggestions appreciated.
Mats Wall
PS. I downloaded MODx last Saturday, March 25. It came with NewsListing 4.4 without any /assets/snippets/newslisting/ folder and no functions.php. I spent most of my day yesterday trying to figure out why the NewsListing call simply killed my page. It came up blank! I got unexpected help from Robsta (thanks, Rob!) who unintentionally alterted me to this problem. I downloaded the latest version, and after that I get at least an error message...