[symfony-users] Re: sfDependentSelectPlugin problem

2010-08-24 Thread wueb
Any idea??? Please? -- 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 post to this group, send email to symfony-users@googlegroups.com To

[symfony-users] Re: sfDependentSelectPlugin problem

2010-08-24 Thread wueb
Still nothing :( On 24 Ago, 14:24, chok chok...@gmail.com wrote: Don't know why but use_javascrpts_form don't work for me try : ?php use_javascript('/sfDependentSelectPlugin/js/ SelectDependiente.min.js') ? It's ok ? On 24 août, 13:38, wueb webmaster@gmail.com wrote: Any idea

[symfony-users] Re: sfDependentSelectPlugin problem

2010-08-23 Thread wueb
Thanks, that solved the error. But now when i select a value from the first selectbox, the related select doesn't fill with the related fields. -- 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

[symfony-users] sfWidgetFormDate datepicker range problem

2010-08-18 Thread wueb
I'm using sfWidgetFormDate with a datepicker (http:// garakkio.altervista.org/datepicker/) The code in the form is: $years = range(date(Y),1980); $this-widgetSchema['date_const'] = new sfWidgetFormDate(array('years' = array_combine($years, $years),'format' = '%day% - %month% - %year %')); My

[symfony-users] Form date field

2010-07-22 Thread wueb
Hi, All my date fields on the forms only have the years from 2005-2015? anynone know where can i change the interval? -- 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] Re: Zend Lucene can't find accented words

2010-07-21 Thread wueb
I use. But doesnt work. THere is any analizer of Portuguese language? Maybe that can work? On 20 Jul, 17:29, pghoratiu pghora...@gmail.com wrote: Do you use utf-8 everywhere (when indexing the document, when searching ...) ?     gabriel On Jul 20, 5:09 pm, wueb webmaster@gmail.com

[symfony-users] Re: Zend Lucene can't find accented words

2010-07-21 Thread wueb
I found it. Before we call the UTF-8 analizer we should put this code line if (!setlocale (LC_ALL, 'pt_PT.ISO8859-1')) setlocale(LC_ALL,'portuguese'); -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this

[symfony-users] Zend Lucene can't find accented words

2010-07-20 Thread wueb
I'm using Zend Lucene in symfony. When i search by words with á or ã he can't find it. Anyone knows what can be causing this and how to solve? -- 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

[symfony-users] Insert sql

2010-07-13 Thread wueb
Hello, i have some sql lines in a file. i need the inserts from that sql be created by symfony in order to execute the code i made on the models from each table. how can i execute that sql in symfony? thanks! -- If you want to report a vulnerability issue on symfony, please send it to

[symfony-users] Load partial with ajax problem

