Re: [symfony-users] Looking for best practice: Redirecting a subdomain to a symfony app

2010-11-10 Thread Gareth McCumskey
Ultimately my suggestion is try to stick to not editing the files that symfony auto-generates if you can. The simple reason is that if you start tampering with them that you can have potential problems when/if you need to upgrade symfony. That being said, the index.php changes you are talking

[symfony-users] Looking for best practice: Redirecting a subdomain to a symfony app

2010-11-10 Thread cestcri
Hi all, I recently launched a mobile app for my website, and now I wonder how to automatically redirect visitors to the new app. I found a solution with filters... but honestly that does not seem very right to me (that would mean that the frontend app would get initialised, and then, via the

Re: [symfony-users] Re: Defining an object [alias]?

2010-11-10 Thread Gareth McCumskey
My point is, trying to use symfony when you have very limited knowledge of PHP itself is like trying to learn to drive a truck when you've never driven before. There are a TON of resources out there to learn about PHP, one of the best being the php.net manual which lists all the functions and

[symfony-users] user-symfony

2010-11-10 Thread rfvillavicencio
Si alguno de ustedes me puede dar los pasos para integrar symfony con extjs o enviarme alguna guia seria bueno... -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google

[symfony-users]

2010-11-10 Thread rfvillavicencio
como integro symfony con extjs le agradeceria si alguien me explicara como hacerlo -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To

Re: [symfony-users] user-symfony

2010-11-10 Thread Alex Pilon
Hola, mi español no es bueno, sin embargo la integración de ExtJS es tan simple como incluir las bibliotecas ExtJS en sus aplicaciones de archivo view.yml. Más allá de eso creo que todo lo demás es una cuestión de usar ExtJS con php como lo haría normalmente, y que tendría que algunas de las

Re: [symfony-users] Javascript onLoad event in a symfony context.

2010-11-10 Thread Alex Pilon
You could also have used a slot or something to give your template pages the ability to add attributes to the body tag. However in this case I would as Gareth suggested use jquery to register onload events. On Tue, Nov 9, 2010 at 23:52, Gareth McCumskey gmccums...@gmail.com wrote: And to answer

[symfony-users] Execute code after deliverig content to the user

2010-11-10 Thread torok84
I am developping a site in wichi I use PHP Lucene for full text indexing. Lucene is not really a lighting. It would be nice to do alla the computing necessary to render the page, then send the page to the user and then execute the indexing. So i thought there are many situation in wich wold be

Re: [symfony-users] Execute code after deliverig content to the user

2010-11-10 Thread Macvek
Hi, You can invoke php code by using ajax from rendered page. As far as I know, php is processed during time of connection and after its exit, apache closes connection. Regards, Maciej Aleksandrowicz 2010/11/10 torok84 toro...@gmail.com: I am developping a site in wichi I use PHP Lucene for

Re: [symfony-users] Execute code after deliverig content to the user

2010-11-10 Thread Gareth McCumskey
As mentioned PHP is not client-side so its not really within the realm of PHP itself (never mind symfony) to do this kind of thing. The best bet is to load the page as you say and have in it some ajax that on loaded then continues to call another PHP script. On Wed, Nov 10, 2010 at 5:29 PM,

[symfony-users] Credentials for an action in the backend

2010-11-10 Thread Javier Garcia
Hi, I have this in the generator.yml of a module: config: actions: _new: { credentials: [user] }. and I've overwriten the action new i mention in the generator.yml this way: public function executeNew(sfWebRequest $request) { var_dump($this-getCredential()); $this-form =

[symfony-users] ahDoctrineEasyEmbeddedRelations problem with default values

2010-11-10 Thread Peter Paauwe
I'm using the ahDoctrineEasyEmbeddedRelations plugin, which works great. But now I stumbled upon a problem with default values. One of my embedded form fields has a default value (integer 0). This value is put into the embedded form and when the parent form is submitted the embedded form is saved

[symfony-users] class 'sfwidgetformtextareatinymce' not found

2010-11-10 Thread Bernhard Marx
Hi to all, I have problems getting 'sfwidgetformtextareatinymce' to work. I installed the plugin, It's enabled in projectconfiguration, I edited view.yml and setting.yml. When I want to use it in forms i get class 'sfwidgetformtextareatinymce' not found... Any hints? Bernhard -- If you

[symfony-users] Re: Looking for best practice: Redirecting a subdomain to a symfony app

2010-11-10 Thread cestcri
Thanks for your reply, Gareth. I totally agree, but I also think that the index (that's the bootstrap file, right?) is not part of symfony. Anyway, if not there, where else? Best regards, Christian On Nov 10, 1:31 pm, Gareth McCumskey gmccums...@gmail.com wrote: Ultimately my suggestion

[symfony-users] admin generator creating unwanted many-to-many forms

2010-11-10 Thread Stan McFarland
Hi Symfony newbie here. In my schema.yml I have three tables representing a many-to-many relationship - Issue, Resource, and IssueResource. On the IssueResource table, I have the following defined: relations: Issue: { onDelete: CASCADE, foreignAlias: IssueResources }

[symfony-users] connect to mssql 2008

2010-11-10 Thread jimpass
Hi, I need to connect to mssql 2008, is it possible ? with doctrine ? and then is anybody know a good tutorial to do that ? Thanks. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed

Re: [symfony-users] connect to mssql 2008

2010-11-10 Thread Alex Pilon
You can configure Doctrine to connect to a MSSQL database as follows: all: sqlserver: class: sfDoctrineDatabase param: dsn: 'mssql:host=mssql.server.com;dbname=DBName;' username: user password: pass Once you are connected, everything with doctrine will work pretty

Re: [symfony-users] user-symfony

2010-11-10 Thread Martin Ibarra Cervantes
ExtJs ? que es ExtJS ? 2010/11/10 Alex Pilon alex.pi...@gmail.com: Hola, mi español no es bueno, sin embargo la integración de ExtJS es tan simple como incluir las bibliotecas ExtJS en sus aplicaciones de archivo view.yml. Más allá de eso creo que todo lo demás es una cuestión de usar ExtJS

[symfony-users] Re: connect to mssql 2008

2010-11-10 Thread jimpass
Thanks Alex, i'm gonna try On 10 nov, 21:35, Alex Pilon alex.pi...@gmail.com wrote: You can configure Doctrine to connect to a MSSQL database as follows: all:   sqlserver:     class: sfDoctrineDatabase     param:       dsn: 'mssql:host=mssql.server.com;dbname=DBName;'       username: user

Re: [symfony-users] user-symfony

2010-11-10 Thread Alex Pilon
ExtJs es un framework javascript que es comparable a Flash y Silverlight.He visto que normalmente utiliza para desarrollar RIA. 2010/11/10 Martin Ibarra Cervantes ibarra.cervan...@gmail.com ExtJs ? que es ExtJS ? 2010/11/10 Alex Pilon alex.pi...@gmail.com: Hola, mi español no es bueno, sin

Re: [symfony-users] user-symfony

2010-11-10 Thread Alexandre Salomé
Puedes hablar inglés ? No hay component para ExtJS con symfony, pero puedes utilizar sfDynamicsPlugin para combine and minify javascript. Next messages will be in English, for the community ;) --- Alexandre Salomé - http://alexandre-salome.fr Le 10 nov. 2010 22:16, Alex Pilon

Re: [symfony-users] user-symfony

2010-11-10 Thread Alex Pilon
I do speak much more fluent english :) On Wed, Nov 10, 2010 at 16:33, Alexandre Salomé alexandre.sal...@gmail.comwrote: Puedes hablar inglés ? No hay component para ExtJS con symfony, pero puedes utilizar sfDynamicsPlugin para combine and minify javascript. Next messages will be in

Re: [symfony-users] connect to mssql 2008

2010-11-10 Thread Gareth McCumskey
The entire point of an ORM like Doctrine or Propel is that you just need to tell it to connect to a different database and your home free. Even if you had started work on say MySQL and later need to switch to MSSQL its just one change in a config file. On Wed, Nov 10, 2010 at 10:29 PM, jimpass

Re: [symfony-users] Re: Looking for best practice: Redirecting a subdomain to a symfony app

2010-11-10 Thread Gareth McCumskey
It actually is a part of symfony. The only other alternative I can think of (besides filters which you have mentioned) is if the mobile application is accessed on a different URL from the main site you can use Apache virtual hosts to point to the correct place. On Wed, Nov 10, 2010 at 6:56 PM,