Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » article_custom

#1 2007-03-24 06:01:18

exu
New Member
Registered: 2004-04-14
Posts: 2
Website

article_custom

Please look at froon.org You will see basically the output if section “flog” and section “droppings”. I am using article_custom on both sections. For some reason “Flog“updates on the fron page just fine with new post, but “droppings” gets stuck on a post and will not show newer post. I am really stump! I am sorry if this is a stupid one :(


	<title><txp:page_title /></title>

	<txp:feed_link flavor="atom" format="link" label="Atom" />
	<txp:feed_link flavor="rss" format="link" label="RSS" />

	<txp:css format="link" />
<link rel="icon" href="http://www.froon.org/favicon.ico" type="image/x-icon">
</head>
<body>
<!-- accessibility -->
<div id="accessibility">
	<ul>
		<li><a href="#content"><txp:text item="go_content" /></a></li>
		<li><a href="#sidebar-1"><txp:text item="go_nav" /></a></li>
		<li><a href="#sidebar-2"><txp:text item="go_search" /></a></li>
	</ul>
</div>

<div id="container">

<!-- head -->
	<div id="head">
	<img src="images/logo.png"><br>
        <div align=right><p><a href="/droppings/">Droppings</a> - <a href="/flog/">Flog<a> - <txp:email email="exu@froon.org" linktext="Contact Us" /></p></div>
	</div>

<!-- left -->
	<div id="sidebar-1">
<txp:article_custom allowoverride="0" category="flog" excerpted="y" form="main_flog" limit="3" pgonly="0" searchsticky="1" section="flog" status="4" />
	</div>


<!-- center -->
        <div id="content">
<txp:article_custom allowoverride="0" excerpted="y" form="main_droppings" limit="1" pgonly="0" section="droppings" status="4" />
</div>

<!-- footer -->
	<div id="foot">
        <HR WIDTH="50%">
        <p><h6>froon.org (C) Copyright 2003 - 2007 J.H. Warren</h6></p>
</div>

Offline

#2 2007-03-24 12:08:30

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: article_custom

Do the newer articles in section ‘droppings’ have excerpts? With excerpted="y" only those articles that have an excerpt will be displayed.

Also, you can leave out the pgonly, allowoverride and status attributes, because those are the default values.

Offline

#3 2007-03-24 16:12:03

exu
New Member
Registered: 2004-04-14
Posts: 2
Website

Re: article_custom

Thanks! You were exactly right. I knew it was something stupid. :-)

Offline

  1. Index
  2. » Archives
  3. » article_custom

Board footer

Powered by FluxBB