[symfony-users] Re: language_backend

2010-05-20 Thread Tom Ptacnik
Did you set i18n: on in config/settings.yml http://www.symfony-project.org/book/1_2/13-I18n-and-L10n On 19 kvě, 11:16, safa boubekri boubekri.s...@gmail.com wrote: hello  every body i add in setting.yml of backend   i18n:            true    default_culture:   fr_FR    standard_helpers:

Re: [symfony-users] Error Message

2010-05-20 Thread DEEPAK BHATIA
Thanks for the inputs. We have installed symfony 1.4.1 on /root directory and /home directory. I was creating the project using symfony on /root directory so I was getting the problem. Then I created the project using symfony on /home directory which worked. Thanks once again for your support.

Re: [symfony-users] Error Message

2010-05-20 Thread Gareth McCumskey
You seem to have totally ignored the advice you were given. You really should spend more time learning how permissions work on a *nix machine before you make applications publicly available. Its not hard but its not the same as Windows (if thats what you are used to) because *nix machines have

Re: [symfony-users] Is there any way to override symfony core class such as sfModelGenerator ?

2010-05-20 Thread Gareth McCumskey
class myNewGeneratorClass extends sfModelGenerator On Wednesday 19 May 2010 17:09:10 Jérôme TEXIER wrote: Hi, I would override sfModelGenerator class in order to change renderField method's behavior. Generator stuff is not supported by factories.yml and it looks like there no helpful

[symfony-users] Re: No release available for plugin atolExt3WidgetPlugin?

2010-05-20 Thread Florian
Hi, If you use plugin:install with -s=alpha ( or beta ) maybe... But I recommend you to use subversion and include it with svn:externals: svn propset svn:externals atolExt3WidgetPlugin http://svn.symfony-project.com/plugins/atolExt3WidgetPlugin; plugins Another way would to download the

Re: [symfony-users] Re: language_backend

2010-05-20 Thread safa boubekri
in my setting.yml, i must put true i dont kows what is wrong -- 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,

[symfony-users] Probando ysJQueryUIDialog

