[symfony-users] Different format for :sf_culture

2010-12-10 Thread Felix E. Klee
The default I18N system for transmitting cultures in the URL is nice. Simply add: /:sf_culture However, we need a different format. We don't want: http://example.com/es_ES We want: http://example.com/es/es(1) Or: http://example.com/es (2) (defaulting to es_ES) Now this

[symfony-users] Re: Different format for :sf_culture

2010-12-10 Thread Flukey
Hi Felix, As far as I'm aware if you use example.com/es symfony should automatically look for the messages.es.xml file. I have an application where I have English, French and German translations. When I got to a URL like this: example.com/fr/home symfony looks for my messages.fr.xml translations

Re: [symfony-users] Re: Different format for :sf_culture

2010-12-10 Thread Felix E. Klee
Hi Jamie! On Fri, Dec 10, 2010 at 1:45 PM, Flukey jstevenh...@gmail.com wrote: As far as I'm aware if you use example.com/es symfony should automatically look for the messages.es.xml file. Thanks for pointing that out. However, we need it to somehow redirect to: es_ES With modrewrite this

[symfony-users] Frontend_dev.php não funciona

2010-12-10 Thread Gerda Graciela Rodrigues
Oi Pessoal, boa tarde! Estou com o seguinte problema: O sistema funciona como admin_dev.php mas não como frontend_dev.php. Alguém pode me ajudar? -erro-- *Warning*:

[symfony-users] Re: problem saving forms

2010-12-10 Thread el-sid
okam really at my wits end here. can anyone please show me whats going on here. I modified my code to look like so $response = $this-getResponse()-addStyleSheet('template/2col.css'); $this-form = new RegisterForm(); if ($request-isMethod('post')) {

[symfony-users] Re: problem saving forms

2010-12-10 Thread el-sid
sorry, this part $this-processForm($request, $this-form); and this part $this-getUser()-signIn($this-form-getObject()); is not in the code. Thanks again On Dec 10, 6:10 pm, el-sid sydneyari...@gmail.com wrote: okam really at my wits end here. can anyone please show me whats going on

[symfony-users] Symfony disable javascript execution on Ajax request

2010-12-10 Thread bobey
Hi everyone, I've a mobile app in my symfony structure using jquery mobile framework. I've a weird problem and can't find a solution after days spent on the documentation and google. Maybe someone have an idea... Jquery mobile transforms html urls links and call them in ajax. When a symfony

Re: [symfony-users] Godaddy shared host installation

2010-12-10 Thread Adrian Estrada
Hello Thank you for your reply, but : 1. already tried some solutions related to: http://www.symfony-project.org/book/1_0/03-Running-Symfony#chapter_03_sub_configuring_a_shared_host_server 2. if you try http://www.enmedio.com.co/backend.php/module/action you will get the same error even

[symfony-users] (Newbie) Problem with validation: all fields REQUIRED on example form from book

2010-12-10 Thread gfranzini
Hello, I am experimenting with symfony 1.4.8/Doctrine. I have started entering examples from the Gentle Introduction, and have set up the contact action as in page 171 of the book, and the template as in page 160, listing 10.2. Using Apache 2.2.17 as web server, on Windows. When I test the form,

[symfony-users] Re: Autoload a 3rd party vendor class

2010-12-10 Thread Scott Switzer
Got it now - thanks! On Dec 8, 4:22 pm, Francis Besset francis.bes...@gmail.com wrote: Hi Scott, To instanciate a class which is not in a namespace, you must add a backslash before class name :     $api = new \MCAPI('my-api-key'); 2010/12/8 Scott Switzer sc...@switzer.org Hi - I

[symfony-users] Re: (Newbie) Problem with validation: all fields REQUIRED on example form from book

2010-12-10 Thread Flukey
Can you post your action code please? Thanks On Dec 9, 2:55 pm, gfranzini gabriele.franz...@nervianoms.com wrote: Hello, I am experimenting with symfony 1.4.8/Doctrine. I have started entering examples from the Gentle Introduction, and have set up the contact action as in page 171 of the

[symfony-users] Re: Using multiple databases with doctrine

2010-12-10 Thread hectorh30
Thanks, works great with 1.4.6. On Dec 9, 6:41 am, Loïc Vernet vernet.l...@gmail.com wrote: http://trac.symfony-project.org/ticket/9092 Use 1.4.6 instead... 2010/12/8 hectorh30 hector...@gmail.com Hi there, I have this error [1] when attempting to define a model with a

[symfony-users] problem to use symfony

2010-12-10 Thread dvi-
on a mac os x with mamp i had troubles to conf my web server i tested the code* (*http://www.symfony-project.org/getting-started/ 1_4/fr/05-Web-Server-Configuration) on a blank httpd.conf and i tested to add the code on the original httpd.conf and same results do you ear something about mac os

[symfony-users] PDF Version of the Symfony2 Docs

2010-12-10 Thread catchamonkey
Hi all, I know that Sphinx support it, just not sure how to go about getting a copy. http://docs.symfony-reloaded.org/ Any ideas? Fabien, is this something you have to/can enable? Thanks, Chris -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] I18n not translating

2010-12-10 Thread Carlos
Hi, I'm trying to use i18n to translate my website but I can't make it run. These are my settings: 1- settings.yml all: .settings: # Default charset charset: utf-8 # Default culture default_culture:es_ES i18n: on # Setting helpers

[symfony-users] Re: problem to use symfony

2010-12-10 Thread Julian Reyes Escrigas
Hi, i'm a new Mac User if you like install Apache2 + php5.3 + mysql 5.x is easy with macports if you like in this post http://blog.ryanparman.com/2009/07/11/installing-php-5-3-with-mysqlnd-on-mac-os-x-with-macports/ you can get the instructions for install a good enviroment for development in

[symfony-users] Re: I18n not translating

2010-12-10 Thread pghoratiu
Make sure the XML you have is well formed. If there is an error in the XML the translations will not be interpreted. You can check the XML with: 1. Editor that has support for XML checking - Netbeans, Eclipse 2. Open the messages.xml in in Firefox/IE AFAIK this XML is not well formed:

[symfony-users] Re: I18n not translating

2010-12-10 Thread Carlos
Thanks Gabriel!!! That was the problem, the XML was bad-formed and that fixed the translation problem! Thanks again, Carlos On 11 dic, 00:02, pghoratiu pghora...@gmail.com wrote: Make sure the XML you have is well formed. If there is an error in the XML the translations will not be