2010-06-22 Thread wueb
Hi I made this JavaScript function to load a partial. function renderPartial(partial, div, params){ $('.loader').show(); $(div).load( partial, params, //params = { var1 : 2, var2 : 1 } function() {$('.loader').hide();} ); } When i call it everything works,

[symfony-users] Re: problem

2010-06-07 Thread wueb
All modules pages?? On 7 Jun, 10:51, Pietrino Atzeni pietrino.atz...@gmail.com wrote: Hi, if I remember well, it's due to the wrong encoding of the symfony files. Ensure that all the pages are encoding in UTF-8, and the problem should disappear. Hope this helps, Pietro In some of my

[symfony-users] Re: problem

2010-06-07 Thread wueb
Shouldn't the default be ANSII and not UTF-8? On 7 Jun, 11:23, Pietrino Atzeni pietrino.atz...@gmail.com wrote: Try with the home page, before (with all partials and components, if you have any). I think netbeans, pspad and others has automatic conversion to utf-8. P All modules pages??

[symfony-users] Re:  problem

2010-06-07 Thread wueb
But why this start happening? I never had this problem before. Never needed to save files in diferent encodings, always used the default. Between, this only happens in the webserver, not in localhost! -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Re: CSS and Javascript paths

2010-06-02 Thread wueb
Thanks for the replies. @Florian, that solution didn't work. My webpage was all blank when i add that to the .htaccess I don't want my CSS, JS, Images stored inside in the web/appx/ directory, i want store them all in web/ -- If you want to report a vulnerability issue on symfony, please send

[symfony-users] sfGuardDoctrinePlugin authentication for all apps

2010-06-02 Thread wueb
There is any chance to use sfGuardDoctrinePlugin to authentication in all my apps? I mean, i have app1, app2 and app3. If i do a login in app3, app2 and app1 will be able to know i'm already authenticated and will allow me to enter. There is any chance to do this? thanks -- If you want to

[symfony-users] Re: sfGuardDoctrinePlugin authentication for all apps

2010-06-02 Thread wueb
Yes they are! -- 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 post to this group, send email to symfony-users@googlegroups.com To

[symfony-users] Re: sfGuardDoctrinePlugin authentication for all apps

2010-06-02 Thread wueb
I found it. Just need declare in every factories.yml the same name for the cookie. storage: class: sfSessionStorage param: session_name: cookieName -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this

[symfony-users] Cache problem? I don't know

2010-06-02 Thread wueb
I'm having a problem with symfony on my server. Almost every action i do that goes to database i need make a F5 to the page to the modifications appear. For example, when i update a record from a table, when he goes to the show page he still have the old values, but if i make F5 the new values

[symfony-users] CSS and Javascript paths

2010-06-01 Thread wueb
I created multiple folders with an .htaccess defined for each one inside my web/ to the many apps i have. For example. http://localhost/app1 (access app1) http://localhost/app2 (access app2) http://localhost/appx (access appx) The problem now is that my CSS and JS defined on view.yml try to

[symfony-users] sfWidgetFormDoctrineJQueryAutocompleter problem

2010-05-27 Thread wueb
Hello, I'm having problems with sfWidgetFormDoctrineJQueryAutocompleter. When the number of values to load is small it works very well, but when they are many (more than 500 for example) the page stop working. This happen only in webserver, not in localhost. Any idea what can be? -- If you

[symfony-users] Re: Zend Lucene not escaping search queries

2010-05-27 Thread wueb
Try to put your search query betweem commas. $query = ' ' .$query.' '; $hits = $index-find($query); On 27 Maio, 10:55, Carlos Jorge Andrade carlos.andr...@gmail.com wrote: Hi, Anyone who uses Zend_Lucene can confirm that it doesn't search for   escaped query terms ? There's a section on

[symfony-users] Re: Zend Lucene not escaping search queries

2010-05-27 Thread wueb
Try to put your search query betweem commas. $query = ' ' .$query.' '; $hits = $index-find($query); On 27 Maio, 10:55, Carlos Jorge Andrade carlos.andr...@gmail.com wrote: Hi, Anyone who uses Zend_Lucene can confirm that it doesn't search for   escaped query terms ? There's a section on

[symfony-users] Re: sfWidgetFormDoctrineJQueryAutocompleter problem

2010-05-27 Thread wueb
If i don't use any limit the page doesn't work, but if i limit for example to 10 it works. On 27 Maio, 12:47, Olivier os-li...@ithink.ch wrote: Are you making use of the `limit` parameter given to the AJAX action in your database request? -- If you want to report a vulnerability issue on

[symfony-users] Re: sfWidgetFormDoctrineJQueryAutocompleter problem

2010-05-27 Thread wueb
I think is because the sfWidgetFormDoctrineJQueryAutocompleter send all to Javascript memory. There isn't any other Widget like this? On 27 Maio, 12:48, wueb webmaster@gmail.com wrote: If i don't use any limit the page doesn't work, but if i limit for example to 10 it works. On 27 Maio

[symfony-users] Include component from other Application

2010-05-13 Thread wueb
Hi, It is possible use a component from an application general on the application main for example? In the template of app main i have: ?php include_component('apps/general/body','header') ? But doesn't work, any idea please? -- If you want to report a vulnerability issue on symfony, please

[symfony-users] jQuery + Forms + Symfony 1.3

2010-04-21 Thread wueb
Hi! There are any plugin or examples how to use jQuery in Forms validations for Symfony 1.3?? 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 to the Google Groups

[symfony-users] Re: sfGuardDoctrine with external database

2010-04-21 Thread wueb
I understand you wanna a database with sfGuard and other with your tables? You can just make the 2 connections in the databases.yml all: sfGuardDatabase: class: sfDoctrineDatabase param: dsn: mysql:host=localhost;dbname=sfguarddatabase username: root password:

[symfony-users] Re: Credentials problem

2010-04-01 Thread wueb
I solved. The problem was because i was logged with a is_super_admin user!! When that happens he ignore the credentials and he have full access to everything!! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this

[symfony-users] Re: Custom Under Maintenance page

2010-03-30 Thread wueb
Do you redirect the default in routing.yml to the module you created? On 29 Mar, 22:51, ruigoncalves skcra...@gmail.com wrote: Hi there! I'm trying to add a custom page to my web application for the times I'm performing maintenance. I'm trying to test the referred page on my development

[symfony-users] Missing class name error

2010-03-29 Thread wueb
I' trying to build the schema from 2 databases who have relationships between them. But i'm getting this error when i make build schema Missing class name any idea what can be? thank you!! -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Re: Missing class name error

2010-03-29 Thread wueb
: On Mon, 29 Mar 2010, wueb wrote: I' trying to build the schema from 2 databases who have relationships between them. But i'm getting this error when i make build schema Missing class name include more_data; :-) -- -- If you want to report a vulnerability issue on symfony, please

[symfony-users] Credentials problem

2010-03-25 Thread wueb
Hey I have credentials for each module i build. For example: # Module abc have the security.yml: all: credentials: 6 But i can access my module abc even without the credential 6. The results of the hasCredential are strange too, because i always get 1 from them, even if i remove the

[symfony-users] Re: Credentials problem

2010-03-25 Thread wueb
My security.yml on the application or inside the module? I already have. Right now they are like this: #application security.yml default: is_secure: on #module security.yml all: credentials: 6 I try what you suggest and nothing happened unfortunally. I still can access module withouth

[symfony-users] Re: Credentials problem

2010-03-25 Thread wueb
security.yml needs to specify the required credentials, for example: default:  is_secure: on  credentials: admin Then don't forget to clear cache On Thu, Mar 25, 2010 at 11:24 PM, wueb webmaster@gmail.com wrote: Hey I have credentials for each module i build. For example

[symfony-users] Re: Credentials problem

2010-03-25 Thread wueb
:36 PM, wueb webmaster@gmail.com wrote: My security.yml on the application or inside the module? I already have. Right now they are like this: #application security.yml default:  is_secure: on #module security.yml all:  credentials: 6 I try what you suggest and nothing

[symfony-users] Re: Too much data in visualization

2010-03-25 Thread wueb
Can't you use a pager? On 25 Mar, 07:46, Serra giuseppe.se...@gmail.com wrote: Dear All, I developed an application with symfony. Everything is almost ok, except a problem in visualizzation of data. I have a page where I want to show all the elements of one table of my database. Since the

[symfony-users] Re: sfValidatorChoice always invalid!!

2010-02-22 Thread wueb
It works eMerzh, thanks!! Why should the key be set as a string?? That's pretty strange. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send

[symfony-users] sfValidatorChoice always invalid!!

2010-02-19 Thread wueb
Hi mates, I'm having a problem in this piece of code: $modulos = array ( 1 = option 1, 2 = option 2); $this-widgetSchema['id_modulo'] = new sfWidgetFormSelectCheckbox( array('choices' = $modulos) ); $this-validatorSchema['id_modulo'] = new sfValidatorChoice( array('choices' =

[symfony-users] Re: sfValidatorChoice always invalid!!

2010-02-19 Thread wueb
Hi Syam, Doesn''t work :( -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more

[symfony-users] Re: sfValidatorChoice always invalid!!

2010-02-19 Thread wueb
Any idea?? -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit

[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: Edit/Show - protect against non permission access

2010-02-09 Thread wueb
No one? I'm the first having this problem? :( -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to

[symfony-users] Re: Edit/Show - protect against non permission access

2010-02-09 Thread wueb
Thank you very much Gábor and Tony. Only 1 thing Tony, that findOwned method is called when? When i make $this-leads = $this-getRoute()-getObject(); ? Cheers. -- 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] Re: Edit/Show - protect against non permission access

2010-02-09 Thread wueb
Thank you very much Gábor and Tony. Only 2 things Tony. First - that findOwned method is called when? When i make $this-leads = $this-getRoute()-getObject(); ? Second - i always read make sfContext::getInstance()-getUser()- getGuardUser()-getId()); is not very recommended because the context

[symfony-users] Re: Edit/Show - protect against non permission access

2010-02-09 Thread wueb
Yeah, i use the $this-getUser() (action) and the $sf_user (template) already. But now i need use it on the LeadsTable.class.php and none of that works. Cheers -- 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] Edit/Show - protect against non permission access

