[symfony-users] How to check if a plugin is installed
Dear List, :) I have a problem. I'm developing a plugin that will require a second plugin. In the code, I have to check if the second plugin is installed. I can check if the directory exists.. but my question is: Do exists in Symfony a way to check if a plugin is installed? Best Regards. Mauro Casula. *http://www.symfony-framework.com* --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] How to check if a plugin is installed
Dear List, :) I have a problem. I'm developing a plugin that will require a second plugin. In the code, I have to check if the second plugin is installed. I can check if the directory exists.. but my question is: Do exists in Symfony a way to check if a plugin is installed? Best Regards. Mauro Casula. *http://www.symfony-framework.com* --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: Hai Need Help about installing thx
Hi, You have to change your documentRoot to /sf_sandbox/web. I suggest you to read this after asking in this list: :P http://www.symfony-project.org/book/1_0/03-Running-Symfony Best Regards. Mauro Casula Symfony-Framework.com On Wed, Jun 4, 2008 at 10:42 AM, Mr B <[EMAIL PROTECTED]> wrote: > > Hai Iam Benedick Iam a new user to symfoni . > > Iam truing to install symfoni to my pc that already being installed > with XAMPP . > > Is it ok to put the sf_sandbox under htcdoc folder ? sorry iam very > new to this thing . > > Thank you. > > Regard > Benedick > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: routing : ability to change the module name?
I don't know if exist something like that.. I think you may use a sfFilter class and change routing depending on sf_culture. Mauro Casula Symfony-Framework.com On Wed, Jun 4, 2008 at 7:57 AM, simo <[EMAIL PROTECTED]> wrote: > > Hi list, > > I'd like to know if an advanced rule of routing allows us to localize > URL. > > To be clear, I give you an exemple : > > depending on the sf_culture, I'd like to have > > myapp.com/user/myname > myapp.com/utilisateur/myname > > > I haven't seen this on the doc, or maybe I 've just missed it. Many > thanks. > > simo > > > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: How to send an UTF-8 mail ?
;) You are welcome, man. Mauro Casula *symfony-framework.com* On Tue, Jun 3, 2008 at 9:38 AM, Sylver <[EMAIL PROTECTED]> wrote: > > Thanks, it works :) > > On 3 juin, 09:35, "Mauro Casula" <[EMAIL PROTECTED]> wrote: > > Hi, > > > > it's very simple... > > > > Watch this: > > > > public function executeEnviarCorreoContacto() > > { > > // If validation is ok... > > $this->nombre = $this->getRequestParameter('nombre'); > > $this->apellido = $this->getRequestParameter('apellido'); > > $this->email = $this->getRequestParameter('email'); > > $this->telefono = $this->getRequestParameter('telefono'); > > $this->asunto = $this->getRequestParameter('asunto'); > > > > // class initialization > > $mail = new sfMail(); > > $mail->setCharset('Latin1'); > > $mail->setContentType('text/html'); > > // definition of the required parameters > > $mail->setSender('[EMAIL PROTECTED]', 'domain.com'); > > $mail->setFrom('[EMAIL PROTECTED]', 'domain.com'); > > $mail->addReplyTo('[EMAIL PROTECTED]'); > > > > $mail->addAddress('[EMAIL PROTECTED]'); > > $mail->addAddress('[EMAIL PROTECTED]'); > > $mail->addCc('[EMAIL PROTECTED]'); > > > > $mail->setSubject('domain.com - New Contact from page'); > > > > $this->mail = $mail; > > } > > > > Best regards. > > > > Mauro Casula. > > *symfony-framework.com* > > > > On Tue, Jun 3, 2008 at 9:22 AM, Sylver <[EMAIL PROTECTED]> wrote: > > > > > Hey guys ! > > > I use this example to send an email : > > >http://www.symfony-project.org/askeet/1_0/en/12 > > > and it works. > > > But, some letters don't work like é, è, à... > > > Can send an email in UTF-8 ? > > > > > Thanks. > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: How to send an UTF-8 mail ?
Hi, it's very simple... Watch this: public function executeEnviarCorreoContacto() { // If validation is ok... $this->nombre = $this->getRequestParameter('nombre'); $this->apellido = $this->getRequestParameter('apellido'); $this->email = $this->getRequestParameter('email'); $this->telefono = $this->getRequestParameter('telefono'); $this->asunto = $this->getRequestParameter('asunto'); // class initialization $mail = new sfMail(); $mail->setCharset('Latin1'); $mail->setContentType('text/html'); // definition of the required parameters $mail->setSender('[EMAIL PROTECTED]', 'domain.com'); $mail->setFrom('[EMAIL PROTECTED]', 'domain.com'); $mail->addReplyTo('[EMAIL PROTECTED]'); $mail->addAddress('[EMAIL PROTECTED]'); $mail->addAddress('[EMAIL PROTECTED]'); $mail->addCc('[EMAIL PROTECTED]'); $mail->setSubject('domain.com - New Contact from page'); $this->mail = $mail; } Best regards. Mauro Casula. *symfony-framework.com* On Tue, Jun 3, 2008 at 9:22 AM, Sylver <[EMAIL PROTECTED]> wrote: > > Hey guys ! > I use this example to send an email : > http://www.symfony-project.org/askeet/1_0/en/12 > and it works. > But, some letters don't work like é, è, à... > Can send an email in UTF-8 ? > > Thanks. > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: Form validation as array
Hi, You have to create an edit.yml ( edit is your form submit action ) like this: methods: post: - "feedback{name}" - "feedback{email}" - "feedback{message}" names: feedback{name}: required: yes required_msg: Insert a title. ..... Try this.. ;) Regards. Mauro Casula symfony-framework.com On Tue, Jun 3, 2008 at 8:39 AM, hudson <[EMAIL PROTECTED]> wrote: > > Hello! > > I hawe a form: > > [CODE] > > > > > > [/CODE] > > When I submit this form - I'll get on the server-side an array: > > [CODE] > $feedback = array ( > "name"=> 1, > "email" => 2, > "message" => 3 > ); > [/CODE] > > How can I validate this form? > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---