Hi!
I use Ditto/TagLinks. Unfortunately, the page of the particular tag link e.g. www.abc.de/news?tags=hockey can’t be displayed or generated. The user is always forwarded to the index page. What can I do that all articles who have the same tag are displayed on one page?
Ditto call:
[[Ditto? &startID=`[*id*]` &tpl=`articles` &sortBy=`pub_date` &extenders=`summary,tagging` &truncLen=`420` &tplTrunc=`weiter` &tagData=`tags` &tagDelimiter=`,` &tagMode=`onlyTags` &tag=`sport` &paginate=`1` &summarize=`8` &paginateAlwaysShowLinks=`1` ]]
&tpl:
<h2><a href="[~[+id+]~]">[+longtitle+]</a></h2>
<h3 class="tags">[[tagLinks? &id=`[+id+]` &tv=`tags` &separator=`, ` &fap=`1` &path=`news` &label=`Stichworte: ` &style=`dittoTags` &element=`span` ]]</h3>
<div class="artikel">[+summary+] [+link+]</div>
Thanks for your help!
carlina
Are you using FAP (Friendly Alias Paths)? I am guessing that you are not using this feature. The URL if you were using FAP would be like abc.de/section/page?tag=xxx or according to your TagLinks setting it would be abc.de/news/newspage?tag=xxx. In most setups the FAP is turned off which would explain why you are getting the error page. Try setting &fap=`0` and removing the &path=`news` parameter.