Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
[de-de] Autorenprofile
Ich betreibe eine Seite mit mehreren Autoren. Diese sollen sich alle mit einem kurzen Text, einem Foto und einer Liste aller bisher geschriebenen Artikel wiederfinden. Sozusagen ein Autorenprofil (siehe www.rezepteblock.de/autoren).
Ich benutze bisher das Plugin “xkl_contacts” welches die beiden ersten Punkte auch gut hin bekommt. Nur eine Artikelliste ist (meiner Meinung nach) leider nicht möglich.
Kennt jemand vielleicht eine andere Lösung um solche Visitenkarten in ein Blog zu integrieren?
Visit my Textpattern sites:
Northerndelight | Hasenbude
Curiculum Vitare | Rezepteblock
Offline
Re: [de-de] Autorenprofile
Since you can read English….
I think you can probably do it- Create a section called ‘autoren’ and make sure articles from that section don’t appear on the front page.
- Let each author create an article with his/her profile and set the section to ‘autoren’
- For articles displayed elsewhere on the website, you can make the author name clickable by using this tag:
<txp:author section="autoren" link="1" /> - For the section ‘autoren’ you can use a page like this:
<txp:if_individual_article>
<txp:article form="form_to_show_profile" />
<txp:asy_wondertag>
<txp:article_custom form="form_to_show_list_of_articles_published_by_this_author" author="<txp:author />"/>
</txp:asy_wondertag>
<txp:else />
<txp:article form="form_to_show_list_of_profiles" />
</txp:if_individual_article>
This should give you a list of profiles on the /autoren section and if you select one of the authors, you should see their full profile, including a listof articles published by that author.
Last edited by ruud (2006-11-10 10:21:08)
Offline
Re: [de-de] Autorenprofile
Hi Ruud,
thanx for so fast helping me.
- I have installed the plugin asy_wondertag
- I have created a section called ‘test’ because ‘autoren’ is still in work and online.
- I have created an article for each author
- I have created a form to show a list of profiles called ‘test’ because….
… and it works fine: http://www.rezepteblock.de/test
But how do I get the clickable list of articles for each author?
What is ‘asy_wondertag’ do for me?
Here ist my page called ‘test’
<txp:if_individual_article>
<txp:article form="default" />
<txp:asy_wondertag>
<txp:article_custom form="default" author="<txp:author />"/>
</txp:asy_wondertag>
<txp:else />
<txp:article form="test" />
</txp:if_individual_article>
and the form ‘test’ looks like this
<div class="vcard">
<txp:article_image align="right" class="foto" thumbnail="0" /><strong><txp:title /></strong>
<txp:body />
</div>
Below the <body> I like to have the list of articles.
Thanx Holger
Last edited by holli.p (2006-11-10 11:32:20)
Visit my Textpattern sites:
Northerndelight | Hasenbude
Curiculum Vitare | Rezepteblock
Offline
Re: [de-de] Autorenprofile
asy_wondertag enables you to use a TXP tag (author) as an attribute value inside another TXP tag (article_custom)
Do you want the list of articles for each author to appear on the page that shows all the authors? I’m not sure if that’ll work, because you would be nesting lists of articles. You can try placing <txp:asy_wondertag><txp:article_custom form="default" author="<txp:author />"/></txp:asy_wondertag> below <txp:body />
Last edited by ruud (2006-11-10 12:18:00)
Offline
Re: [de-de] Autorenprofile
That doesn’t work. It shows no result.
Do you have an other idea?
Last edited by holli.p (2006-11-10 12:24:56)
Visit my Textpattern sites:
Northerndelight | Hasenbude
Curiculum Vitare | Rezepteblock
Offline
Pages: 1