Re: [symfony-users] sfWidgetFormInputFileEditable admin required file

2010-01-08 Thread g0d br
; => ... > ... > )); > > So the field is only required when it's a new object. Is that what you're > looking for? > > Cheers, Daniel > > On Jan 7, 2010, at 8:52 PM, g0d br wrote: > > Hi, > > I still having this problem. > > Im using sfWidge

Re: [symfony-users] sfWidgetFormInputFileEditable admin required file

2010-01-07 Thread g0d br
one file to overwrite the old one. Thank you for any help. Celso On Fri, Dec 11, 2009 at 12:27 PM, g0d br wrote: > i get the error when i try to edit an record. > > create and delete works fine but if i try to edit an record and dont select > any file when i hit save the required e

Re: [symfony-users] sfWidgetFormInputFileEditable admin required file

2009-12-11 Thread g0d br
ter what are you trying to achieve? > > sent via htc magic > > On Dec 11, 2009 1:11 AM, "g0d br" wrote: > > Hi, > > I have an schema like this: > > banner: > id: ~ > ordem: { type: integer, required: true } > imagem: { type: varchar(25

[symfony-users] sfWidgetFormInputFileEditable admin required file

2009-12-10 Thread g0d br
Hi, I have an schema like this: banner: id: ~ ordem: { type: integer, required: true } imagem: { type: varchar(255), required: true } link: { type: varchar(255), required: false } When i edit an record in admin module i get an error Required for imagem field. Thats the code in B

Re: [symfony-users] propel. how to retrieve

2009-12-01 Thread g0d br
_per_category_count[$category_obj->getTitle()] = > ProductPeer::doCount($product_c); > } > > return $product_per_category_count; > } > > Thats one example. You don't always have to do everything in a query using > joins and to be honest we have often seen massive perfor

[symfony-users] propel. how to retrieve

2009-12-01 Thread g0d br
Hi, I dont even know how to ask that but i want to show what i need. my schema.yml category: id: ~ title: { type: varchar(100), required: true, index: unique } product: id:~ category_id: { type: integer, foreignTable: category, foreignReference: id, onDelete: cascade } name: { type: va

[symfony-users] How to custom frontend for sfguarduser

2009-10-15 Thread g0d br
Hi, I just want to customize the labels username, password and password_again so far i created the module user php symfony propel:generate-module frontend user sfGuardUser but how do i proceed to cutomize the label if the lib/form class do not existe. Thank you celso --~--~-~--~

[symfony-users] Symfony 1.2 and sfguard

2009-05-13 Thread g0d br
Hi, I'd try to ask the same question in the forum. i have this erros when go to http://localhost/backend_dev.php/sfGuardUser *Strict Standards*: Non-static method genExtraListeners::listenToPreExecute() cannot be called statically in * /usr/share/php/symfony/event/sfEventDispatcher.class.php* on

[symfony-users] Re: Which IDE do you use?

2008-09-09 Thread g0d br
Eclipse PDT On Tue, Sep 9, 2008 at 9:36 AM, Kris Wallsmith <[EMAIL PROTECTED]>wrote: > > Textmate and vi. I'm also going to check out the latest version of Coda. > > Kris > > On Sep 9, 2008, at 3:48 AM, "markus.staab" <[EMAIL PROTECTED]> > wrote: > > > > > Eclipse PDT > > > > On 9 Sep., 12:35, "

[symfony-users] Re: dev x prod enviroment

2007-11-22 Thread g0d br
t; (.txt, .pdf, .etc). Look at the .htaccess file for details but you need > to set up special case in your .htaccess file to also pass .pdf to to > index.php > > Kupo > > g0d br wrote: > > i just found out that if i get the link result from > > > > File: >

[symfony-users] Re: dev x prod enviroment

2007-11-22 Thread g0d br
i just found out that if i get the link result from File: getFileId()) ?> and change download/system/arq/1195653085.pdf to download/system?arq= 1195653085.pdf it works why rounting is not working for this module ? 2007/11/22, g0d br <[EMAIL PROTECTED]>: > > when i click the l

[symfony-users] Re: dev x prod enviroment

2007-11-22 Thread g0d br
nks 2007/11/22, naholyr <[EMAIL PROTECTED]>: > > > When you that it's <>, what exactly are the symptoms ? > > On 21 nov, 19:29, "g0d br" <[EMAIL PROTECTED]> wrote: > > hi, > > > > i having an problem that i cant troubleshoot. >

[symfony-users] dev x prod enviroment