2010-02-08 Thread wueb
Hello buddies, need help! On my Edit/Show actions i use the route to get the object to Edit/ Show. Edit: $this-form = new LeadsForm($this-getRoute()-getObject()); Show: $this-leads = $this-getRoute()-getObject(); All normal here and works fine, but i need something more secure. For example:

[symfony-users] Re: Images source problem

2010-02-04 Thread wueb
Nobody knows? :S -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options,

[symfony-users] Re: sfWidgetFormChoice and Foreign keys problems!

2010-02-04 Thread wueb
On 4 Fev, 14:52, Tom Ptacnik to...@tomor.cz wrote: 1 st problem try to do:  protected function doUpdateObject($values)   {      print_r($values['id_empresa']);      parent::doUpdateObject($values);   } Thanks i will try. 2 nd I don't understand what are you trying to do. And what

[symfony-users] Re: sfWidgetFormChoice and Foreign keys problems!

2010-02-04 Thread wueb
On 4 Fev, 14:52, Tom Ptacnik to...@tomor.cz wrote: 1 st problem try to do:  protected function doUpdateObject($values)   {      print_r($values['id_empresa']);      parent::doUpdateObject($values);   } Thanks i will try. 2 nd I don't understand what are you trying to do. And what

[symfony-users] Images source problem

