|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
walrus Smarty n00b
Joined: 03 Jun 2003 Posts: 1
|
Posted: Tue Jun 03, 2003 8:43 am Post subject: {image} |
|
|
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 |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Tue Jun 03, 2003 1:35 pm Post subject: |
|
|
It is already fixed in CVS, the on-line docs will not get updated until another release.
Monte |
|
Back to top |
|
|
|
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
|