2007-11-21 Thread g0d br
hi, i having an problem that i cant troubleshoot. i am trying to do a file download through action download/test on dev mode frontend_dev.php works fine but on prod mode index.php is not working. i did change somethings like cache and log to see whats happening but no luck so far. can someone h

[symfony-users] Re: Setting up Symfony on a Shared-Host Server

2007-11-20 Thread g0d br
did you freeze the project? # symfony freeze 2007/11/20, [EMAIL PROTECTED] < [EMAIL PROTECTED]>: > > > Hi, > > I tried to set up Symfony on a shared-host server and used the > tutorial on > > http://trac.symfony-project.com/wiki > > After adapting all paths I anyhow came that far that no errors

[symfony-users] Re: shared hosting recommendations

2007-11-19 Thread g0d br
hi, try this link http://trac.symfony-project.com/wiki/HostsSupportingSymfony 2007/11/18, Bayarsaikhan [Singleton LLC] <[EMAIL PROTECTED]>: > > on symfony website, i mean. > > On 11/18/07, Bayarsaikhan [Singleton LLC] <[EMAIL PROTECTED]> > wrote: > > > > > > it would be nice if there is "Suggest

[symfony-users] Re: Moving Symfony

2007-11-16 Thread g0d br
there is a symfony.php inside project diretory 2007/11/16, slinky66 <[EMAIL PROTECTED]>: > > > Not sure.. Where does the symfony executable live? Is it not in /usr/ > lib/php? > We are using "regular" storage for sessions > On Nov 16, 10:37 am, Eno <[EMAIL PROTECTED]> wrote: > > On Nov 16, 10:27

[symfony-users] periodically_call_remote

2007-11-14 Thread g0d br
hi list, how do i show the time left to update using the periodically_call_remote() function? thank you -- http://zero-d.com.br/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to

[symfony-users] Re: Name of FK in list

2007-11-13 Thread g0d br
try this $tblcliente->getBairro()->getStrNomeBairro() 2007/11/12, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > > Hello! > I need help in this: > I got it: > > tblBairro: > intCodBairro PK > strNomeBairro VC(30) > > tblCliente: > intCodCliente PK > intCodBairro FK > strNomeCliente VC(50) > > this l

[symfony-users] Re: sfGuard Question

2007-11-08 Thread g0d br
try this $this->getUser()->getGuardUser()->getId() 2007/11/8, Jon Busby <[EMAIL PROTECTED]>: > > > How can I cleanly retrieve the User ID of a user? > > I've tried "$this->getUser()->getId()" but I get a "undefinted method > sfUser::getId" > > > -- > > Thanks, > > Jon Busby > JBtwo Web Developm

[symfony-users] Re: Ubuntu upgrade

2007-10-22 Thread g0d br
update: the same aplication on another server is running ok. others aplications on the same server is runnning ok. the problem seens to be always in views and partials only how to trobleshoothin this? thanks 2007/10/22, g0d br <[EMAIL PROTECTED]>: > > Hi, > > After ubunt

[symfony-users] Ubuntu upgrade

2007-10-22 Thread g0d br
Hi, After ubuntu's upgrade my dev enviroment get this times to show a page. Configuration131206.29Action "sistema/index"1617.76Database1312.78View "Success" for "sistema/index"126242.66Partial "sistema/_blocoSistema"1 25332.24Component "linkbar/sistema"11.26Partial "linkbar/_sistema"123.01Partial

[symfony-users] Re: sfSimpleCMS install problem

2007-09-11 Thread g0d br
plugin-install thanks 2007/9/10, Francois Zaninotto <[EMAIL PROTECTED]>: > > Is it latest version of the plugin from the plugin-install command line or > via SVN? > > 2007/9/10, g0d br <[EMAIL PROTECTED]>: > > > > its a new project and the schema file

[symfony-users] Re: sfSimpleCMS install problem

2007-09-10 Thread g0d br
have met this problem in the past, but I can't remember what the problem > was. Can you check that you use the latest (trunk) version of the plugin? > That you don't have an empty schema in your config/ file? That your project > directopry doesn't contain the word 'p

[symfony-users] Re: wanna give seminar but have no ideas

2007-09-10 Thread g0d br
Hi Stefan, Can you send me that list ? thank you 2007/9/10, Stefan Koopmanschap <[EMAIL PROTECTED]>: > > > Hi, > > I can send you a list of topics that we considered for SymfonyCamp: > > - Ajax/web2.0 > - form validation > - plugins (mainly a look at which plugins are available/popular) > - secu

[symfony-users] sfSimpleCMS install problem

