Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2009-11-18 14:20:13
- sams101
- Member
- Registered: 2009-11-09
- Posts: 23
Flag a particular article (homepage)
Hi there,
Just injecting textpattern into my design, so far so good though I’m sure this will be the first question of many.
My current design (without any textpattern featured) is online here:
http://hellosam.co.uk/portfolio
Now i have all the article listing out perfectly with the thumbnails and excerpts (not on the above link though, to save confusion), my question is something that may seem a little silly though (but hopefully an easy fix).
Notice on the design, the articles are divided by a small grey indent bar (this hangs off the end of the form i’m using per article). The last article in the list does not have this divider. How do I go about removing that? (or what “if” tags would i use to target the 3rd article in the list for example)
I thought about listing them with custom id’s and updating the previous articles custom id as i post new ones, though I am sure there must be a less convoluted way.
Would be great to have any kind feedback on this,
Cheers,
Sam
Offline
#2 2009-11-18 15:38:38
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: Flag a particular article (homepage)
Hi Sam, welcome!
For your last divider you could use if_last_article, leave the if part empty and put the divider into the else part.
Bookmark the Tag Reference page, it’s worth it.
Last edited by uli (2009-11-18 15:39:50)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#3 2009-11-18 15:50:53
- sams101
- Member
- Registered: 2009-11-09
- Posts: 23
Re: Flag a particular article (homepage)
Perfect, cheers mate. I did check the Tag reference page, wasn’t just being lazy, but have just noticed there is an ‘if’ tag (the one i needed) in i (continued). Woops!
thanks again!
Offline
Pages: 1