I would suggest you assign the value returned by sfConfig to a php variable as part of the action. If the value is a string you should then be able to access it directly. If it is a complex data type you will need to use ESC_RAW. Regards
Alistair 2009/4/21 Sam <endstad...@googlemail.com> > > Fine $sf_data is my friend when it comes to raw data, but how can I > retrieve config values unescaped? > > I have a call to sfConfig::get('sth') in a template since I need some > config value there, but i get it escaped! > So what can I do to get this value unescaped? > The call occurs in a partial > > > > -- Alistair Stead Senior Interactive Developer Mobile: +44 (0) 7788 107 333 Email: alistair.st...@designdisclosure.com WWW: designdisclosure.com The information contained in this email is confidential and may contain proprietary information. It is meant solely for the intended recipient/recipients. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted in reliance on this, is prohibited and may be unlawful. Please consider the environment before printing this e-mail. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---