Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Can someone look over this if_article_list code for me please
Its not working – I get the part after the txp:else – but not the listing part before :(
<txp:if_article_list>
<div class="listing">
<div style="float: left; width: 140px; padding: 5px; padding-top: 0px;">
<txp:permlink><txp:upm_article_image type="thumbnail" class="thumbimg" limit="1" /></txp:permlink>
</div>
<h2><txp:permlink><txp:title /></txp:permlink><div class="float:right;"><span style="color: #000; font-weight: bold;">Price: </span>$<txp:custom_field name="Price" /></div></h2>
<txp:rss_auto_excerpt wrapreadmore="1" words="35" overrideexcerpt="1" linkwraptag="span" linkclass="small" linktext="More Information" ending=" - " />
</div>
</txp:else />
<div id="item">
<h1><txp:title /></h1>
<h2><txp:custom_field name="Price" /></h2>
</div>
<div id="thumbholder"><h2 style="margin:0px; padding:0px;"><txp:title /> Images</h2><txp:smd_slimbox limit="6" showpagelinks="0" imageid="?article_image" /></div><txp:body />
<div style="clear: both;">
<h2 style="padding-top: 15px;padding-bottom: 2px; border-bottom: 1px solid #ccc;">Make an Enquiry about <txp:title /></h2>
<txp:output_form form="enquire" />
</txp:if_article_list>
Offline
Re: Can someone look over this if_article_list code for me please
Never mind – I had checked override form :( – thank god for debugging
Offline