Not Solved PHP in Templates and Template Conditionals
Not Solved
(2010-03-23, 11:10 PM)Yumi Wrote: Maybe try something like this in the postbit template:
<?php
static $first_done = false;
if(!$first_done) {
$first_done = true;
echo 'Stuff in first post';
}
?>

This code put 'Stuff in first post' in all posts....Sad


(2010-03-24, 08:56 AM)Yumi Wrote: <if $GLOBALS['forum']['fid'] == 1 then>
blah
</if>

It doesn't work Sad

Reply


Messages In This Thread
RE: PHP in Templates and Template Conditionals - by gokufg - 2010-03-24, 08:43 PM
RE: Template conditionals - by expat - 2015-01-31, 05:28 AM

Forum Jump:


Users browsing this thread: 89 Guest(s)