Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-10-26 01:00:38

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Link to a specific article by ID

I’m trying to create a jump menu that will link to specific articles.

I’m using the Jump-menu tips Mary has supplied
http://textpattern.org/tips/325/section-and-category-pull-down-menus

Basically I ‘m looking for a way to output a specific article by its ID. I’m using <txp:article_id> to get the ID…I just don’t know how to place that in a tag that will output just one specific article.

Any help would be appreciated.


Tom

Offline

#2 2005-10-26 04:36:45

rsilletti
Moderator
From: Spokane WA
Registered: 2004-04-28
Posts: 707

Re: Link to a specific article by ID

If you have the ID you can call a specific article with <code><txp:article_custom id=“4” /></code>, say, to return article number 4.
Info: <a href=“http://textpattern.net/wiki/index.php?title=Txp:article_custom_/”>Txp:article_custom</a>

Offline

#3 2005-10-26 05:54:25

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: Link to a specific article by ID

Rsilletti,

Thanks so much for the reply. That’s what I’d been trying…and I know realize there was a small error in my PHP what was adding in an extra ( “ ) before the ID number. Somehow I just kept missing it.

Thanks Again.

Cheers,
Tom

Offline

Board footer

Powered by FluxBB