Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-08-09 21:28:40
- facho
- Member
- Registered: 2007-04-15
- Posts: 64
Newbie Needs Help displaying thumb/excerpt/Read More link
Ok, first of all I love TextPattern so far. I’ve played around with Joomla and some others, but so far TXT is da shiz.
I am stuck trying to figure out how to display certain pieces of articles. I want these to be listed on the front page of my site as micro-ads that can be clicked to see the full article. I’ve played around with various things and looked through the forums, but I cannot seem to find what I am looking for (even though IU know it’s here amongst the hay).
What I am trying to do is the following:
1. Display article thumbnail
2. Along side the thumbnail, display the article excerpt.
3. Below that have a READ MORE linked to the full article.
I want all of the above nested together so that I can have the 4 most recent articles being advertised on the front page of the site.
Can someone point me to documentation on how to do this?
Thanks!
Facho
Offline
Re: Newbie Needs Help displaying thumb/excerpt/Read More link
Offline
#3 2007-08-09 21:40:27
- facho
- Member
- Registered: 2007-04-15
- Posts: 64
Re: Newbie Needs Help displaying thumb/excerpt/Read More link
seriously, it’s that simple? ha, and I thought I was really rolling. I’ll give it a try.
Thanks!
Offline
#4 2007-08-09 21:42:37
- facho
- Member
- Registered: 2007-04-15
- Posts: 64
Re: Newbie Needs Help displaying thumb/excerpt/Read More link
one more question that I meant to have in the original post. To format the above, do I have to incorporate some CSS or is that done elsewhere? I have a CSS framework done, but I am not clear as to format individual TXTPTRN items (i.e. The article’s title, excerpt’s text size etc.)
thanks
Last edited by facho (2007-08-09 22:25:10)
Offline
Re: Newbie Needs Help displaying thumb/excerpt/Read More link
Yes, ofcorse you have to style & format outputted items with CSS. Because they are just samely outputting (X)HTML-code, like your hand written code.
Like: <txp:premlink><txp:title /></txp:permlink>
—> <a href="#" title="Permlink to article">Title of your article</a>
See, it’s all just (X)HTML. Where would style come automatically? From heaven by God? No, it comes from your CSS-sheet. Like in any other site.
Cheers!
Offline