2010-02-03 Thread wueb
Hi, i'm getting a problem on the images source. Here: http://localhost/frontend_dev.php/settings - My image works fine. Here: http://localhost/frontend_dev.php/settings/edit - My image doesn't work fine. The problem is that he looks to the action like a folter and the source should be img

[symfony-users] Re: sfWidgetFormChoice and Foreign keys problems!

2010-02-02 Thread wueb
Anyone please? :( -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options,

[symfony-users] Re: sfWidgetFormChoice and Foreign keys problems!

2010-02-02 Thread wueb
!! -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this

[symfony-users] Re: sfWidgetFormChoice and Foreign keys problems!

2010-02-02 Thread wueb
Hello Tom, $empresas had a array with values and descriptions to put on the select. But right now my major problem is the 2nd. Any idea? -- 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] sfWidgetFormChoice and Foreign keys problems!

2010-02-01 Thread wueb
Hi. I'm having 2 problems and i though someone here could help me. 1st PROBLEM: I have a widget called id_empresa which is a sfWidgetFormChoice with multiple choices, like this: $this-widgetSchema['id_empresa'] = new sfWidgetFormChoice( array( 'choices' = $empresas,

[symfony-users] Does the showSucess works same way a form?

2010-01-18 Thread wueb
Hi, What i mean is, in a form we can define the labels for a field name in the form class, but on the showSucess we can't do it. We need write always the field names manual? Doesn't exist anything similiar to renderLabel() from forms? Instead of: table tbody tr thId:/th td?php