2010-05-20 Thread Javier Garcia
Hola, cuando pongo en un template el siguiente código, me aparece la pagina en blanco: ?php use_helper('ysJQueryRevolutions') ? ?php use_helper('ysJQueryUIDialog') ? ?php ui_dialog_init('dialogSolicitud' , array( 'listener' = array( 'selector' = '#btnDialogListener',

Re: [symfony-users] Re: Routing: frontend_dev.php vs. index.php

2010-05-20 Thread Eno
On Wed, 19 May 2010, Zackary wrote: Thanks! That's exactly the problem. I'm new to all this, so is this something that I should have read in the manual, or something I pick up along the way (e.g. through bulletin boards), or is there some other way? Its no 'secret', its documented in the

[symfony-users] Re: Question about paths

2010-05-20 Thread Tom Ptacnik
I think you have badly set document_root on you production server. Don't you? Or something like this... On 19 kvě, 18:13, Javier Garcia tirengar...@gmail.com wrote: Hi, in the cover page (login, register...) of my app i have this line: link rel=stylesheet type=text/css

[symfony-users] Re: Is there any way to override symfony core class such as sfModelGenerator ?

2010-05-20 Thread Zdanek
I think the only way is to create sfModelGenerator class, copy the content from old one, add new stuff and make sure it's autoloaded in the end. However it's bit hackish :-( T On 20 Maj, 10:16, Gareth McCumskey gmccums...@gmail.com wrote: class myNewGeneratorClass extends sfModelGenerator On

[symfony-users] Re: language_backend

2010-05-20 Thread Tom Ptacnik
Oh, yea, sorry there must be true (not on) ... I took it from the old documentation. Do you have sf_admin.fr.xml in the \apps\Backend\i18n directory now? On 20 kvě, 11:40, safa boubekri boubekri.s...@gmail.com wrote: in my setting.yml,  i  must put   true i dont  kows what is wrong -- If

Re: [symfony-users] Re: language_backend

2010-05-20 Thread safa boubekri
yes i put it in the i18n -- 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] My question about doSelect and Counting Grouped Elemnts

2010-05-20 Thread Germán Pablo Martins
Hi! I have a Criteria using GroupsByColumn and the thing is I want to show on the template the number of rows (elements) on every group. For example I'm grouping by Country fied and on the template I want to show NameCountry (Number of Elements). I don't know how to do this. Could anybody help

[symfony-users] make your own widget

2010-05-20 Thread gotango
hello, I have created a Symfony site but for the form i have mad a date time pickers and now instead of the standard widget for date picking i want to show my date time picker How do i make from this date picker a widget? Thanks already Greatings -- If you want to report a vulnerability issue

[symfony-users] Re: sfVideoPlugin

2010-05-20 Thread erka
On May 12, 12:20 am, Winnie chaiseenb...@gmail.com wrote: Hello, I see on the flowplayer websitehttp://flowplayer.org/documentation/index.html ( On the bottom ) that any format goes. So that's why i wonder if it can read other format thatflv On 11 mai, 18:23, Eno symb...@gmail.com wrote:

[symfony-users] Using RenderPartial(): the css files are not loaded

2010-05-20 Thread Javier Garcia
Hi, I have this action below at miembros/actions/actions.class.php: public function executeFoo(sfWebRequest $request){ return $this-renderPartial('foo'); } and in miembros/templates i have _foo.php When i execute it, the css files i have at frontend/config/view.yml are not loaded.

[symfony-users] Re: help_sfPhpExcelPlugi

2010-05-20 Thread allel benbrahim
Hello open sfPhpExcel.class.php in ProjectName/plugins/sfPhpExcelPlugin/ sfPhpExcelPlugin-1.0.3/lib/sfPhpExcel.class.php and keep this code ?php class sfPhpExcel extends PHPExcel { public function __construct() { parent::__construct(); //$this-getProperties()-

[symfony-users] Gestion des catégories

2010-05-20 Thread kimou
Bonjour, Je travaille sur symfony depuis un mois, j'ai une gestion de catégories, sous catégories,... Dans l'action list, je veux afficher les catégories en arborescence, et je veux déplacer les catégories et les ordonner en utilisant le drag and drop. Actuellement, j'ai utilisé la solution situé

Re: [symfony-users] Re: Doctrine documentation is gone??

2010-05-20 Thread Swanand Pagnis
What about 1.0? On Wed, May 19, 2010 at 4:23 AM, Alessandro Massignan ff...@gmail.comwrote: Hi, Doctrine documentation is available (they just change the link)... You could find it at: * http://www.doctrine-project.org/projects/orm for both 1.2 and 2.0: *

[symfony-users] Problems with sfDoctrineRouteCollection with custom variables in url

2010-05-20 Thread Popovich
Hi. Someone can help me on this: http://forum.symfony-project.org/index.php/t/27400/ -- 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] Using RenderPartial(): the css files are not loaded

2010-05-20 Thread Michał Piotrowski
Hi, 2010/5/20 Javier Garcia tirengar...@gmail.com: Hi, I have this action below at miembros/actions/actions.class.php: public function executeFoo(sfWebRequest $request){    return $this-renderPartial('foo'); } and in miembros/templates i have _foo.php When i execute it, the css

[symfony-users] How to got the last id from a table, usinf criteria

2010-05-20 Thread kadia
I have a problem for getting the last id from a table, I have to use criteria for that. Thank you -- 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

[symfony-users] Symfony task with progress bar

2010-05-20 Thread Ben Lancaster
Hi list, I've been working on a task to import a load of data from one site to another (1M records in some cases), I was getting pretty frustrated that I couldn't track the progress very well, so I wrote an extension to sfBaseTask, which I then use as the base class for any task needing a

[symfony-users] Re: make your own widget

2010-05-20 Thread gotango
to answer my own question i just edited the form template and unseted the date and afterwards i use the value in the POST to replace the one from the form Hope i helped someone else with this :) hello, I have created a Symfony site but for the form i have mad a date time pickers and now

Re: [symfony-users] Symfony task with progress bar

2010-05-20 Thread Eno
On Thu, 20 May 2010, Ben Lancaster wrote: Last thing - anyone know how I can auto-set the width of the progress bar from the width of the terminal? That probably depends on the OS you're running on. On Linux/UNIX you could use the stty command and parse the output to grab that info: $ stty

Re: [symfony-users] Symfony task with progress bar

2010-05-20 Thread Jacob Coby
just use `tput cols`. works on os x and linux and probably anything with ncurses installed. you can also use the ncurses php extension but there is a 99% chance it won't be available. On May 20, 2010, at 10:34 AM, Eno wrote: On Thu, 20 May 2010, Ben Lancaster wrote: Last thing - anyone

[symfony-users] Re: Symfony task with progress bar

2010-05-20 Thread benlancaster
On May 20, 3:37 pm, Jacob Coby jc...@portallabs.com wrote: just use `tput cols`.  works on os x and linux and probably anything with ncurses installed. Duly updated (http://pastebin.com/SarJ5mjP) thanks! -- If you want to report a vulnerability issue on symfony, please send it to security

Re: [symfony-users] How to got the last id from a table, usinf criteria

2010-05-20 Thread Abraham Montilla
you mean using Propel? in Doctrine is as simple as using the getLast() method after the execute() method. 2010/5/20 kadia kadial...@gmail.com I have a problem for getting the last id from a table, I have to use criteria for that. Thank you -- If you want to report a vulnerability issue on

[symfony-users] usage de ajax dans forms

2010-05-20 Thread abbbassi abidi
bonjour, j'ai un prob j'ai un form d'un module j'utlise sfWidgetFormDoctrineChoice mais j'amerai integrer sfWidgetFormI18nChoiceCountry pour recuperer le name country quelqu'un sait comment faire, merci -- If you want to report a vulnerability issue on symfony, please send it to security at

Re: [symfony-users] Using RenderPartial(): the css files are not loaded

2010-05-20 Thread Javier Garcia
Thanks Michal, but it doesn't work.. -- Javi Ubuntu 8.04 - Symfony 1.3 -- 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

[symfony-users] Validating Forms with Dynamic Fields

2010-05-20 Thread FeelLlikeANut
In my form, I have a field called type_0, and I have a JavaScript button to Add another type, which copies the first field to make a new field called type_1, type_2, type_3, and so on. But this creates a problem when I submit and validate the form. I get the form error Unexpected extra form field

Re: [symfony-users] Using RenderPartial(): the css files are not loaded

2010-05-20 Thread Michał Piotrowski
2010/5/20 Javier Garcia tirengar...@gmail.com: Thanks Michal, but it doesn't work.. It works fine in my rate system.Let's think about it, first I just do ?php include_partial('rate_show', array(bla, bla..)) ? - it includes rate.css in add method I render _rate.php partial, that also includes

[symfony-users] Re: Missing parent::configure() in built form filter

2010-05-20 Thread Olivier
Sorry, I forgot to say thank you, it solved my problem nicely. I'm not sure where I was supposed to find this, though. I didn't find any mention of setup() in the API or Advanced Forms. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com

[symfony-users] Re: Validating Forms with Dynamic Fields

2010-05-20 Thread Florian
Hi You can add use the allowExtraformFields method of sfForm On 20 mai, 17:42, FeelLlikeANut feellikea...@gmail.com wrote: In my form, I have a field called type_0, and I have a JavaScript button to Add another type, which copies the first field to make a new field called type_1, type_2,

[symfony-users] admin i18n doubt

2010-05-20 Thread fRAnKEnSTEin
Hi there, i have the following in a generator.yml of certain module: ... ... config: ... fields: name: { label: Name } ... ... I have implemented succesfuly i18n in amin generator, but all fileds: name: label ... does not get translated...i have tryed

[symfony-users] Separete embeded form and main form in view

2010-05-20 Thread Ehsan
Hi i have a form with an embeded form named 'additional' form is like this : user[name] user[last] user[additional][1] user[additional][2] i need to separate these 2 form in template, currently i user this method , is there a better method for doint it ? ?php $additional = 'user[additional]'; ?

[symfony-users] Jobeet Day 7: Unable to find the JobeetCategory object with the following parameters array ( 'slug' = 'design',)).

2010-05-20 Thread asuarez
Hi. I finished day 7 of the tutorial (1.4 doctrine) and it's not working, I get an 404 error and the message 'Unable to find the JobeetCategory object with the following parameters array ( 'slug' = 'design',)).' in my log. Can somebody help me? -- If you want to report a vulnerability issue on

Re: [symfony-users] Jobeet Day 7: Unable to find the JobeetCategory object with the following parameters array ( 'slug' = 'design',)).

2010-05-20 Thread Tom Haskins-Vaughan
Look in your database. Do you have a jobeet_category record with a slug 'design'? On Thu, May 20, 2010 at 2:54 PM, asuarez ali.sua...@gmail.com wrote: Hi. I finished day 7 of the tutorial (1.4 doctrine) and it's not working, I get an 404 error and the message 'Unable to find the

Re: [symfony-users] Symfony task with progress bar

2010-05-20 Thread Eno
On Thu, 20 May 2010, Ben Lancaster wrote: I've been working on a task to import a load of data from one site to another (1M records in some cases), I was getting pretty frustrated that I couldn't track the progress very well, so I wrote an extension to sfBaseTask, which I then use as the

Re: [symfony-users] Jobeet Day 7: Unable to find the JobeetCategory object with the following parameters array ( 'slug' = 'design',)).

2010-05-20 Thread Eno
On Thu, 20 May 2010, Tom Haskins-Vaughan wrote: Look in your database. Do you have a jobeet_category record with a slug 'design'? In fact, the fixture that loads that category into the database is shown in day 3:

[symfony-users] Generated methods in peer class'

2010-05-20 Thread rekarnar
From http://www.symfony-project.org/cookbook/1_2/en/behaviors: Unfortunately, as of PHP 5, static method calls cannot be caught by a __call(). This means that symfony behaviors are not able to add new methods to the Peer classes. So my question is, how should I go about adding common methods

[symfony-users] ldap authentication

2010-05-20 Thread mirfan
Hi, I want my application to be authenticated with ldap i have no idea how i will do that and i am also fresh to symfony, one more thing is that i have installed and enabled sfGuard plugin but its is not working. Please help me. -- If you want to report a vulnerability issue on symfony, please