Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-04-02 22:07:15
- neokultur
- Member
- Registered: 2005-09-23
- Posts: 43
<Br> Doesnt work with "recent_articles"
I use the TAG “recent_articles”, but it doesnt work with “br”
I use this:
<txp:recent_articles category="Articulo" break="br" />
The articles looks this way:
Thai Prime Minister Leads in Controversial Election
Terror suspects to face Melbourne court
ASIC casts conflict-of-interest net
But the interline doesnt appear… But when i write:
<txp:linklist category="Comercial" break="br" />
Works correctly! They look this way:
New tenants on International Space Station
DiData wins SA govt contract
Citigroup sued in Australia
There is an idea for this? I need that recent_articles and break=“br” can work together o maybe other idea where break=“br” can works.
Offline
#2 2006-04-02 22:17:53
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: <Br> Doesnt work with "recent_articles"
Seems to me that break=“br” is working fine ;)
The difference with your linklist is that that one probably has double <br />
tags, one in the recent_articles tag and another one in the links form.
If you want the recent articles to have the same appearance you could use wraptag=“p” and style .recent_articles p
in your CSS.
Edit: better would be use wraptag=“ul” and break=“li” and style .recent_articles ul
and .recent_articles li
Last edited by els (2006-04-02 22:22:43)
Offline
#3 2006-04-03 00:38:12
- neokultur
- Member
- Registered: 2005-09-23
- Posts: 43
Re: <Br> Doesnt work with "recent_articles"
Thanks to your post i could understand it is a simple solution:
<txp:recent_articles category="Articulo" break="<br /><br />" />
Thank you.
Last edited by neokultur (2006-04-03 00:43:47)
Offline
#4 2006-04-03 00:47:05
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: <Br> Doesnt work with "recent_articles"
N, please check the HTML source of the page, rather than looking at the layout and assuming the <br />
tags are missing.
Alex
Offline
Pages: 1