Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-29 17:32:10

roelof
Member
Registered: 2005-03-27
Posts: 647

problems with layout and upm-archive plugin

Hello,

Im using this plugin to make a sott of archive.
For the layout of the articles I’m using this form

<div class=“date_box”>
<div class=“date_box_month”><txp:posted format=”%b” ></div>
<div class=“date_box_day”><txp:posted format= “%d” ></div>
</div>
<h3 class=“entry-title”><txp:title /></h3>
</txp:if_individual_article>

<div class=“entry-content”>
<txp:body />
</div>

But if i no look at a article , the layout is distroyed.
See : http://textpattern.tamarawobben.nl/?month=2008-02

How can tell me how to repear this ?

Roelof

Offline

#2 2008-02-29 17:35:29

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: problems with layout and upm-archive plugin

<div class=“date_box”>
<div class=“date_box_month”><txp:posted format=”%b” ></div>
<div class=“date_box_day”><txp:posted format= “%d” ></div>
</div>
<h3 class=“entry-title”><txp:title /></h3>
</txp:if_individual_article>

<div class=“entry-content”>
<txp:body />
</div>

First, I see an </txp:if_individual_article> closing tag, but where is the one that opens it?

Second, I think <txp:posted /> needs a trailing slash, and you have not one but two of those tags without the trailing slash.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#3 2008-02-29 18:01:40

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: problems with layout and upm-archive plugin

Hoi Maniqui,

That did the trick.

Roelof

Offline

Board footer

Powered by FluxBB