[symfony-users] Re: why don't view other functions in symfony

2009-05-29 Thread James Cauwelier
I don 't understand your question. What is it exactly that you are trying to do? James On May 28, 7:26 pm, Romildo Paiter romildopai...@gmail.com wrote: Hi all, This code below is my action.class.php {   //Exibe a as informações da pagina   public function executeIndex(sfWebRequest

[symfony-users] Session Timeout Issue

2009-05-29 Thread DEEPAK BHATIA
Hi, We have set the session time out to 32400 seconds but for some users the timeout occurs after standard 30 seconds. Kindly let me know the issue. Regards Deepak Bhatia --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] Re: Session Timeout Issue

2009-05-29 Thread Gábor Fási
Instead of changing the session cookie's lifetime, you should check uot sfGuardPlugin's remember me feature. On Fri, May 29, 2009 at 08:59, DEEPAK BHATIA toreachdee...@gmail.com wrote: Hi, We have set the session time out to 32400 seconds but for some users the timeout occurs after standard

[symfony-users] Re: Session Timeout Issue

2009-05-29 Thread DEEPAK BHATIA
Hi, We have the following in the factories.yml file all: user: class: myUser param: timeout: 32400 Is it not sufficient to handled the session timeout ? Do we need to use sfGaurdPlugin ? Regards Deepak Bhatia On Fri, May 29, 2009 at 12:44 PM, Gábor Fási

[symfony-users] Re: why don't view other functions in symfony

2009-05-29 Thread Alexandru-Emil Lupu
as James said: What is the question? maybe try to write into notprincialSuccess.php ?php var_dump($data); ? and then try to call http://your_url/your_env_dev/notprincipal Alecs On Fri, May 29, 2009 at 10:10 AM, James Cauwelier james.cauwel...@gmail.com wrote: I don 't understand your

[symfony-users] Re: Session Timeout Issue

2009-05-29 Thread DEEPAK BHATIA
Hi Gábor, I have installed the sfGaurdPlugin. Do I just need to do #php symfony cc as I am not going for security features. Just changing the two files is sufficient for the changes given below 1. filters.yml 2. app.yml === I have two points

[symfony-users] Remember Me - sfGuardPlugin

2009-05-29 Thread DEEPAK BHATIA
Hi Gábor, I have installed the sfGaurdPlugin. Do I just need to do #php symfony cc as I am not going for security features. Just changing the two files is sufficient for the changes given below 1. filters.yml 2. app.yml === I have two points

[symfony-users] mergeForm does not store submitted values (while embedForm does)

