Hello,
i have developed a solution for my web blog using Tagger, based on the approach discussed in anotzer topic here. This functionality recommends related articles on the blog-article-detail-page. At the end of the article, all other posts (excluding itself) tagged with in oe of my examples ‘schoener-unterwegs’ are displayed.
[[!pdoResources?
&parents=`235`
&tpl=`blog-all-template`
&limit=`0`
&where=
`[[!TaggerGetResourcesWhere?
&tags=`schoener-unterwegs,[[!TaggerGetTags? &resources=`[[*id]]` &rowTpl=`tag` &separator=`,` &outTpl=`tags`]]`
&where=`{"id:!=":[[*id]]}`
]]`
&showHidden=`0`
&processTVs=`1`
&includeTVs=`Blog_Image,blog_image_alt,Blog_Image_Header`
&sortby=`{"publishedon":"desc"}`
]]
Is it possible to automatically pass the tags used by the blog article to pdoResources?"
i try it with: &rowTpl=@INLINE [[+alias]]
but it shows all blog-articles
[[!pdoResources?
&parents=`235`
&tpl=`blog-all-template`
&limit=`0`
&where=
`[[!TaggerGetResourcesWhere?
&tags=`[[!TaggerGetTags? &resources=`[[*id]]`&rowTpl=`@INLINE [[+alias]]` &separator=`,` &outTpl=`tags`]]`
&where=`{"id:!=":[[*id]]}`
]]`
&showHidden=`0`
&processTVs=`1`
&includeTVs=`Blog_Image,blog_image_alt,Blog_Image_Header`
&sortby=`{"publishedon":"desc"}`
]]
i find nothing to get all used tags from the article, for further related posts/bogs.