Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-02-10 17:05:28

ZeoGen
New Member
Registered: 2007-02-10
Posts: 4

Alternative way to display excerpts?

I may have gone about this the wrong way – but I’m trying to display articles in two different ways.

Here’s The Setup.

1. I’m using the excerpt field to display a thumbnail of the articles in a list with an offset of “1”.

2. The most recent article is displayed with a shortened message without the thumbnail. When you click on the read more link it takes you to the full article with full-sized image and no thumbnail to be seen.

__________

The problem with that is I’m using the excerpt field for my thumbnails so I can’t create an excerpt with the “read more”.
Is their anyway that I can put all of the desired content into the excerpt field but only call the thumbnail for the list and only call the excerpt text and link for the most recent article feature?

Is there any solution?

Thanks in advance!

ZeoGen

Last edited by ZeoGen (2007-02-10 17:07:36)

Offline

#2 2007-02-10 20:36:30

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Alternative way to display excerpts?

Is there a reason you don’t want to use the article image feature (for your thumbnails) instead of your excerpt field?

Offline

#3 2007-02-12 17:51:31

ZeoGen
New Member
Registered: 2007-02-10
Posts: 4

Re: Alternative way to display excerpts?

Can you call article images into a list?

Offline

#4 2007-02-12 19:01:23

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

Re: Alternative way to display excerpts?

ZeoGen wrote:

Can you call article images into a list?

yes.


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

Offline

#5 2007-02-12 19:06:30

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: Alternative way to display excerpts?

Call <txp:article_image thumbnail="1" /> in the form you’re using for the list. More info about the tag here.

Z

Offline

#6 2007-02-12 22:45:00

ZeoGen
New Member
Registered: 2007-02-10
Posts: 4

Re: Alternative way to display excerpts?

Thanks, I appreciate it!

Offline

Board footer

Powered by FluxBB