[symfony-users] Re: Link_to in Batch

2008-04-11 Thread SNake!
Ya, I tried, but as I mentioned the link_to() triggers session_start(), but I don't need that, and the returned link seems to been strange like: /batch/email_alert.php/{module}/{action}/ On 4月12日, 上午12時57分, "Pedro Casado" <[EMAIL PROTECTED]> wrote: > Maybe you should try something like thi

[symfony-users] Anyone? Re: plugins and including custom classes in lib

2008-04-11 Thread James
Anyone? On Apr 11, 2008, at 12:39 PM, James wrote: > ok, so I am working on plugin #2 which is a simple picture gallery. > Nothing overly complicated. One of it's requirements will be the > installation of my first plugin. "sfJuploadPlugin".In > sfJuploadPlugin you can create a class

[symfony-users] Re: error, when cache turned on, but not not enabled with timed out session

2008-04-11 Thread Eno
On Apr 11, 11:52 am, pihentagy <[EMAIL PROTECTED]> wrote: > True. Cache is only enabled in the app in settings.yml, but in apps > cache.yml it is not enabled. (and no module level cache.yml, but > having a module level cache with content: > all: >   enabled: off > the situation is the same after

[symfony-users] Re: symfony cc problem

2008-04-11 Thread Fabien POTENCIER
This has been fixed in 1.1 beta3 Fabien Joe Kelsey wrote: > I have a symfony project with three apps: sales, tracking and admin. > I have been working on it for a while, and I thought that something to > do before I start releasing it is to clear the cache. I tried: > > symfony cc > PHP Fatal

[symfony-users] Re: routing looking for 'indexphp' module... not right

2008-04-11 Thread hervé
An other possible solution seems to be indicated on http://www.symfony-project.org/forum/index.php/m/42787/ changing the SCRIPT_NAME into ORIG_SCRIPT_NAME. Cheers, Hervé On 11 avr, 20:21, hervé <[EMAIL PROTECTED]> wrote: > Alright Jerry, just ran into the solution: > > add the line > cgi.fix_p

[symfony-users] Re: Queries generated by "filters" action

2008-04-11 Thread Mladen Gogala
pihentagy wrote: > Hi > > I don't understand the difference between this question, and your > previous question here: > http://groups.google.com/group/symfony-users/browse_thread/thread/a6bc23a9de6f3d08/9433f7e7c805b3a8 > Thanks. There is no difference at all. I simply was unable to find the a

[symfony-users] Re: routing looking for 'indexphp' module... not right

2008-04-11 Thread hervé
Alright Jerry, just ran into the solution: add the line cgi.fix_pathinfo = 1 in your php5.ini Hope it helps , Hervé On 16 mar, 17:27, me_unicorn <[EMAIL PROTECTED]> wrote: > I experienced similar problems as you described above and have had 3 > sleepless nights and days since this problem occu

[symfony-users] Re: Re : [symfony-users] Queries generated by "filters" action

2008-04-11 Thread Mladen Gogala
Loïc Vernet wrote: > You won't get help asking like this. :/ > I didn't get help when I asked nicely. I already asked a question about modifying queries. Feel free to RTFM me and point me to the relevant documentation in which I can find the answer. > If you are not satisfied with the docu

[symfony-users] Re: Queries generated by "filters" action

2008-04-11 Thread Mladen Gogala
Jill Elaine wrote: > I notice that my admin generator filters are already case insensitive > by default? > > Not for the oracle database. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To

[symfony-users] Re: Link_to in Batch

2008-04-11 Thread Pedro Casado
Maybe you should try something like this: sfLoader::loadHelpers('Url'); -- Att, Pedro Casado On Fri, Apr 11, 2008 at 12:38 PM, SNake! <[EMAIL PROTECTED]> wrote: > > Dear All, > > I am writing a batch for sending email in symfony. One problem is that > I want to delivery some link to ppl, so li

[symfony-users] plugins and including custom classes in lib

2008-04-11 Thread James
ok, so I am working on plugin #2 which is a simple picture gallery. Nothing overly complicated. One of it's requirements will be the installation of my first plugin. "sfJuploadPlugin".In sfJuploadPlugin you can create a class to handle the upload. I noticed today that in order to us

[symfony-users] sfDateValidator

2008-04-11 Thread pihentagy
Hi all! I have an admin generated edit form, and I'd like to validate start and end time. (start must be <= end time) But, as I can see sfDateValidator only handles the date part! Is there a similar class handling the time part as well? thanks Gergo --~--~-~--~~~---~

[symfony-users] Re: error, when cache turned on, but not not enabled with timed out session

2008-04-11 Thread pihentagy
True. Cache is only enabled in the app in settings.yml, but in apps cache.yml it is not enabled. (and no module level cache.yml, but having a module level cache with content: all: enabled: off the situation is the same after cache clear. On Apr 11, 5:49 pm, Eno <[EMAIL PROTECTED]> wrote: > On A

[symfony-users] Re: error, when cache turned on, but not not enabled with timed out session

2008-04-11 Thread Eno
On Apr 11, 8:12 am, pihentagy <[EMAIL PROTECTED]> wrote: > I get a cache error in the following condition: > > The situation: > - in the app's settings.yml in the dev configuration cache is enabled > - in the app's config cache.yml cache is not enabled > - The url news/edit/id/4 needs authenticat

[symfony-users] Link_to in Batch

2008-04-11 Thread SNake!
Dear All, I am writing a batch for sending email in symfony. One problem is that I want to delivery some link to ppl, so link_to is needed , but the link of calling link_to seem to init a session , and error like: Warning: session_start(): Cannot send session cookie - headers already sent by (o

[symfony-users] Re: Queries generated by "filters" action

2008-04-11 Thread pihentagy
Hi I don't understand the difference between this question, and your previous question here: http://groups.google.com/group/symfony-users/browse_thread/thread/a6bc23a9de6f3d08/9433f7e7c805b3a8 You need to peek into the cached actions.class.php file in the autoEmp directory. You should override p

[symfony-users] Re: Have you heard about Google App Engine?

2008-04-11 Thread Michael Nolan
I'm fully aware of the irony in me using Google's products, but I'm careful to ensure that the risks are minimised. I backup my Google Calendar as iCal files, IMAP Gmail is synced to my local machine. But Google App Engine is, for now, a step too far - you're locked into their APIs - it's not th

[symfony-users] Re : [symfony-users] Re: csrf_token required

2008-04-11 Thread Loïc Vernet
So the bug comes from the fact of using the the $this->setWidgets function instead of $widgetSchema = $this->getWidgetSchema(); $widgetSchema['id'] = new sfWidgetFormInputHidden(); .. I don't know if it is supposed to be normal or not ? - Message d'origine De : Thomas Raba

[symfony-users] Re: Queries generated by "filters" action

2008-04-11 Thread Jill Elaine
I notice that my admin generator filters are already case insensitive by default? But if you need to customize your filter (or any part of your admin generator pages), in myapps > modules > mymodule, create a directory called 'templates'. Inside this templates directory, create a new file called

[symfony-users] Re : [symfony-users] Queries generated by "filters" action

2008-04-11 Thread Loïc Vernet
You won't get help asking like this. :/ If you are not satisfied with the documentation feel free to contribute. COil - Message d'origine De : Mladen Gogala <[EMAIL PROTECTED]> À : symfony-users@googlegroups.com Envoyé le : Vendredi, 11 Avril 2008, 15h58mn 21s Objet : [symfony-users]

[symfony-users] Queries generated by "filters" action

2008-04-11 Thread Mladen Gogala
I need to change query generated by the filter action. The module "emp" was generated by propel-init-admin and I've put filters: [ ename ] in the generators.yml. I need to be able to modify this search and force it to ignore case. What I need is the following: lower(ename) like lower($value).

[symfony-users] LightWindow

2008-04-11 Thread Eno
Anyone using the LightWindow plugin? Im using lw_image() helper to provide a link to a video, but it appear the helper is adding ".png" to the end of my URL - any ideas why? Second question is, I know the size of the video, but how do I size the lightwindow itself? How much space must I allow fo

[symfony-users] Re: Modifying the query generated by "filters"

2008-04-11 Thread [EMAIL PROTECTED]
In your module's actions.class.php you can override addFiltersCriteria($c) : protected function addFiltersCriteria($c) { if (isset($this->filters['field']) && $this->filters['field'] !== '') { // First : remove original conditions on this field $c->remove(MyTablePeer::FIELD);

[symfony-users] Re: modifying default date and time format for a culture

2008-04-11 Thread Luciano A. Andrade
I think symfony is not prepared for that, but you could 1.- Use a new culture (maybe somting like en_US_custom1) may work ok an write the dat file on (data/i18n/en_US_custom1) or, when you set the culture instance of en_US to a class extending sfCultureInfo o sfDateTimeFormatInfo. On Thu, Apr 10,

[symfony-users] error, when cache turned on, but not not enabled with timed out session

2008-04-11 Thread pihentagy
Hi! I get a cache error in the following condition: The situation: - in the app's settings.yml in the dev configuration cache is enabled - in the app's config cache.yml cache is not enabled - The url news/edit/id/4 needs authentication - I have no session (session timed out) And I get: Notice:

[symfony-users] Re: Symfony + Propel + Multiple Schemas

2008-04-11 Thread Ryan G
Yeah I'm with Reynier.. They are within the same database here too. With Oracle & Symfony, I wonder if I can use different TNS aliases for the same database to mask the fact that its the same database and treat it as 2 separate for eg? (ie. one TNS alias for each user in the same database, so allo

[symfony-users] Modifying the query generated by "filters"

2008-04-11 Thread Mladen Gogala
I can't find a file to modify a query generated by "filters" in my module generated by the admin generator. I need to create a case-insensitive search but nothing works. I tried modifying test_proj/lib/model/om/BaseEmp.php, to no avail. The documentation is completely unclear and I can't find it.

[symfony-users] Re: Have you heard about Google App Engine?

2008-04-11 Thread Mat
Moving the data out, is near impossible! There is no way to directly extract the information, and even writing an app to extract it is very difficult as well. BigTable only lets you get 1000 records at a timeso extracting all your data is going to be tricky.not to mention different records

[symfony-users] Re: Have you heard about Google App Engine?

2008-04-11 Thread Mark Ng
I'm having a good chuckle at all of you from gmail talking on a google group about being worried at giving google more data ;). The thing that would concern me most is not being able to take that data out and move it elsewhere.. Mark On 11/04/2008, Nicolas Perriault <[EMAIL PROTECTED]> wrote: >

[symfony-users] Re: Have you heard about Google App Engine?

2008-04-11 Thread Nicolas Perriault
On Fri, Apr 11, 2008 at 1:00 PM, Eddy <[EMAIL PROTECTED]> wrote: > And besides, do you want Google to own you?! > Hehe, it doesn't sound that bad actually. If we're building a community > thing whereas everything is open, that could save us a lot in terms of > resources. Giving your applicatio

[symfony-users] Re: Have you heard about Google App Engine?

2008-04-11 Thread Mark Ng
The impression I have (as someone with access to google app engine) is that Python is merely the first language they've chosen to support (given that it's a language they use extensively internally). However - there are many things in the way that symfony is built that may prove an initial obstac

[symfony-users] Re: Have you heard about Google App Engine?

2008-04-11 Thread Eddy
And besides, do you want Google to own you?! Hehe, it doesn't sound that bad actually. If we're building a community thing whereas everything is open, that could save us a lot in terms of resources. Michael Nolan wrote: > No, Google App Engine only supports python. I noticed a petition > going

[symfony-users] Re: Have you heard about Google App Engine?

2008-04-11 Thread Michael Nolan
No, Google App Engine only supports python. I noticed a petition going round asking for PHP support, but this seems unlikely to happen soon. The architecture also doesn't suit the symfony model in quite the same way as EC2 - it's more a case of you plugging in your components into their architec

[symfony-users] Re: Have you heard about Google App Engine?

2008-04-11 Thread Andy Signer
Hi mephis The short answer is no as PHP is not supported. Cheers Andy --~--~-~--~~~---~--~~ 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 un

[symfony-users] Have you heard about Google App Engine?

2008-04-11 Thread [EMAIL PROTECTED]
Today I stumbled upon Google App Engine and at the first glance, it sounds like an application hosting or Amazon EC2 to me. So my question is, can I use Google App Engine with my symfony app? If possible it is much cheaper than the current Amazon EC2? --~--~-~--~~~---~-

[symfony-users] Re: symfony cc problem

2008-04-11 Thread Thomas Rabaix
It look like you are using sf1.1 as sfProjectConfiguration class is only available in this version. Please keep in mind there is no documentation on this version. and you should use the version 1.0 to get best support from the community. Thomas On Fri, Apr 11, 2008 at 10:55 AM, Ian P. Christian

[symfony-users] i18n problem with autoIncrement columns

2008-04-11 Thread jaroyo
Hi, I have a strange problem when I try to insert a new row in a i18n table, the error only takes place when I try to insert a new object not whe I update a previous one. The mysql tables description is the following: propel: t1: _attributes: { phpName: T1, isI18N: true, i18nTable: t1_

[symfony-users] sfSimpleCMS - how to redirect from backend to frontend

2008-04-11 Thread mkappe
Hi, i have a little CMS with frontend a backend applications. In frontend i created templates and layout and in backend i put all the admin modules. If i don't enable sfSimpleCMS in the backend app, i can't edit pages. If i enable sfSimpleCMS in the backend, i have to copy everything (templates,

[symfony-users] Re: symfony cc problem

2008-04-11 Thread Ian P. Christian
Joe Kelsey wrote: > I have a symfony project with three apps: sales, tracking and admin. > I have been working on it for a while, and I thought that something to > do before I start releasing it is to clear the cache. I tried: > > symfony cc > PHP Fatal error: Class '\adminConfiguration' not fou

[symfony-users] Re: Re : [symfony-users] Re: csrf_token required

2008-04-11 Thread Thomas Rabaix
@Loic : the settings.yml stuff is not a patch is come from the settings.yml in the skeleton AS I said I do not use this feature at it was introduce after I build the my form. I have pastebin my code : http://pastebin.com/m3adc4e23. Please do not look to my isValid method as it is not a sf valid w

[symfony-users] Re: Symfony 1.1 embedForm

2008-04-11 Thread Fabien POTENCIER
Dmitry Nesteruk wrote: > I have to form. The registration form and the address form. I am trying > to embed this forms. > > $this->form = new sfsRegistrationForm(); > $this->form->embedForm('address', new sfsAddressForm()); > > Both forms have own validation. I added bind > > $this

[symfony-users] Re: Re-using a 1.1 form on the same template

2008-04-11 Thread tom ee
Thanks for the info and tips!! --~--~-~--~~~---~--~~ 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 unsubscribe from this group, send email to [

[symfony-users] Symfony 1.1 embedForm

2008-04-11 Thread Dmitry Nesteruk
I have to form. The registration form and the address form. I am trying to embed this forms. $this->form = new sfsRegistrationForm(); $this->form->embedForm('address', new sfsAddressForm()); Both forms have own validation. I added bind $this->form->bind( array(