Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2009-08-11 23:27:53
- raouldelange
- Member
- Registered: 2009-04-06
- Posts: 37
[nl-nl] Authors
Hallo.
Kan iemand me uitleggen waarom ik, als ik op mijn webpagina (http://www.raouldelange.nl/inspiration) op ‘authors’ klik, ik geen lijst met artikelen van de auteur zie, waar er wel een lijst zou moeten zijn…
De link verwijst naar
http://www.raouldelange.nl/inspiration/articles/?author=Raoul+de+Lange
En ik heb twee forms
Author met dit erin
<txp:if_different><txp:author /></txp:if_different>
En Authors met dit erin
<txp:if_different><li><txp:author link="1" section="articles" /></li></txp:if_different>
Last edited by raouldelange (2009-08-11 23:28:14)
Offline
#2 2009-08-12 16:35:58
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [nl-nl] Authors
Waarschijnlijk staat er dan op je pagina (voor sectie ‘articles’) geen article tag die de artikelen kan weergeven, of er ontbreekt een conditional tag of zo. Kun je eens posten wat je op je pagina hebt staan?
Offline
#3 2009-08-12 16:43:24
- raouldelange
- Member
- Registered: 2009-04-06
- Posts: 37
Re: [nl-nl] Authors
Tuurlijk kan ik dat :D
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><txp:site_name /><txp:if_section name=""> - <txp:site_slogan /></txp:if_section></title>
<txp:feed_link flavor="rss" format="link" title="Articles Feed" />
<txp:link_feed_link flavor="rss" format="link" title="Links Feed" />
<txp:css format="link" />
<link rel="stylesheet" href="<txp:site_url />src/css/slimbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="<txp:site_url />src/scripts/mootools.js"></script>
<script type="text/javascript" src="<txp:site_url />src/scripts/slimbox.js"></script>
<script type="text/javascript" src="<txp:site_url />src/scripts/effects.js"></script>
<script type="text/javascript" src="<txp:site_url />src/scripts/external.js">
</script>
</script>
<link href="layout.css" rel="stylesheet" type="text/css" />
<link href="colors.css" rel="stylesheet" type="text/css" />
<link href="default.css" rel="stylesheet" type="text/css" />
</head>
<body class="<txp:section />">
<div id="header">
<div id="headings">
<h1>
<a href="http://www.raouldelange.nl">
<img src="images/Klein Logo Webpagina Back Home Oranje.png"
width="275" height="79" id="logo_ul" /></a>
</h1>
<h2>
<txp:if_section name=""><txp:if_search><txp:article pgonly="1" />Search: <txp:search_result_count /><txp:else /></txp:if_search><txp:else /><txp:breadcrumb label="Home" title="1" /></txp:if_section></h2>
</div>
</div>
<txp:if_section name="">
<div id="articles">
<div class="navigation_articles">
<txp:output_form form="navigation" />
</div>
<h1 class="hide">Articles</h1>
<txp:if_search>
<div class="wrapper">
<txp:article limit="100" />
</div>
<txp:else />
<div class="wrapper">
<txp:article limit="5" />
</div>
<div class="wrapper">
<div class="content alt" id="archive_date">
<h2>Older Articles</h2>
<dl>
<txp:article limit="10" offset="5" form="archive_date" />
</dl>
</div>
<div class="more">
<div class="block">
<h2>Categories</h2>
<txp:category_list break="li" wraptag="ul" section="articles" />
</div>
<div class="block">
<h2>Authors</h2>
<ul>
<txp:article limit="99999" form="authors" sort="AuthorID" />
</ul>
</div>
<div class="block">
<h2>Recent Comments</h2>
<txp:recent_comments wraptag="ul" break="li" />
</div>
</div>
<hr class="clear" />
</div>
</txp:if_search>
</div>
<div id="images">
<div class="navigation">
<txp:output_form form="navigation" />
</div>
<h1 class="hide">Images</h1>
<div class="wrapper">
<ul class="gallery content alt">
<txp:smd_slimbox wraptag="li" sort="date desc" category="!articles" groupname="gallery" limit="30" libcheck="0"/>
</ul>
<div class="more">
<div class="block">
<h2>Galleries</h2>
<txp:category_list break="li" wraptag="ul" type="image" section="image" exclude="articles" active_class="active" />
</div>
</div>
<hr class="clear" />
</div>
</div>
<div id="links">
<div class="navigation">
<txp:output_form form="navigation" />
</div>
<h1 class="hide">Links</h1>
<div class="wrapper">
<div class="alt">
<txp:linklist sort="date desc" limit="10" />
</div>
<div class="more">
<div class="block">
<h2>Categories</h2>
<txp:category_list break="li" wraptag="ul" type="link" section="links" />
</div>
</div>
</div>
<hr class="clear" />
</div>
<div id="about">
<div class="navigation">
<txp:output_form form="navigation" />
</div>
<h1 class="hide">About</h1>
<div class="wrapper">
<txp:article_custom section="about" status="sticky" form="about" />
<div class="more">
<div class="block">
<h2>Authors</h2>
<ul>
<txp:article_custom section="about" form="title" sort="Title asc" />
</ul>
</div>
<div class="block">
<h2>Feeds</h2>
<txp:aam_typogrify><txp:upm_textile>
<txp:output_form form="feeds" />
</txp:upm_textile></txp:aam_typogrify>
</div>
<div class="block">
<h2>Plugins</h2>
<txp:linklist sort="linkname asc" form="Links" wraptag="ul" break="li" limit="99999" category="plugins" />
</div>
<div class="block">
<h2>Downloads</h2>
<txp:file_download_list break="li" wraptag="ul" />
</div>
</div>
<hr class="clear" />
</div>
</div>
</txp:if_section>
<txp:if_section name="articles">
<div id="articles">
<div class="navigation">
<txp:output_form form="navigation_archives" />
</div>
<h1 class="hide">Articles</h1>
<div class="wrapper">
<txp:if_article_list>
<!-- ARTICLE LIST -->
<div class="content alt" id="archive_date">
<txp:if_category>
<!-- CATEGORY LIST -->
<h2>Articles about <txp:category title="1" /></h2>
<dl>
<txp:article limit="10" form="archive_excerpt" />
</dl>
<div class="body paginate">
<p><txp:newer>« newer</txp:newer> <span><txp:older>older »</txp:older></span></p>
</div>
<txp:else />
<txp:if_author>
<!-- AUTHOR LIST -->
<h2>Articles from <txp:article form="author" limit="1" /></h2>
</txp:if_author>
</txp:if_category>
</div>
<!-- ALLEEN OP DE SECTIEHOOFDPAGINA -->
<div class="more">
<div class="block">
<h2>Categories</h2>
<txp:category_list break="li" wraptag="ul" section="articles" active_class="active" />
</div>
<div class="block">
<h2>Authors</h2>
<ul>
<txp:article_custom limit="99999" form="authors" sort="AuthorID" />
</ul>
</div>
</div>
<hr class="clear" />
<txp:else />
<!-- INDIVIDUAL ARTICLE -->
<txp:if_article_id id="10,11"><!-- x en y zijn de ID's van 'By date' en 'By name' -->
<!-- in deze artikelen staan je lijsten 'by date' en 'by name' -->
<txp:article status="sticky">
<h2>Archives <txp:title /></h2>
<txp:body />
</txp:article>
<txp:else />
<!-- dit is een individuele artikelpagina -->
<txp:article />
</txp:if_article_id>
</txp:if_article_list>
</div>
</div>
</txp:if_section>
<txp:if_section name="image">
<div id="images">
<div class="navigation">
<txp:output_form form="navigation_archives" />
</div>
<h1 class="hide">Images</h1>
<div class="wrapper">
<ul class="gallery content alt">
<txp:if_category>
<txp:smd_slimbox wraptag="li" sort="date desc" category="?c" groupname="?c" limit="0" libcheck="0" />
<txp:else />
<txp:smd_slimbox wraptag="li" sort="date desc" category="!articles" groupname="gallery" limit="30" libcheck="0" />
</txp:if_category>
</ul>
<div class="more">
<div class="block">
<h2>Galleries</h2>
<txp:category_list break="li" wraptag="ul" type="image" section="image" exclude="articles" active_class="active" />
</div>
</div>
<hr class="clear" />
<txp:article pgonly="1" />
</div>
</div>
</txp:if_section>
<txp:if_section name="links">
<div id="links">
<div class="navigation">
<txp:output_form form="navigation_archives" />
</div>
<h1 class="hide">Links</h1>
<div class="wrapper">
<txp:if_category>
<div class="content alt">
<txp:asy_wondertag><txp:linklist sort="date desc" limit="99999" category="<txp:c />" /></txp:asy_wondertag>
</div>
<div class="more">
<div class="block">
<h2>Categories</h2>
<txp:category_list break="li" wraptag="ul" type="link" section="links" active_class="active" />
</div>
</div>
<txp:else />
<div class="content alt" id="archive_date">
<h2>Archives</h2>
<dl>
<txp:linklist sort="date desc" form="archive_links" limit="99999" />
</dl>
</div>
<div class="more">
<div class="block">
<h2>Categories</h2>
<txp:category_list break="li" wraptag="ul" type="link" section="links" active_class="active" />
</div>
</div>
</txp:if_category>
</div>
<hr class="clear" />
<txp:article pgonly="1" />
</div>
</txp:if_section>
<txp:if_section name="about">
<div id="about">
<div class="navigation">
<txp:output_form form="navigation_archives" />
</div>
<h1 class="hide">About</h1>
<div class="wrapper">
<txp:if_individual_article>
<txp:article form="about" />
<txp:else />
<txp:article_custom section="about" status="sticky" form="about" />
</txp:if_individual_article>
<div class="more">
<div class="block">
<h2>Authors</h2>
<ul>
<txp:article_custom section="about" form="title" sort="Title asc" />
</ul>
</div>
<div class="block">
<h2>Feeds</h2>
<txp:aam_typogrify><txp:upm_textile>
<txp:output_form form="feeds" />
</txp:upm_textile></txp:aam_typogrify>
</div>
<div class="block">
<h2>Plugins</h2>
<txp:linklist sort="linkname asc" form="Links" wraptag="ul" break="li" limit="99999" category="plugins" />
</div>
<div class="block">
<h2>Downloads</h2>
<txp:file_download_list break="li" wraptag="ul" />
</div>
</div>
<hr class="clear" />
</div>
</div>
</txp:if_section>
<div id="footer">
<div class="wrapper">
<txp:aam_typogrify><txp:upm_textile>
<txp:output_form form="footer" />
</txp:upm_textile></txp:aam_typogrify>
</div>
</div>
</body>
</html>
Offline
#4 2009-08-12 16:52:39
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [nl-nl] Authors
Hoi, je mist inderdaad een article tag, in dit stukje:
<txp:if_author>
<!-- AUTHOR LIST -->
<h2>Articles from <txp:article form="author" limit="1" /></h2>
</txp:if_author>
Als het er hetzelfde uit moet zien als je categorie-pagina, zou je bijv. dit kunnen doen:
<txp:if_author>
<!-- AUTHOR LIST -->
<h2>Articles from <txp:article form="author" limit="1" /></h2>
<dl>
<txp:article limit="10" form="archive_excerpt" />
</dl>
<div class="body paginate">
<p><txp:newer>« newer</txp:newer> <span><txp:older>older »</txp:older></span></p>
</div>
</txp:if_author>
Offline
#5 2009-08-12 17:17:07
- raouldelange
- Member
- Registered: 2009-04-06
- Posts: 37
Re: [nl-nl] Authors
Thanks Els!
Als alles (ooit) af is, kom je wel ff een kijkje nemen op mn site toch?
Offline
#6 2009-08-12 21:18:18
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [nl-nl] Authors
Zeker weten! Zo te zien wordt het de moeite waard!
Offline
Pages: 1