[symfony-users] Re: sfDoctrineGuardExtraPlugin Symfony 1.4.2

2010-02-11 Thread gimler
hello. i am the developer from the plugin. the plugin works fine, but jwage has commited some changes two the sfDoctrineGuardPlugin that make my plugin deprecated|obsolved he implemented all 3 modules from the sfDoctrineGuardExtraPlugin into the sfDoctrineGuardPlugin ;) greetings Gimler On Feb

[symfony-users] Re: changing symfony project structure

2010-02-11 Thread Tom Ptacnik
Thank you very much for your responses. For the security I've inserted a .htaccess file (with a text Deny from all) to a /application folder, so I think no one can access the files in the application folder from the web right? Isn't that enough for the security? http://symfony.tomor.cz/

[symfony-users] Re: Can't figure out schema.yml relations

2010-02-11 Thread Raphael Schumacher
I may have had once the same problem in my early days with Doctrine, and, provided that I remember correctly, it was related to the definition of the local identifier used for the relation. In your case uid: try whether declaring it as a integer(4) help to solve the problem. Strangely enough (or

[symfony-users] Multiple databases for multiple users?

2010-02-11 Thread wueb
Hey, I'm a bit confuse, need some help in one thing. I have a normal database for my application. The application have a login system. The application will be used by many users. -- My idea is have a database for each user and a general database that saves the users and the associated

[symfony-users] Multiple databases for multiple users?

2010-02-11 Thread wueb
Hey, I'm a bit confuse, need some help in one thing. I have a normal database for my application. The application have a login system. The application will be used by many users. -- BUT, my idea is have a database for each user and a general database that saves the users and the

[symfony-users] Re: Trying to add Whatever:hover (csshover3.htc)

2010-02-11 Thread Javier Garcia
No idea? Javi On 10 feb, 18:19, Javier Garcia tirengar...@gmail.com wrote: Hi, i have this problem: http://forum.symfony-project.org/index.php/m/26709/ Any idea? Javi -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this

[symfony-users] Is there any way to see all the functions that have been executed?

2010-02-11 Thread Javier Garcia
Hi, Im having an error and as always something like this is showed below the error message: * 50. } 51.} 52. * at *sfFilterChain-execute*() in /SF_ROOT_DIR/lib/symfony/filter/sfRenderingFilter.class.php/ line 33 ...

[symfony-users] Re: Is there any way to see all the functions that have been executed?

2010-02-11 Thread Evgeny
You should try tracing with Xdebug (for example) On Feb 11, 9:03 pm, Javier Garcia tirengar...@gmail.com wrote: Hi, Im having an error and as always something like this is showed below the error message:     *               50.      }               51.    }               52.     * at

Re: [symfony-users] Re: Is there any way to see all the functions that have been executed?

2010-02-11 Thread Stéphane
Symfony does make use of xdebug capabilities to trace method/func calls. So you must have xdebug installed to have a usable stack trace. pecl install xdebug on a *nix machine, manual install on a wamp (its fairly easy to set up). Cheers, Before Printing, Think about Your Environmental

[symfony-users] Redirect to partial

2010-02-11 Thread Samuel Morhaim
Hi.. working on my Ajax.. i have a question.. How can I do redirect to a partial? Option 1: I turn off layout for each specific action that uses ajax but then i endup with a method with ajax and without ajax... Option 2: I manage to redirect to a partial so if if($request-isXmlHttpRequest()) is

Re: [symfony-users] Redirect to partial

2010-02-11 Thread Stéphane
Hi, You do not redirect to a partial, but redirect to a url to which a route does match, which has a module and action to dispatch to. You can use a partial as a view (V of mvc) used by an action (C of mvc). So you could use in the appropriate action the $this-setTemplate($*) $*: See 'Naming

Re: [symfony-users] Redirect to partial

2010-02-11 Thread Samuel Morhaim
Stephane, good point.. thank you. Now, to avoid creating a separate indexSuccess page... how can I disable the layout? I tried $this-setLayout(false); but it keeps bringing up the layout. (And i really want to avoid, having to declare each one to disable on the view.yml ) On Thu, Feb 11,

Re: [symfony-users] Redirect to partial

2010-02-11 Thread Stéphane
If you want this behavior only for one sfAction class (for one module), then just write public function preExecute(...?l...@code){ $this-setLayout(false); $this-setTemplate(computing here, however you want; may be somewhere else); } Of if you want it for some sfActions, just create a class

Re: [symfony-users] Redirect to partial

