Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-21 13:51:28

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

what's wrong here

Hello,

I have two sections default and februari-2005.
Default must use the front page and februari-2005 not.
Therefore i made this script :

<txp:if_section name=”“>
<p><txp:article /></p>
</txp:if_section>

<txp:if_section name=“Februari-2005”>
<div class=“date_box”>
<div class=“date_box_month”>Jan</div>
<div class=“date_box_day”>18</div>
</div>
<p><txp:article /></p>
</txp:if_section>

But now i see both on the front page. Can someone explain me why ?

Regards,

Roelof

Offline

#2 2008-02-21 14:00:25

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: what's wrong here

In the “Sections” tab have you set the option “On front page?” to “No” for the februari-2005 section?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2008-02-21 14:12:10

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

Re: what's wrong here

Yep.

That’s the first thing i checked.

Roelof

Offline

#4 2008-02-21 14:34:20

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: what's wrong here

The other thing was is it Februari-2005 or februari-2005? This would be the “name” not the “title”. I know these are simple points but we might as well get them out of the way first. :)

Last edited by thebombsite (2008-02-21 14:35:31)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#5 2008-02-21 14:58:16

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

Re: what's wrong here

Hoi Stuart,

It’s februari-2005 but i found it the article had section default instead of februari-2005.

Next problem : making a menu with mootools based on categories and sections .

Regards,

Roelof

Offline

#6 2008-02-21 20:31:13

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: what's wrong here

It’s the little things that always hit you when you aren’t looking. :)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB