Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-05-08 21:11:34

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Including custom fields in RAW PHP?

Would I just insert the tag in the script?

Offline

#2 2007-05-08 22:39:52

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: Including custom fields in RAW PHP?

Every <txp: /> tag corresponds to a function (well almost all anyway). They tend to take 2 parameters myTag($atts, $thing) $atts is an array of the tag attributes and $thing is the contents of the tag for container tags.

So to use a tag in a script just call the corresponding function. You can always poke through taghandlers.php as that has the majority if not all the tags.

Last edited by hakjoon (2007-05-08 22:40:37)


Shoving is the answer – pusher robot

Offline

Board footer

Powered by FluxBB