Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-09-19 10:19:40

lisionosk
Member
From: Switzerland
Registered: 2006-02-10
Posts: 99

Ubiquitous posts: publish simultaneously in own section and frontpage

Hi,

I would like the frontpage of my site to function as a portal leading to the various existing sections. I imagine it as sporting the latest picture from my photoblog, an excerpt from the latest article, my latest post-it express note, ect. But in order to have the latest item from each section be published simultaneously in their own dedicated section and on the frontpage (in a downsized version and thus with a special form), I’m figuring I should need to be able to specify two page templates for each section either in the “sections’ tab or the ‘write’ one.

Does anyone know if a plugin exists to do that ? Or any other way to publish posts in more than one section ?

Thank you for any tips.
L.

Offline

#2 2006-09-19 16:15:55

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,589
Website GitHub Twitter

Re: Ubiquitous posts: publish simultaneously in own section and frontpage

Try glx_if


Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#3 2006-09-19 16:22:28

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

Re: Ubiquitous posts: publish simultaneously in own section and frontpage

Mmmmm.

I think you don’t need two templates but just configure your sections to be on frontpage. Look for that option in Presentation -> Sections).
That way, the articles published on the sections that has that option set to on, will also be posted in the frontpage (You have to put a txp:article tag in your default template).

You can have one, two or more pages templates.
With just one template you may need the use of some built-in conditionals like txp:if_section.
Or you can have just two templates, one for the frontpage and one for all your sections.
Or you can have more than two: one for the frontpage, and one for each section.

That’s up to you.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#4 2006-09-19 18:27:22

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,267
Website

Re: Ubiquitous posts: publish simultaneously in own section and frontpage

Offline

#5 2006-09-19 21:39:12

hcgtv
Plugin Author
From: Miami, Florida
Registered: 2005-11-29
Posts: 2,721
Website

Re: Ubiquitous posts: publish simultaneously in own section and frontpage

If you do decide to use bit_rss grab the latest SimplePie from SVN, it will sort posts correctly in Textpattern 4.0.3.

Offline

#6 2006-09-19 23:40:40

lisionosk
Member
From: Switzerland
Registered: 2006-02-10
Posts: 99

Re: Ubiquitous posts: publish simultaneously in own section and frontpage

maniqui:

Ooooh, now I understand what that option was for: that’s pretty spiffy. I already loved TXP, but now, thumbs up! It does precisely what I wanted. Thank you.

Last edited by lisionosk (2006-09-19 23:41:31)

Offline

Board footer

Powered by FluxBB