Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-11-03 14:33:26

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

currently have article list, I want to add recent post showing txp

Here I am again…

I have txp 4.4.1

I like being able to show a list of the last set of articles posted. It is working to get people to look at more than just the most recent article.

What I would like to do now is show all of the most recent article along with the list of the articles after that.

Is there an easy way to do this ? Or am I stuck with a list of article titles, or a showing all of each article up to the limit I have set ?

Thanks !

Offline

#2 2013-11-03 15:27:42

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

Re: currently have article list, I want to add recent post showing txp

Hi Jim, I guess you are talking about the front page?

This basic structure might be of help

<txp:if_article section="">
<txp:article limit="1" />
<txp:custom_article><txp:permlink><txp:title /></txp:permlink></txp:article_custom>
</txp:if_article_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 2013-11-03 18:59:19

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: currently have article list, I want to add recent post showing txp

Yes, the front page. I want to show the most recent article in full, and a list of articles after that one.

This what I currently have.

bc.. <txp:if_article_list><h1><txp:section title=“1” /></h1></txp:if_article_list>

<div class=“hfeed”> <txp:article listform=“article_listing” limit=“36” /> </div>

<txp:if_individual_article> <div class=“divider”><txp:image id=“1” /></div>

<p><txp:link_to_prev>« <txp:prev_title /></txp:link_to_prev> <txp:link_to_next><txp:next_title /> »</txp:link_to_next></p>
<txp:else /> <p><txp:older>« <txp:text item=“older” /></txp:older> <txp:newer><txp:text item=“newer” /> »</txp:newer></p>
</txp:if_individual_article>
p.

Last edited by JimJoe (2013-11-03 19:07:25)

Offline

Board footer

Powered by FluxBB