2010-02-11 Thread Stéphane
About setLayout(false), check this if it can help (or try to debug the setLayout(false) call using xdebug; can't yet help here) : http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer and search for View Configuration Settingsand seek for has_layout: on Cheers, Before Printing,

[symfony-users] admin-generator: how to avoid string instead of id

2010-02-11 Thread ReynierPM
Hi every: I'm working with doctrine:generate-admin task for a while but now I have a big problem. When I try to list/show states from state table wich have a foreign key with province table I get numeric value for province instead of string. Better explain: t_province: id_province - name

Re: [symfony-users] admin-generator: how to avoid string instead of id

2010-02-11 Thread Stéphane
Hi, Try to write a __toString() method in your model classes which will return $this-getName(); or appropriate. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Thu, Feb 11, 2010 at 11:10 PM,

Re: [symfony-users] Redirect to partial

2010-02-11 Thread Gunther Konig
On Thu, Feb 11, 2010 at 11:10 PM, Stéphane stephane.er...@gmail.com wrote: About setLayout(false), check this if it can help (or try to debug the setLayout(false) call using xdebug; can't yet help here) : http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer and search for While

Re: [symfony-users] Redirect to partial

2010-02-11 Thread Stéphane
-_- :-) Thank you. Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Thu, Feb 11, 2010 at 11:15 PM, Gunther Konig gunther.kon...@gmail.comwrote: On Thu, Feb 11, 2010 at 11:10 PM, Stéphane

Re: [symfony-users] admin-generator: how to avoid string instead of id

2010-02-11 Thread ReynierPM
On 2/11/2010 5:12 PM, Stéphane wrote: Hi, Try to write a __toString() method in your model classes which will return $this-getName(); or appropriate. Cheers, I've this wrote. See below: class TEntidad extends BaseTEntidad { public function __toString() { return $this-getNombre();

Re: [symfony-users] admin-generator: how to avoid string instead of id

2010-02-11 Thread Stéphane
Well it depends of your model. If getNombre() returns what you expect to see in the row of the list table, it's ok. Does it work ? Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Thu, Feb 11, 2010

Re: [symfony-users] admin-generator: how to avoid string instead of id

2010-02-11 Thread ReynierPM
On 2/11/2010 5:36 PM, Stéphane wrote: Well it depends of your model. If getNombre() returns what you expect to see in the row of the list table, it's ok. Does it work ? Cheers, It works because if I want to add a new State then in the select for Province appear the name and not the ID so

Re: [symfony-users] Redirect to partial

2010-02-11 Thread Samuel Morhaim
Thank you for all this help. ok setLayout(false) was working, it was just not in the right place.. Ok so last question, I promise.. : I am back at my original dilema : Do I need 2 actions for the same? One action for the general index page... and one for just the table for when a call is made

[symfony-users] XHP

2010-02-11 Thread roberto german puentes diaz
A new way for our symfony's frontend? Una manera nueva, para nuestras vistas? http://www.facebook.com/notes/facebook-engineering/xhp-a-new-way-to-write-php/294003943919 -- Cr. Puentes Diaz MP 10.12726.9 Córdoba - Argentina www.puentesdiaz.com.ar www.twitter.com/puentesdiaz Linux User n° 441474

Re: [symfony-users] Redirect to partial

2010-02-11 Thread Stéphane
Well, isXmlHttpRequest will return true if the user-agent marked in the http request matches a special string (rtfc ^^). So if you can make the client request change its user-agent to match this string when it wants ajax response, you'll be able to use the method. Does the name of your actions

Re: [symfony-users] admin-generator: how to avoid string instead of id

2010-02-11 Thread Stéphane
Give us the generator.yml please. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Thu, Feb 11, 2010 at 11:38 PM, ReynierPM rper...@uci.cu wrote: On 2/11/2010 5:36 PM, Stéphane wrote: Well it

[symfony-users] Re: I18n on admin generator filters

2010-02-11 Thread JoeZ
http://forum.symfony-project.org/index.php/m/73489/ On Feb 9, 6:50 am, Dimitar off...@varnasoft.com wrote: How did you add the i18n fields to the filter? When I add for example: filters: [ title ] it shows me an error that there is no such field. But I have it in my i18n table. How did

[symfony-users] Date and Time problems

2010-02-11 Thread Germana Oliveira
Hi !! I have a couple of little problems going on my app. THE TIME IS NOT SAVED: I have this widgets $this-setWidgets(array( 'fecha_cita' = new sfWidgetFormDate(array('format' = '%day %-%month%-%year%')), 'hora_cita' = new sfWidgetFormDateTime(array('format' = '% time%'))

[symfony-users] Is there Symfony's Coding Standards available as templates in Netbeans 6.8

2010-02-11 Thread a...@speedypin.com
I have been seeing a lot of support for Symfony in Netbeans 6.8 (Two things I am very happy with, together ahhh) One thing that would be nice though is if I could get Netbeans to use Symfony's coding standards. (its pretty close, just a tweek here, and a tweek there) does anyone know how I

[symfony-users] Apostrophe 1.0 Stable Release: a mature CMS for Symfony!

2010-02-11 Thread Tom Boutell
We have labored long and hard to prepare for the 1.0 release of Apostrophe. As we said before, it has been stable and in use for a long time now, but we wanted to mark a moment in time with an official release. Probably the easiest way to get a feel for Apostrophe is to go to our demo site and

[symfony-users] UML diagram of Symfony

2010-02-11 Thread Maxim Tsepkov
Does anyone have any sort of UML diagram of Symfony internals, interfaces, etc. It would be very helpful, if there is exist step-by-step execution scheme. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to