Réf. : [SMARTY] config variable problem

From: Date: Tue, 18 Feb 2003 11:06:24 +0000
Subject: Réf. : [SMARTY] config variable problem
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7816@lists.php.net to get a copy of this message
You should try this: {mailto address=#mail_info# text="contact"} Peter Turcan <peter.turcan@centrum.sk> le 18/02/2003 11:45:04 Veuillez répondre à Peter Turcan <peter.turcan@centrum.sk> Pour : Smarty <smarty-general@lists.php.net> cc : (ccc : Philippe MORANGE/EST/DOSI/BANQUE_INDOSUEZ/FR) Objet : [SMARTY] config variable problem Hello, I have cfg file with this variable: mail_info = my@domain.com and would like to use it: {config_load file=my.conf} {mailto address="#mail_info#" text="contact"} but result html is: <a href="mailto:#mail_info#" >contact</a> and not <a href="mailto:my@domain.com" >contact</a> why? In debug console everything seems to be ok. Variables are loaded, but in {mailto... } it doesn't work why? Peter -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.general (#7816) next »