Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#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
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
Pages: 1