2009-05-29 Thread halla
Hi, I'm trying to embed/merge two Forms together, and while embedForm works perfect, mergeForm doesen't store the values after submitting the form. So, this works fine for me: $sf_guard_user = new BackendsfGuardUserForm($this-getObject()- getsfGuardUser()); $this-embedForm('sf_guard_user',

[symfony-users] Re: why don't view other functions in symfony

2009-05-29 Thread Romildo Paiter
Because I ? Php echo $ sf_content? Of my layout (app / design / template / layout.php), can not display other functions besides executeIndex (). I understand, this is my initial doubts. another question is how do I create the menu layout of the file can not run command from php att Romildo

[symfony-users] Alternative to # as dummy href

2009-05-29 Thread Gareth McCumskey
Hi there all, Without going into the specifics I am looking for a way to use: ?php echo link_to(Link Text, #, array(onClick=javascriptFunction()) ? in symfony without the page scrolling back up when the link is clicked. I did find that you can use javascript: to do this but symfony complains

[symfony-users] Re: Alternative to # as dummy href

2009-05-29 Thread Fabian Lange
Hi, div onClick=javascriptFunction()Link Text/div the link_to is a helper specifically designed to work with links using routes. You actually neither want a link nor a route. so you shouldn't bother using the link _to helper Fabian On May 29, 2009, at 2:08 PM, Gareth McCumskey wrote: Hi

[symfony-users] Re: Alternative to # as dummy href

2009-05-29 Thread Gareth McCumskey
Interesting idea to do that. And I can just use CSS to make it look and act like a link to. Thanks for the idea Fabian. On Fri, May 29, 2009 at 2:13 PM, Fabian Lange fabian.la...@symfony-project.com wrote: Hi, div onClick=javascriptFunction()Link Text/div the link_to is a helper

[symfony-users] Re: why don't view other functions in symfony

2009-05-29 Thread James Cauwelier
Did you already read the manual? Are you familiar with components and partials. If not, read about it in the manual and call a component or partial from you layout file. James On May 29, 1:46 pm, Romildo Paiter romildopai...@gmail.com wrote: Because I ? Php echo $ sf_content? Of my layout

[symfony-users] anybody help with 1.0

2009-05-29 Thread belbek
is there a way to get the Request Object in validate/ .yml file in symfony 1.0 a need to change the required: option depending on incoming request --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group.

[symfony-users] Re: Alternative to # as dummy href

2009-05-29 Thread Eno
On Fri, 29 May 2009, Gareth McCumskey wrote: Without going into the specifics I am looking for a way to use: ?php echo link_to(Link Text, #, array(onClick=javascriptFunction()) ? in symfony without the page scrolling back up when the link is clicked. I did find that you can use

[symfony-users] Re: выставлять required в true или false в зависимости от пришедшего пара метра

2009-05-29 Thread vadim
Чувак, тут по-английски принято писать ;) В экшене получаешь параметр, в зависимости от него, затем получаешь validatorSchema своей формы: $vs = $this-form-getValidatorSchema(); В ней выбираешь конкретное поле и назначаешь ему какой-нибудь параметр или атрибут:

[symfony-users] Re: anybody help with 1.0

2009-05-29 Thread Eno
On Fri, 29 May 2009, belbek wrote: is there a way to get the Request Object in validate/ .yml file in symfony 1.0 a need to change the required: option depending on incoming request You can put PHP code inside YAML files. The PHP code will be parsed and executed before the YAML parser.

[symfony-users] Re: anybody help with 1.0

2009-05-29 Thread Jacob Coby
On May 29, 2009, at 10:23 AM, Eno wrote: On Fri, 29 May 2009, belbek wrote: is there a way to get the Request Object in validate/ .yml file in symfony 1.0 a need to change the required: option depending on incoming request You can put PHP code inside YAML files. The PHP code will be

[symfony-users] Re: Propel group by clause

2009-05-29 Thread vadim
Reconsidered the query and made it in another way SELECT message_chain. * , MAX( message.id ) AS max_id, message.chain_id FROM message_chain, message WHERE message_chain.chain_id = message.chain_id GROUP BY message.chain_id On 28 май, 22:31, vadim samokhinva...@gmail.com wrote: Hi guys,

[symfony-users] sfGuardPlugin Usage

2009-05-29 Thread DEEPAK BHATIA
Hi, I want to use Remember Me feature of sfGuardPlugin. Please help in this regard. Thanks Deepak Bhatia --~--~-~--~~~---~--~~ 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] Question Askeet Tutorial

2009-05-29 Thread juaninf
wenas, I following the askeet tutorial, in day 3 exist Create a batch to populate the database, gooh now below say that Create a file called load_data.php in the askeet/batch/ directory with the following content:, but I no find batch directory :(, pdta: Mi symfony version is 1.2

[symfony-users] Custom config file is not loaded

2009-05-29 Thread oxyf...@googlemail.com
Hi Our project has some machine specific configuration that should not be kept in the app.yml (since we want to keep the app.yml under svn control), but in a second config file, let's call it my.yml. The values from my.yml should be available via sfConfig - just like values in app.yml. my.yml

[symfony-users] Bug in documentation.

2009-05-29 Thread RG
Hello I found a bug in the doc : when you read the A appendix of the symfony Forms in Action, every time you whant to follow the widget's anchor link, you get the error message symfony Forms in Action is not yet available in English for the symfony 1.2. . I tried to report this bug with trac,

[symfony-users] Re: Integrate sfGuardUser and sfGuardUserProfile in the same Admin-Backend Module

2009-05-29 Thread Campezzi
Hey Daniel, Yup, embedding is the way. I was about to point you to this excellent tutorial when you found the answer by yourself: http://www.symfony-project.org/blog/2008/11/12/call-the-expert-customizing-sfdoctrineguardplugin A good read, anyways. Cheers! On May 28, 7:55 pm, halla

[symfony-users] Re: выставлять r equired в true или false в зави симости от пришедшего пар аметра

2009-05-29 Thread Alexandru-Emil Lupu
RU: Английский пожалуйста. Последний раз я проверила это основной канал Symfony, не Symfony-RU групп. До свидания! EN: English please. Last time i have checked this is main symfony channel, not symfony-ru groups. Good bye. Alecs 2009/5/29 vadim samokhinva...@gmail.com Чувак, тут по-английски

[symfony-users] Re: Question Askeet Tutorial

2009-05-29 Thread Gábor Fási
Askeet is for symfony 1.0 (even if the url says 1.2), many things described there are outdated. You should follow the Jobeet tutorial. On Fri, May 29, 2009 at 06:01, juaninf juan...@gmail.com wrote: wenas, I following the askeet tutorial, in day 3 exist Create a batch to populate the

[symfony-users] Getting sfThumbnailPlugin to behave

2009-05-29 Thread Jacob Coby
I'm using sfThumbnailPlugin for sf 1.1 with the Image Magick adapter and it works. It just doesn't work how I want: I have an original image that's uses the 16:9 aspect ratio. I need to generate several images that aren't in 16:9 and I need it to generate thumbnails that are the size