Hi!
I want to create a blog with the snippets Ditto and tagLinks. I made everything like it is described in the Tagged blogging Wiki:
http://wiki.modxcms.com/index.php/Tagged_blogging_with_Ditto
Unfortunately I got following error message on the website:
MODx Parse Error
MODx encountered the following error while attempting to parse the requested resource:
PHP Parse Error
PHP error debug
Error: implode() [function.implode]: Invalid arguments passed
Error type/ Nr.: Warning - 2
File: /my-path/manager/includes/document.parser.class.inc.php(770) : eval()’d code
Line: 98
I use modx 1.0.2 and the latest version of tagLinks.
Structure of the website:
Homepage
News
Container 1
article
article
...
Container 2
article
article
Container 3
article
article
...
Here’re the Ditto calls:
News:
[!Ditto? &startID=`5` &tpl=`dittoTpl` &summarize=`6` &tplTrunc=`next` &dateSource=`pub_date` &phx=`1` !]
Container:
[!Ditto? &startID=`5` &tpl=`dittoTpl` &tagData=`tvtags` &tagDelimiter=`|` &tagMode=`onlyTags` &tags=`example`!]
&tpl:
<p class="datum">[+pub_date:date=`%d.%m.%Y`+]</p>
<h2><a href="[~[+id+]~]">[+longtitle+]</a></h2>
<h3><a href="[~[+id+]~]">[[tagLinks? &id=`[+id+]` &tv=`tags` &separator=`|` &fap=`1` &path=`news` &label=`Kategorien: ` &style=``]]</a></h3>
[+summary+] [+link+]
Thanks
Carlina