Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-22 06:07:56

makason
Member
From: Hilo, Hawaii
Registered: 2005-01-23
Posts: 34
Website

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

#3 2008-02-22 07:17:14

makason
Member
From: Hilo, Hawaii
Registered: 2005-01-23
Posts: 34
Website

Re: call article function with php

feelin’ stupid again… Thanks Mary

Offline

Board footer

Powered by FluxBB