Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-10-27 10:29:55

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

form that displays articles from certain section

my aim is to create page that displays form “eng_home” that displays articles from section “home”

my page: <txp:article form=“eng_home” />

my eng_home form:

<h3><txp:title /></h3>
<txp:if_article_list>
<txp:if_excerpt>
<txp:excerpt />
<p class=“meta”><txp:permlink>read on…</txp:permlink> | <txp:comments_invite /> | <txp:posted /></p>
<txp:else />
<txp:body />
<p class=“meta”><txp:comments_invite /> | <txp:posted /></p>
</txp:if_excerpt>
<txp:else />
<txp:body />
</txp:if_article_list>

I dont know where to put tag: <txp:section link=“y” name=“home” /> ?

Offline

#2 2006-10-27 13:03:41

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: form that displays articles from certain section

did you try txp:if_section ?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2006-10-27 14:02:17

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: form that displays articles from certain section

colak wrote:

did you try txp:if_section ?

how it should look like in a code? please help.

Offline

#4 2006-10-27 17:02:59

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

Re: form that displays articles from certain section

In your page code you could use <txp:article_custom form=“eng_home” section=“home” />.


Stuart

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

Offline

#5 2006-10-29 11:19:23

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: form that displays articles from certain section

bingo stuart!

Offline

Board footer

Powered by FluxBB