-
- 6 Posts
Hi
I have searched but not found, so please excuse if this question has been answered ...
Basically what I would like is have a page with all the articles by one author - which is done by articles automatically, generating the furl /author/XYZ. What I am missing though is to show not just the articles by that person but also further information, eg a biography, photo etc.
Since I couldn't find how articles composes these pages and thus modify it I tried using getresources, but with no luck unfortunately. Sometimes it doesn't work at all, sometimes the count shows there are 40 entries, sometimes only 4; then it shows one article by XYZ although there are six and so on. This call for example shows me one entry (content and count) where there should be six.
[[getResources?
&parents=`3`
&tpl=`sample.ArticleRowTpl`
&includeTVs=`1`
&includeContent=`1`
&showHidden=`1`
&tvPrefix=``
&limit=`100`
&includeTVList=`article_author`
&prepareTVList=`article_author`
&processTVList=`article_author`
&processTVs=`1`
&cache=`0`
&tvFilters=`article_author==%James%`
]]
[[+total]]
Maybe I should start from scratch: How can I display a page including the biography (content from tv article_author) and a list of articles by that author (either taken from article_author or createdby)?
Thanks in advance
-
- 6 Posts
Hi achterbahn,
thanks for answering ... Accessing the author value is not my issue, I get it by createdby as well as by an additional tv I need for more info (bio, pic etc.). What I need is a page that shows this info as well as all articles created by that person. This call
<a href="[[~[[*parent]]]]author/[[*createdby:userinfo=`username`]]">Read more from [[*createdby:userinfo=`username`]] ></a>
is the on-board articles call and creates a page /author/[username] with all his/her articles, but I need to have additional info on this page shown as well: pic and bio.