2007-09-06 Thread g0d br
Hi, I've install sfGuard and build-model was ok then i install sfSimpleCMS and when i try to build the model i get this error [propel-sql] Processing: generated-sfGuardPlugin-schema.xml Execution of target "sql-template" failed for the following reason: /usr/share/php/symfony/vendor/propel-genera

[symfony-users] Re: Project wheel in the Linux more tá not twirling in the Windows

2007-08-31 Thread g0d br
oi altamiro vc ja tentou acessar a parte de developer no projeto para ver a mensagem de erro do symfony por exemplo frontend_dev.php flw 2007/8/30, Altamiro Rodrigues <[EMAIL PROTECTED]>: > > > It only sees I lowered the archive of the Symfony (sf_sandbox.tgz), I > created all > structure in the

[symfony-users] Re: sfGuard

2007-08-09 Thread g0d br
08.08.2007 um 21:18 schrieb g0d br: > > Hi, > > I'm trying to use an customized sfGuardAuth action to be called before > login. > i have the module and action ok but i dont know how to call it. > > Thanks > > -- &g

[symfony-users] sfGuard

2007-08-08 Thread g0d br
Hi, I'm trying to use an customized sfGuardAuth action to be called before login. i have the module and action ok but i dont know how to call it. Thanks -- http://zero-d.com.br/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

[symfony-users] symfony site

2007-07-25 Thread g0d br
this page http://www.symfony-project.com/book/trunk/10-Forms is fully of span comments... the page now is too slow -- http://zero-d.com.br/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. T

[symfony-users] Re: Deployment Method

2007-06-15 Thread g0d br
that's how i do: # symfony freeze # symfony sync production go # symfony unfreeze 2007/6/15, gestadieu <[EMAIL PROTECTED]>: > > > You can find the detail in the book online in chapter 16. But > basically once setup you just need to do a 'symfony sync production > go' and it will update your ser

[symfony-users] Re: Htmlentities

2007-05-10 Thread g0d br
database, > not when you put it in the database. > > But that's not what you asked, so I'll leave it at that! :] > > On May 8, 12:31 am, "g0d br" <[EMAIL PROTECTED]> wrote: > > Is there an way to apply htmlentities() to every input from form before &g

[symfony-users] Re: Htmlentities

2007-05-08 Thread g0d br
can you explain how can i get all form inputs in filters, i'm lost here. thanks 2007/5/8, g0d br <[EMAIL PROTECTED]>: > > hi, > > thanks i learning about filters now. > > celso > > 2007/5/7, Jonathan H. Wage <[EMAIL PROTECTED]>: > > > >

[symfony-users] Re: Htmlentities

2007-05-08 Thread g0d br
hi, thanks i learning about filters now. celso 2007/5/7, Jonathan H. Wage <[EMAIL PROTECTED]>: > > > I would write a custom filter and apply it to the filter chain. > > - Jon > > g0d br wrote: > > Is there an way to apply htmlentities() to ever

[symfony-users] Htmlentities

2007-05-07 Thread g0d br
Is there an way to apply htmlentities() to every input from form before save(). -- http://zero-d.com.br/ --~--~-~--~~~---~--~~ 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: Global functions

2007-04-26 Thread g0d br
Thank you all it works. 2007/4/26, Rimenes Ribeiro <[EMAIL PROTECTED]>: > > > Hello, > You could put it inside the directory "your_project/apps/your_app/lib" > or inside "your_project/lib" to became available to all of yours > applications. > Create a class in the file "yourClass.php" and pu

[symfony-users] Global functions

2007-04-26 Thread g0d br
Hello, I would like to know where do i put functions that i gonna use in diferents modules and actions? Thank you -- http://zero-d.com.br/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. T

[symfony-users] About Deployment

2007-04-20 Thread g0d br
Hello, I finally deploy an application to my webhost and i'm happy with that, i wanted to do it as simple as possible and symfony made it easy for me with rsync. i have to change somethings in production side. -> propel.ini -> databases.ini is there an way to set that change in production side a

[symfony-users] Re: Re : [symfony-users] Re: Problems with deployment