[symfony-users] Re: Does the showSucess works same way a form?

2010-01-18 Thread wueb
Thanks for the help Filippo. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more

[symfony-users] Helpers and Widgets??

2010-01-07 Thread wueb
Hello, Maybe someone could help me with this problem i'm having. Whats the difference between the form Helpers and the Widgets? Don't they do the same thing? If not, when should we use helpers instead of the widgets? Can someone please explain me better this doubt i have? PS: Another thing i

[symfony-users] Re: Helpers and Widgets??

2010-01-07 Thread wueb
So should i just use for example the widget-render instead of a input_tag('column'), something like that? -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from

[symfony-users] Re: Helpers and Widgets??

2010-01-07 Thread wueb
So should i just use for example the widget-render instead of a input_tag('column') on the template, something like that? -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To

[symfony-users] Re: Helpers and Widgets??

2010-01-07 Thread wueb
When i try override the constructor (don't know what is the correct, if public function construct() or public function CrmEmpresasForm (), but i try both) it send me an error: Fatal error: Call to a member function getStylesheets() on a non- object in

[symfony-users] Re: Helpers and Widgets??

2010-01-07 Thread wueb
Thanks Daniel. ;) I know i should look better to OOP in PHP5, but unfortunally i don't have a lot of time to do it :( -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To

[symfony-users] Re: optimizing symfony admin generator

2009-12-03 Thread wueb
dfdsf On Dec 3, 10:22 am, Lukas Kahwe Smith m...@pooteeweet.org wrote: Hi, I am aware that there are guides for optimizing symfony application in generally. However, are there any specific settings I should look at in particular for the admin generator? I didnt find a guide searching ..

[symfony-users] Re: sfDoctrineGuardPlugin install problem

2009-12-03 Thread wueb
s -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group

[symfony-users] Re: sfDoctrineGuardPlugin install problem

2009-12-03 Thread wueb
Hi Christopher, When i install the sfDoctrinePlugin this is the error: You can see the path i have the files and i execute the commands. Any idea what this is? I already try like the suggest on the error, the --force-license and didn't work. -- You received this message because you are

[symfony-users] Re: sfDoctrineGuardPlugin install problem

2009-12-03 Thread wueb
Hi Christopher, When i install the sfDoctrinePlugin this is the error: img512.imageshack . us / img512 / 9479 / errordoctrine.jpg (need remove the spaces) You can see the path i have the files and i execute the commands. Any idea what this is? I already try like the suggest on the error, the

[symfony-users] Re: sfDoctrineGuardPlugin install problem

2009-12-03 Thread wueb
I found the problem. I though 1.3 and 1.4 Symfony were the same, so i was trying install sfDoctrineGuardPlugin in 1.4 but it seems doesn't work. I replace the 1.4 to 1.3 and solved the problem -- You received this message because you are subscribed to the Google Groups symfony users group. To

[symfony-users] sfDoctrineGuardPlugin install problem

2009-12-02 Thread wueb
Hello. I'm having problems installing sfDoctrineGuardPlugin. When i do symfony plugin:install sfDoctrineGuardPlugin to install it, he give me a list of Deprecated php functions warnings and in the end it says: Unable to get plugin license information for plugin sfDoctrineGuardPlugin: Unknow

[symfony-users] Re: sfDoctrineGuardPlugin install problem

2009-12-02 Thread wueb
:41 PM, wueb wrote: Hello. I'm having problems installing sfDoctrineGuardPlugin. When i do symfony plugin:install sfDoctrineGuardPlugin to install it, he give me a list of Deprecated php functions warnings and in the end it says: Unable to get plugin license information

[symfony-users] Re: sfDoctrineGuardPlugin install problem

2009-12-02 Thread wueb
, it was mostly a shot in the dark by me. Maybe Fabien knows what's going on? Daniel On 2009-12-02, at 2/December, 6:08 PM, wueb wrote: Hi Daniel. Thanks for your answer. i run that commands you show me but they didn't work. nothing happened when i executed them, say wasn't found nothing