Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

{image}

 
Post new topic   Reply to topic    Smarty Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
walrus
Smarty n00b


Joined: 03 Jun 2003
Posts: 1

PostPosted: Tue Jun 03, 2003 8:43 am    Post subject: {image} Reply with quote

Maybe the Documentation should be Updated to the correct Tags. (Inside Plugin, aswell the main Docu)

Quote:

Example 8-7. html_image

index.php:

require('Smarty.php.class');
$smarty = new Smarty;
$smarty->display('index.tpl');

index.tpl:

{image file="pumpkin.jpg"}
{image file="/path/from/docroot/pumpkin.jpg"}
{image file="../path/relative/to/currdir/pumpkin.jpg"}


{image ....} should be {html_image....}
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7366
Location: Lincoln Nebraska, USA

PostPosted: Tue Jun 03, 2003 1:35 pm    Post subject: Reply with quote

It is already fixed in CVS, the on-line docs will not get updated until another release.

Monte
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Plugins 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