Quote:
Originally Posted by calorie
In the readme replace:
Code:
<!-- small login box -->
With the following:
Code:
<br /><table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\"><tr>
And also replace:
Code:
<!-- / small login box -->
With the following:
Code:
</tr></table><br /><br />
And then save the readme, execpt the instructions, as a template called smallloginbox and
then use the following:
Code:
eval('$smallloginbox = "' . fetch_template('smallloginbox') . '";');
To get the template, and then use $smallloginbox like you would use $navbar to show the content.
You can also add smallloginbox to $globaltemplates if you want to cache the template.
|
Love this hack great work
Ive got the hack working good, but i want to edit the navbar so its a template like in this post i have quoted from you but i am not sure where to put this:
Code:
eval('$smallloginbox = "' . fetch_template('smallloginbox') . '";');