Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
combine sections into one?
on my blog’s page i use the txp:article tag to generate posts. but i have a new section that i’d like to combine into this feed. if it was article_custom i guess i could do section=“section1, section2” and they’d be combined, but not in this case. any suggestions?
Offline
Re: combine sections into one?
Just tell Textpattern to show articles from that section on the frontpage.
That’s the fast help text from the section preferences:
Textpattern Help
Section Article Appear on Front Page
The articles in some sections, such as those resembling more ‘static’ web pages, may seem out of place in the time-sensitive flow of your site’s front page.
Setting this to ‘no’ will prevent articles assigned to this section from appearing on the front page.
Source: http://rpc.textpattern.com/help/?item=section_on_frontpage&language=en-us
Same for RSS feed…
[OT] Edit: Note that language=en-us
is the important part in the URL to get good output. For many other country codes eg en-en
no specific help text is available.
Last edited by merz1 (2010-02-06 19:35:47)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
Re: combine sections into one?
for my front page i use article_custom to display any blog posts. the blog is just a sub-section of the site. sorry for the confusion.
i’m thinking the solution is going to be to move all the articles in my special section over to the blog section and keep them all the same section.
Offline
#4 2010-02-06 20:49:04
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: combine sections into one?
mrtunes wrote:
on my blog’s page i use the txp:article tag to generate posts. but i have a new section that i’d like to combine into this feed. if it was article_custom i guess i could do section=“section1, section2” and they’d be combined, but not in this case. any suggestions?
Is there a reason why you can’t use article_custom?
Offline
Re: combine sections into one?
mrtunes wrote:
i’m thinking the solution is going to be to move all the articles in my special section over to the blog section and keep them all the same section.
Sound good. It’s easy to do with TXP’s multiedit function (the box below backend’s article list).
If you need really customized feeds you can build them with standard tags and plugins; MattD: I used rah_external_output and the following code[…].
Els wrote:
Is there a reason why you can’t use article_custom?
Maybe mrtunes requires pagination without tricks and twootnostlets* :> If not, article_custom might be the right way to go :-)
(*you can paginate article_customs but it requires some PHP counting).
Last edited by Gocom (2010-02-06 21:07:31)
Offline
Re: combine sections into one?
this is correct. i figured txp:article was always best for something like a blog section. i will keep rah_external_output in mind as i keep experimenting with the feed though! i’ve been thinking about using it for a bunch of things lately actually :)
Offline
Pages: 1