Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-12-25 23:50:58
- Sono Juventino
- Member
- From: Skedsmo, Norway
- Registered: 2007-12-22
- Posts: 81
Latest article links inn defined list (Done)
My new style requires me to get the latest articles inn a defined list. This is for use on the side of the page, below my menu. It should look like this: (Times five)
- dt = link to news
- dd = author name
Code
- <dl class=“meny”>
- <dt><a href=”/”>Title</a></dt>
- <dd>by <a href=”/”>Author</a></dd>
- </dl>
Is it possible to do so?
I’m also going to need a modification for phpBB3, ragarding latest posts in the forums. I won’t need a txp-developed plugin for this matter, but I’d be glad if someone could recomend one for me. ;)
Thanks, Thomas.
Last edited by Sono Juventino (2007-12-26 00:43:18)
Offline
#2 2007-12-26 00:29:51
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Latest article links inn defined list (Done)
On the page:
<dl class="meny"><txp:article_custom section="..." limit="5" form="latest_articles" /></dl>
Form ‘latest_articles’:
<dt><txp:permlink><txp:title /></txp:permlink></dt>
<dd><txp:author link="1" /></dd>
Last edited by els (2007-12-26 00:30:54)
Offline
#3 2007-12-26 00:43:01
- Sono Juventino
- Member
- From: Skedsmo, Norway
- Registered: 2007-12-22
- Posts: 81
Re: Latest article links inn defined list (Done)
Thank you very much for a quick answer. Never really thought of that solution.
Great support!
Offline