Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-06-23 18:44:48

wazzupflow
Member
From: Austin, TX
Registered: 2006-05-29
Posts: 22
Website

how do i include an excerpt from my about page on my home page?

I’m wanting to put an excerpt on my homepage with like a paragraph or two from my “about” page, but cant seem to figure out how to do it. I can put excerpts from the main blog, but cant figure how to do it with a static page…any help is much appreciated.

thanks

Offline

#2 2006-06-23 19:49:30

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

Re: how do i include an excerpt from my about page on my home page?

You can do something like:
<code><txp:article_custom id=“articleID” form=“excerpt” /></code>
And then create an article form named “excerpt” and put <txp:excerpt /> inside.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#3 2006-06-24 14:01:09

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,909
Website

Re: how do i include an excerpt from my about page on my home page?

I highly recommend whenever trying to separate articles that you do it cleanly and safely with Yuriy’s ied_doArticle plugin. This should be in the toolbox of every Txp designer. You can put any piece of any article wherever you want without any conflicts with Textpattern’s behavior.

That’s not to say that Maniqui’s idea won’t work or isn’t safe, but the plugin was really designed for this, while <code><txp:article_custom /></code> was not (not really). Plus you don’t need to create any extra article forms if you don’t want to.

Last edited by Destry (2006-06-24 14:02:59)

Offline

#4 2006-06-24 16:43:12

wazzupflow
Member
From: Austin, TX
Registered: 2006-05-29
Posts: 22
Website

Re: how do i include an excerpt from my about page on my home page?

thanks a ton guys…yall are always so quick with responses!

Offline

Board footer

Powered by FluxBB