CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Smarty fetch function active secure_mode
Pages: [1]

Author Topic: Smarty fetch function active secure_mode  (Read 352 times)

Matthias de MAUROY - CYIM

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 4
  • Working at CYIM
    • CYIM
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7
  • MySQL version: 5.1.66-community-log
  • PHP version: 5.3
Smarty fetch function active secure_mode
April 07, 2015, 03:33:24 am
Hello everyone !

I hope my silly question will get answers from some of you...

I'm just trying to send an email using smarty basics functions such as using {php} tags and playing php in smarty tags {if strstr($email, '@')}.

But each time I try to send the template Smarty activate secure_mode and everything's ruined...

I found where Smarty put the secure_mode but I can't understand why... (in CRM/Core/Smarty.php line 202).

If someone ever run into this and solved it pleeeease help me  :'(

PS : I defined this in my settings file => define( 'CIVICRM_MAIL_SMARTY', 1 );

Still working on it !

I hope i'll find the solution  ;D
Matthias de MAUROY
Analyste Web Developpeur
BU WEB
Tél. : +33 (0)2 99 22 83 40
Fax : +33 (0)2 99 22 83 41
Mail : m.mauroy@cyim.com
CYIM
31, rue de la Frébardière
35135 CHANTEPIE
FRANCE

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Smarty fetch function active secure_mode

This forum was archived on 2017-11-26.