2007-04-18 Thread g0d br
> > MY_PLUGIN/web/* to /MY_PLUGIN/* > > > As one can see in your former mail, you did not copy these files in your > prod server. > > > - Frank > > > > Am 18.04.2007 um 16:41 schrieb g0d br: > > thats the problem as Loic suggest > > wrong path look the htm

[symfony-users] Re: Re : [symfony-users] Re: Problems with deployment

2007-04-18 Thread g0d br
is there any guide to setup an develop/prod enviroment ? 2007/4/18, g0d br <[EMAIL PROTECTED]>: > > thats the problem as Loic suggest > > wrong path look the html > > src="/sfPrototypePlugin/js/prototype.js"> > src="/sfNiftyPlugin/js/niftycube.

[symfony-users] Re: Re : [symfony-users] Re: Problems with deployment

2007-04-18 Thread g0d br
essage d'origine > De : g0d br <[EMAIL PROTECTED]> > À : symfony-users@googlegroups.com > Envoyé le : Mercredi, 18 Avril 2007, 16h23mn 47s > Objet : [symfony-users] Re: Problems with deployment > > yes all the files is there ... any suggestion please? > > >

[symfony-users] Re: Problems with deployment

2007-04-18 Thread g0d br
ss > images/ > bg_body.jpg > bg_sfTAlert.jpg > bg_sfTLock.jpg > bg_sfTMessage.jpg > icons/ > cancel48.png > colour16.png > db16.png > disabled48.png > edit16.png > folder16.png > linkOut16.png > lock48.png > ok48.png > reload16.png > tools48.png >

[symfony-users] Re: Problems with deployment

2007-04-18 Thread g0d br
your prod > server. > > You need to freeze your project so symfony all required files in the > project directory. > > Nautile > > On 18 avr, 14:46, "g0d br" <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm having problems to deploy an

[symfony-users] Problems with deployment

2007-04-18 Thread g0d br
Hi, I'm having problems to deploy an aplication to my webhost. I did run the command: #symfony freeze and transfer the whole application to the webhost but the prototype, javascripts or plugins working.. firefox's Javascript console says something like Effect is not defined. Thanks for any help

[symfony-users] Re: Brazilian Portuguese Documentation

2007-04-18 Thread g0d br
I can help a little bit. Eu posso ajudar um pouco meu inglês está + - 2007/4/18, m.l.albuquerque <[EMAIL PROTECTED]>: > > > Hi, everyone! > > I´m a brazilian developer. I want to help the local community by > translating the Symfony documentation to > brazilian portuguese (pt_BR). But, before a

[symfony-users] Working Beta and Development area

2007-04-16 Thread g0d br
Hi, I need help how to working (dev and test) locally with the aplication e commit to svn repository then checkout in some webhost as beta its need to function as my test workspace but diferent database. i did try to change config.php but symfony dont find some files. thanks Celso -- http://ze

[symfony-users] Re: Get elements from form

2007-04-05 Thread g0d br
save() > > foreach ($numbers as $number) { > $phone = new Phone(); > $phone->setUser($user); > $phone->setNumber($number); > $phone->save(); > } > [/code] > > and also in you model you should have this fixed: > > > > > >

[symfony-users] Get elements from form

2007-04-04 Thread g0d br
Hi, I build an form with dynamic elements, like the atachment system in Gmail: the data from this inputs are storage in another table with the foreign key. I am not sure how get data e save: somo code to explain: model>>> form action $user = new Use

[symfony-users] Re: Prototype Window Problem

2007-03-20 Thread g0d br
do get the solution for your problem? i have the same question; thanks 2007/3/12, Muhammad Asif Ali <[EMAIL PROTECTED]>: > > Hi > I am using the protorype Window plugin . Everything works > fine . I have some requirment. I am listing all the records and giving a > edit option

[symfony-users] Re: Ajax return array of data

2007-03-16 Thread g0d br
do > that with javascript. Write a function which request this array in a > serialized way, deserialize it, and use it for your purposes. I hope > i'm right because i never did that ... ;o) > > Michael > > > > On Mar 15, 1:24 pm, "g0d br" <[EMAIL PROTECTED]

[symfony-users] Ajax return array of data

2007-03-15 Thread g0d br
hi, i'm new to both symfony and ajax that's why i have this question. i use ajax to update one div inside page, works fine. i follow book's example to do that. question: how do i get array of data from external url not to show but to work with? thanks sample. page1.php (synfony) url_for('http:

[symfony-users] Re: Validators

2007-03-14 Thread g0d br
roject.com/book/trunk/10-Forms#Number%20Validator > [3] > http://www.symfony-project.com/book/trunk/10-Forms#Creating%20a%20Custom%20Validator > > > 2007/3/14, g0d br <[EMAIL PROTECTED]>: > > Hi, > > > > I'm trying to use validators forms and the examples

[symfony-users] Validators

2007-03-14 Thread g0d br
Hi, I'm trying to use validators forms and the examples from askeet works fine but how do i know all possibilities from them? ex. sfNumberValidator i can validate min and max lenght but what else can i do? thanks Celso Andrade -- http://zero-d.com.br/ --~--~-~--~~~--