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

Search found 8 matches
Smarty Forum Index
Author Message
  Topic: Smarty errorl unable to read template resource
Sri_Lumpa

Replies: 28
Views: 40610

PostForum: Installation and Setup   Posted: Wed Apr 30, 2003 9:15 am   Subject: Smarty errorl unable to read template resource
You wrote $smarty->complir_dir
instead of $smarty->compile_dir Wink
  Topic: Smarty and Frames?
Sri_Lumpa

Replies: 13
Views: 29821

PostForum: General   Posted: Fri Apr 25, 2003 1:53 pm   Subject: Smarty and Frames?
That's the aim of passing session ID to frames files.
PHP files (which call frame templates) retrieve the Smarty object registered in the user session (add session parameters to URL make the session_ ...
  Topic: Smarty and Frames?
Sri_Lumpa

Replies: 13
Views: 29821

PostForum: General   Posted: Thu Apr 24, 2003 2:41 pm   Subject: Smarty and Frames?
For information, the following code should works fine Laughing :
(in fact, I didn't try it in this state because I have no access to any web server)

index.php source
<?php
require_once(".\\ ...
  Topic: Smarty and Frames?
Sri_Lumpa

Replies: 13
Views: 29821

PostForum: General   Posted: Thu Apr 24, 2003 1:12 pm   Subject: Smarty and Frames?
If I understood your installation, the Smarty class not works like this.
You have to build your own class using the Smarty original one to configure with your environment.
You have to create several ...
  Topic: Smarty and Frames?
Sri_Lumpa

Replies: 13
Views: 29821

PostForum: General   Posted: Thu Apr 24, 2003 12:52 pm   Subject: Smarty and Frames?
Hi,

Post the template code (just lines in cause)
and the callLocations.php (just lines in cause)

No enoug informations for the moment...
  Topic: best way to build a multi-language site with smarty
Sri_Lumpa

Replies: 210
Views: 630243

PostForum: Tips and Tricks   Posted: Thu Apr 24, 2003 10:16 am   Subject: best way to build a multi-language site with smarty
Hi,

An easy way to make a multi-language interface with Smarty is to use a config file (in the configs directory) called for example "localization.conf" and containing :

[FR]
title = "Mon titre ...
  Topic: Error Message with "compile_tag" function
Sri_Lumpa

Replies: 2
Views: 6832

PostForum: Bugs   Posted: Thu Apr 24, 2003 9:32 am   Subject: Error Message with "compile_tag" function
Thanks,

I didn't know the existance of "Alternative syntax for control structures".
So, the generated code is available.
I'm just wonder why the browser don't understand it (depends on its config ...
  Topic: Error Message with "compile_tag" function
Sri_Lumpa

Replies: 2
Views: 6832

PostForum: Bugs   Posted: Thu Apr 24, 2003 8:59 am   Subject: Error Message with "compile_tag" function
Hi all,

I'm new on this forum
I'm just used Smarty on a production product and I like way to separate design and functional.
However, I seen some little mistakes like this one :

With a specifi ...
 
Page 1 of 1
All times are GMT
Jump to:  


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