Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

[lost] Need an example pliz :)

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup
View previous topic :: View next topic  
Author Message
Shirox
Smarty n00b


Joined: 23 Mar 2004
Posts: 1

PostPosted: Tue Mar 23, 2004 11:38 pm    Post subject: [lost] Need an example pliz :) Reply with quote

Hi everybody, and excuse my for my english, i'm french, and don't write english so often :p.

I've read the whole faq in my language at least 4 or 5 times, but I still don't understand. I want smarty to work like the template engine of phpBB, so, no use of {if} {/if} inside the tpl page, or other thing like that.

Just CSS and smarty tag {smarty}.

bt i dunno who I can do that Sad

Here i a part of my tpl code :

Quote:
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10" valign="top">&</td>
<td valign="top"><br>
<div align="justify">

<?php
if ($maintenance == "oui") { print("blah blah.</div>"); }
else { navigation($Section) }
?>


</div></td>
<td width="10" valign="top" class="page-droit"></td>
</tr>
</table>


what did I have to do, and where I have to do it replace the php code in my tpl by a smarty tag ?

Will doing it had a bad influence on the server performance ?

I thank a lot thos who will eventually answer, and say good day Smile


PS : I think it will be cool to have specifier forum for each language, at least one section for "francais" and "deutch". Because I haven't found any forum that make support of smarty in my language Sad
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP