[symfony-users] Re: sfSimpleCMS is not parsing the rich text

2007-10-30 Thread Mohammad Asif Ali
Hi, Thanks for your help. I fixed it. i put escaping_strategy : bc then its solved. i understand the other values for escaping_strategy (both, on , off) but what is the use of "bc". Thanks in advance :o) On Oct 29, 7:11 pm, "Francois Zaninotto" <[EMAIL PROTECTED] project.com> wrote: >

[symfony-users] Re: sfSimpleCMS is not parsing the rich text

2007-10-30 Thread Francois Zaninotto
Yes, BC means backwards compatible here, too. It means that escaping is not turned on by default, but you can get escaped variables if you aske them one by one by way of the $sf_data container. François 2007/10/30, Steve Daniels <[EMAIL PROTECTED]>: > > > I might be completely off base here, but

[symfony-users] Re: validation files for different situations

2007-10-30 Thread Thierry
Ahh thats great, glad to hear that you solved the problem so nicely. Good work Lucas! --~--~-~--~~~---~--~~ 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@googleg

[symfony-users] Use of APC in symfony

2007-10-30 Thread Marco Schierhorn
Hey, I’m trying to realize a file upload with ACP and YUI. After I’ve installed APC I always get an error when I try to open my symfony environment : Fatal error: Cannot run code from this file in conjunction with non encoded files in /kunden/80049_40667/webseiten/dcytest/apps/frontend/modul

[symfony-users] Re: Use of APC in symfony

2007-10-30 Thread Alexander Deruwe
On 30 Oct 2007, at 13:30, Marco Schierhorn wrote: > Fatal error: Cannot run code from this file in conjunction with non > encoded files in /kunden/80049_40667/webseiten/dcytest/apps/ > frontend/modules/account/templates/_accountCompany.php on line 114 I've never encountered this myself... But

[symfony-users] Re: Anyone using MAMP

2007-10-30 Thread Alexander Deruwe
On 28 Oct 2007, at 23:42, Kris Wallsmith wrote: > Could it be as simple as clearing the symfony cache? Other than that, > my experience with blank screens when trying to access a symfony > project is that the library and data folder variables in /config/ > config.php aren't configured accurately.

[symfony-users] Re: Question about credentials

2007-10-30 Thread Charley Tiggs
Found the answer. For anyone else looking for the answer who kept searching for "expires" instead of "timeout" and credentials disappearing but the rest of the session remaining fine: http://www.symfony-project.com/book/1_0/06-Inside-the-Controller-Layer#Session%20Management Charley Charley

[symfony-users] Use of APC in symfony

2007-10-30 Thread Marco Schierhorn
Thanks for your fast response. I've already found that forum post, but unfortunately it didn’t help me. I tried it with apc.filters = "*.php, *.html, *.yml, *.yaml", but it didn’t resolve the problem. Im using the newest version of APC (3.0.15) and PHP Version 5.2.4. PHPInfo : http://dcytest.es

[symfony-users] action cache with routing params

2007-10-30 Thread DC
Hi, I had to implement the current routing system city_columbus: url: /columbus param: { module: city, action: show, id: 3807 } city_dallas: url: /dallas param: { module: city, action: show, id: 3800 } The problem is, if I first request: http://site/columbus and then http://site/da

[symfony-users] action cache with routing params

2007-10-30 Thread DC
Hi, I had to implement the current routing system city_columbus: url: /columbus param: { module: city, action: show, id: 3807 } city_dallas: url: /dallas param: { module: city, action: show, id: 3800 } The problem is, if I first request: http://site/columbus and then http://site/da

[symfony-users] Re: Use of APC in symfony

2007-10-30 Thread Kiril Angov
Marco, I do not think you can run Zend Optimizer and APC together so you have to disable zend optimizer and then I am sure APC will work correctly. Kupo Marco Schierhorn wrote: > Thanks for your fast response. > I've already found that forum post, but unfortunately it didn’t help me. > I tried

[symfony-users] i18n and $this->sendEmail

