Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
call article function with php
I’m trying to use the txp article tag as php in a page template, but the php code does not render the article. What am I missing?
<txp:php>
article (array(‘form’ => ‘list_li’));
</txp:php>
Debug:
<txp:php>
[SQL (0.000598): select *, unix_timestamp(Posted) as uPosted from textpattern where ID = 582 and Status = 4 limit 1]
[article 582]
[Form: list_li]
<txp:permlink>
<txp:title/>
</txp:permlink>
</txp:php>
Offline
#2 2008-02-22 06:47:17
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: call article function with php
Offline
Re: call article function with php
feelin’ stupid again… Thanks Mary
Offline
Pages: 1