hi all,

I am successful in using sfSmartyPlugin with symfony 1.4.6.
Below are the steps i followed, in case someone needs

1. extract sfSmartyPlugin in plugin/
        - plugin name in config/ProjectConfiguration.class.php
        - following in app.yml in each of app
                # default values
                all:
                  sfSmarty:
                    class_path: lib/vendor/smarty/libs
                    template_extension: .tpl
                    template_security: false

                  (* class_path is path of smarty.class.php)
        - vi config/module.yml
                default:
                  view_class: sfSmarty
                  partial_view_class: sfSmarty

2. rename layout.php to layout.tpl and make changes
        - in app/config/settings.yml
         escaping_strategy: off
         smarty_helpers:
             - AppUrl
             - Partial
             - SmartyEscaping
             - SmartyJavascript
             - SmartyTag

I am able to use Partials and Components but still have doubt on using
sfForm object in template.
and also can there be any issues with the method i have used for
Smarty?
Your suggestion are welcomed :)

Regards
Charanjeet Kaur
------------------------
On Jul 15, 2:07 pm, charanjeet <[email protected]> wrote:
> I am confused regarding which Smarty Plugin i should use for my
> project.
> sfSmarty3Plugin is not tested for production server.sfSmartyPluginand 
> sfSmartyViewPlugin are not for symfony 1.4.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to