2007-10-30 Thread Johannes Schmidt
Hi all, I recognized the following problem concerning i18n and sendEmail: $message = $this->getContext()->getI18N()- >__('invite_to_group_message', null, 'text'); ... $raw_email = $this->sendEmail('mail', 'newMessage'); -> i18n gets replaced. If I change the sequence of the code: $raw_email =

[symfony-users] Re: Routing in sf1.0 - '/'s in the URL

2007-10-30 Thread David Brewer
That's a good idea, I will see if I can find a few moments to look into that. Thanks! On 10/29/07, Francois Zaninotto <[EMAIL PROTECTED]> wrote: > I think that it is not possible by way of routing.yml. However, if you > register routes manually via sfRouting::setRoutes(), you can use any regular

[symfony-users] Setting form actions with dynamic data

2007-10-30 Thread Peter Bowyer
Hi, I'm sure there's a clean approach to this problem :) I've got some admin pages with URLs like /admin/product/12345 where the numbers are the product id. When editing the details I need the form to post to that same URL, so the product ID isn't lost. Currently my opening form tag looks lik

[symfony-users] Re: Setting form actions with dynamic data

2007-10-30 Thread Ian P. Christian
Peter Bowyer wrote: > You can use the current URI, there's a method in sfRequest for it I think.. however, I personally do this: id, 'multipart=true'); ?> or ... use a hidden form tag, I see no issue with either (for the admin side, technically speaking on the frontend you shouldn't expose

[symfony-users] Re: Setting form actions with dynamic data

2007-10-30 Thread Pierre
Hi Peter! On 10/30/07, Peter Bowyer <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm sure there's a clean approach to this problem :) > > I've got some admin pages with URLs like /admin/product/12345 where > the numbers are the product id. When editing the details I need the > form to post to that same

[symfony-users] Re: Anyone using MAMP

2007-10-30 Thread Tom Haskins-Vaughan
Thanks for all the help guys. I'm going to leave it on hold for the moment and just use Linux (trusty old Linux). gestadieu wrote: > did you try to get some error messages with the _dev.php version of > your app? > are you sure that the default Tiger Apache is not running, try in a > Terminal '

[symfony-users] Re: Anyone using MAMP

2007-10-30 Thread Ant Cunningham
I love my Kubuntu laptop but I always have heartache for Textmate (trusty old textmate). :-) What do you use in Linux? Im trying out Eclipse+PDT at the moment but the jury is still out - at least for use with smaller projects which make up the bulk of my workload. On 10/30/07 3:06 PM, "Tom Hask

[symfony-users] Re: Routing in sf1.0 - '/'s in the URL

2007-10-30 Thread Ian P. Christian
David Brewer wrote: > That's a good idea, I will see if I can find a few moments to look > into that. Thanks! > if you don't get time to make a fix, please do create a ticket anyway- this should be fixed :) --~--~-~--~~~---~--~~ You received this message because

[symfony-users] Re: Anyone using MAMP

2007-10-30 Thread David Brewer
I'm a fan of Komodo. It's commercial, but there is a free version (and they are in the midst of open sourcing most of the core of the product). It works on Windows, Mac, and Linux -- I'm using it on Ubuntu right now. And it's multi-lingual... php, perl, ruby, python, javascript, etc... http://

[symfony-users] Re: sfSimpleCMS is not parsing the rich text

2007-10-30 Thread Mohammad Asif Ali
Thanks for your post. I fixed the problem in sfSimpleCMS plugin using the escaping_strategy : bc but this causes XSS in sfSimpleForum plugin. The fix for this is escaping_strategy : both both plugins are using different setting for escaping_strategy. could you please tell me how can i use b

[symfony-users] Re: Routing in sf1.0 - '/'s in the URL

2007-10-30 Thread David Brewer
I created a ticket related to this issue: http://trac.symfony-project.com/ticket/2478 I realized it was really something that could be solved by introducing a more general functionality for handling optional parameters or optional trailing text, so I framed the ticket that way. On Oct 30, 2007 5