Re: [symfony-users] sfWidgetFormInputFileEditable admin required file

2010-01-08 Thread g0d br
That works Daniel.

Thank You

On Fri, Jan 8, 2010 at 7:46 AM, Daniel Lohse
wrote:

> Set the validator for this specific field like this:
>
> $this->validatorSchema['imagem'] = new sfValidatorFile(array(
> 'required' => $this->isNew(),
> 'path' => ...
> ...
> ));
>
> 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 sfWidgetFormInputFileEditable for a backend form and when i edit
> the record with the image i have to choose the image file again otherwise i
> get required error for the file.
>
> the problem is that i don wanna change the file but every time i have to
> choose 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 error appears.
>>
>> Thanks
>>
>> Celso
>>
>>
>> On Fri, Dec 11, 2009 at 5:11 AM, Alexandru-Emil Lupu <
>> gang.al...@gmail.com> wrote:
>>
>>> When you get that required error? Better 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(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 BannerForm.class.php
>>>
>>> parent::configure();
>>>
>>> $this->widgetSchema['imagem'] = new
>>> sfWidgetFormInputFileEditable(array(
>>>   'label' => 'Imagem 630x288',
>>>   'file_src'  => '/uploads/banner/'.$this->getObject()->getImagem(),
>>>   'is_image'  => true,
>>>   'edit_mode' => !$this->isNew(),
>>>   'delete_label' => 'Remover imagem',
>>>   'template'  => '%file%%input%%delete%
>>> %delete_label%',
>>> ));
>>> /*
>>> $this->widgetSchema['imagem'] = new sfWidgetFormInputFile(array(
>>>   'label' => 'Imagem 630x288',
>>> ));
>>> */
>>>
>>> $this->validatorSchema['imagem'] = new sfValidatorFile(array(
>>>   'required'   => true,
>>>   'path'   => sfConfig::get('sf_upload_dir').'/banner',
>>>   'mime_types' => 'web_images',
>>> ));
>>>
>>> $this->validatorSchema['imagem_delete'] = new sfValidatorBoolean();
>>>
>>> What an my doing wrong here? this code i get from symfony docs.
>>>
>>> Thank You
>>>
>>>
>>> Celso
>>>
>>> --
>>> 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 at
>>> http://groups.google.com/group/symfony-users?hl=en.
>>>
>>>
>>> --
>>> 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 at
>>> http://groups.google.com/group/symfony-users?hl=en.
>>>
>>
>>
> --
> 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 at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>
> --
> 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 at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
-- 

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 at http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] sfWidgetFormInputFileEditable admin required file

2010-01-07 Thread g0d br
Hi,

I still having this problem.

Im using sfWidgetFormInputFileEditable for a backend form and when i edit
the record with the image i have to choose the image file again otherwise i
get required error for the file.

the problem is that i don wanna change the file but every time i have to
choose 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 error appears.
>
> Thanks
>
> Celso
>
>
> On Fri, Dec 11, 2009 at 5:11 AM, Alexandru-Emil Lupu  > wrote:
>
>> When you get that required error? Better 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(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 BannerForm.class.php
>>
>> parent::configure();
>>
>> $this->widgetSchema['imagem'] = new
>> sfWidgetFormInputFileEditable(array(
>>   'label' => 'Imagem 630x288',
>>   'file_src'  => '/uploads/banner/'.$this->getObject()->getImagem(),
>>   'is_image'  => true,
>>   'edit_mode' => !$this->isNew(),
>>   'delete_label' => 'Remover imagem',
>>   'template'  => '%file%%input%%delete%
>> %delete_label%',
>> ));
>> /*
>> $this->widgetSchema['imagem'] = new sfWidgetFormInputFile(array(
>>   'label' => 'Imagem 630x288',
>> ));
>> */
>>
>> $this->validatorSchema['imagem'] = new sfValidatorFile(array(
>>   'required'   => true,
>>   'path'   => sfConfig::get('sf_upload_dir').'/banner',
>>   'mime_types' => 'web_images',
>> ));
>>
>> $this->validatorSchema['imagem_delete'] = new sfValidatorBoolean();
>>
>> What an my doing wrong here? this code i get from symfony docs.
>>
>> Thank You
>>
>>
>> Celso
>>
>> --
>> 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 at
>> http://groups.google.com/group/symfony-users?hl=en.
>>
>>  --
>> 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 at
>> http://groups.google.com/group/symfony-users?hl=en.
>>
>
>
-- 

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 at http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] sfWidgetFormInputFileEditable admin required file

2009-12-11 Thread g0d br
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 error appears.

Thanks

Celso

On Fri, Dec 11, 2009 at 5:11 AM, Alexandru-Emil Lupu
wrote:

> When you get that required error? Better 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(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 BannerForm.class.php
>
> parent::configure();
>
> $this->widgetSchema['imagem'] = new
> sfWidgetFormInputFileEditable(array(
>   'label' => 'Imagem 630x288',
>   'file_src'  => '/uploads/banner/'.$this->getObject()->getImagem(),
>   'is_image'  => true,
>   'edit_mode' => !$this->isNew(),
>   'delete_label' => 'Remover imagem',
>   'template'  => '%file%%input%%delete%
> %delete_label%',
> ));
> /*
> $this->widgetSchema['imagem'] = new sfWidgetFormInputFile(array(
>   'label' => 'Imagem 630x288',
> ));
> */
>
> $this->validatorSchema['imagem'] = new sfValidatorFile(array(
>   'required'   => true,
>   'path'   => sfConfig::get('sf_upload_dir').'/banner',
>   'mime_types' => 'web_images',
> ));
>
> $this->validatorSchema['imagem_delete'] = new sfValidatorBoolean();
>
> What an my doing wrong here? this code i get from symfony docs.
>
> Thank You
>
>
> Celso
>
> --
> 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 at
> http://groups.google.com/group/symfony-users?hl=en.
>
>  --
> 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 at
> http://groups.google.com/group/symfony-users?hl=en.
>

--

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 at 
http://groups.google.com/group/symfony-users?hl=en.




[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 BannerForm.class.php

parent::configure();

$this->widgetSchema['imagem'] = new sfWidgetFormInputFileEditable(array(
  'label' => 'Imagem 630x288',
  'file_src'  => '/uploads/banner/'.$this->getObject()->getImagem(),
  'is_image'  => true,
  'edit_mode' => !$this->isNew(),
  'delete_label' => 'Remover imagem',
  'template'  => '%file%%input%%delete%
%delete_label%',
));
/*
$this->widgetSchema['imagem'] = new sfWidgetFormInputFile(array(
  'label' => 'Imagem 630x288',
));
*/

$this->validatorSchema['imagem'] = new sfValidatorFile(array(
  'required'   => true,
  'path'   => sfConfig::get('sf_upload_dir').'/banner',
  'mime_types' => 'web_images',
));

$this->validatorSchema['imagem_delete'] = new sfValidatorBoolean();

What an my doing wrong here? this code i get from symfony docs.

Thank You


Celso

--

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 at 
http://groups.google.com/group/symfony-users?hl=en.




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

2009-12-01 Thread g0d br
im sorry to hear that... but my next project i will start with doctrine for
sure.

Thanks all

On Tue, Dec 1, 2009 at 12:23 PM, Daniel Lohse
wrote:

> This will get messy very fast. Imagine only 20 categories and for this
> simple count, you'll already have 20 queries. Not good. :(
>
> Normally, you'd do a count on the category_id column and group by the same
> category_id column. So simple in SQL/Doctrine but so hard in Propel. :(
>
>
> Daniel
>
> On 2009-12-01, at 1/December, 2:58 PM, Gareth McCumskey wrote:
>
> First, you will always have a category with at least one product because
> you have set cascade on delete.
>
> For the second part, in your CategoryPeer class:
>
> public static function getProductCountPerCategory()
> {
>   //Get all categories
>   $category_obj_arr = self::doSelect(new Criteria());
>
>   //Get count of products per category
>   $product_per_category_count = array();
>
>   foreach ($category_obj_arr as $category_obj)
>   {
> $product_c = new Criteria();
> $product_c->add(ProductPeer::CATEGORY_ID, $category_obj->getId());
> $product_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 performance improvements
> NOT using switching away from joins.
>
> On Tue, Dec 1, 2009 at 2:56 PM, g0d br  wrote:
>
>> 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: varchar(100), required: true, index: unique }
>>
>> i want to retrieve all categories that have a least one product and i want
>> to show how many products each category.
>>
>> thank you.
>>
>> Celso
>>
>> ps. sorry about my english i dont know if the question is understandable.
>>
>> --
>> 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 at
>> http://groups.google.com/group/symfony-users?hl=en.
>>
>
>
>
> --
> Gareth McCumskey
> http://garethmccumskey.blogspot.com
> twitter: @garethmcc
>
> --
> 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 at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>  --
> 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 at
> http://groups.google.com/group/symfony-users?hl=en.
>

--

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 at 
http://groups.google.com/group/symfony-users?hl=en.




[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: varchar(100), required: true, index: unique }

i want to retrieve all categories that have a least one product and i want
to show how many products each category.

thank you.

Celso

ps. sorry about my english i dont know if the question is understandable.

--

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 at 
http://groups.google.com/group/symfony-users?hl=en.




[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

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 line *77*

*Strict Standards*: Non-static method
genExtraListeners::listenToPreExecute() cannot be called statically in *
/usr/share/php/symfony/event/sfEventDispatcher.class.php* on line *77*

*Warning*: Cannot modify header information - headers already sent by
(output started at
/usr/share/php/symfony/event/sfEventDispatcher.class.php:77) in *
/usr/share/php/symfony/response/sfWebResponse.class.php* on line *335*

*Warning*: Cannot modify header information - headers already sent by
(output started at
/usr/share/php/symfony/event/sfEventDispatcher.class.php:77) in *
/usr/share/php/symfony/response/sfWebResponse.class.php* on line *349*


thanks for any help.

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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, "Dmitry Nesteruk" <[EMAIL PROTECTED]> wrote:
> >> Eclipse
> >>
> >> 2008/9/9 danielwinter <[EMAIL PROTECTED]>
> >>
> >>
> >>
> >>
> >>
> >>> I love my PhpEd - SFTP sync, SSH terminals, code folding, (symfony)
> >>> code insight, code templates (with hot-keys), debugging, profiling,
> >>> code navigation and completion (even for HTML tags), integrated
> >>> custom
> >>> CHM help files
> >>
> >>> Not the cheapest but IMHO the best.
> >>
> >>> On Sep 9, 4:13 pm, Sumedh <[EMAIL PROTECTED]> wrote:
>  I don't think we have a feature of poll here...?
> >>
>  Thought would help to know what are people generally using for
>  symfony
>  projects...
> >>
>  I am using Eclipse PDT so far...but it's crashing every hour since
>  yesterday...so don't know what to do... :(- Zitierten Text
>  ausblenden -
> >>
> >> - Zitierten Text anzeigen -
> > >
>
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: dev x prod enviroment

2007-11-22 Thread g0d br
Kiril,
you right thats the problem, but i dont known much about .htaccess file so i
did this:

File:  'arq='.$sy->getFileId()) ?>

thank you


2007/11/22, Kiril Angov <[EMAIL PROTECTED]>:
>
>
> Because the .htaccess files does not pass requests with file extension
> (.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:  > 'download/system?arq='.$sy->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] <mailto:[EMAIL PROTECTED]>>:
> >
> > when i click the link to download it shows 404 not found page
> >
> > File:  > 'download/system?arq='.$sy->getFileId()) ?>
> >
> >
> >   Not Found
> >
> > The requested URL /download/system/arq/1195653085.pdf was not
> > found on this server.
> >
> >
> 
> > Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6 Server at
> > intranet.projetos Port 80
> >
> >
> >
> > thanks
> >
> >
> >
> > 2007/11/22, naholyr <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
> >
> >
> > When you that it's <>, what exactly are the
> > symptoms ?
> >
> > On 21 nov, 19:29, "g0d br" < [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> > > 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 help me?
> > >
> > > thank you
> > >
> > > -- http://zero-d.com.br/
> >
> >
> >
> >
> > --
> >
> > http://zero-d.com.br/ <http://zero-d.com.br/>
> >
> >
> >
> >
> > --
> > http://zero-d.com.br/
> > >
>
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 link to download it shows 404 not found page
>
> File:  'download/system?arq='.$sy->getFileId()) ?>
>
> Not Found
>
> The requested URL /download/system/arq/1195653085.pdf was not found on
> this server.
> --
> Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6 Server at intranet.projetos Port
> 80
>
>
>
> thanks
>
>
>
> 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.
> > >
> > > 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 help me?
> > >
> > > thank you
> > >
> > > -- http://zero-d.com.br/
> > > >
> >
>
>
> --
> http://zero-d.com.br/
>



-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: dev x prod enviroment

2007-11-22 Thread g0d br
when i click the link to download it shows 404 not found page

File: getFileId()) ?>

Not Found

The requested URL /download/system/arq/1195653085.pdf was not found on this
server.
--
Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6 Server at intranet.projetos Port 80



thanks



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.
> >
> > 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 help me?
> >
> > thank you
> >
> > --http://zero-d.com.br/
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 help me?

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 this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 occur
> anymore. But nothing else happens. I can see only a white site.
>
> Has anyone an idea what could be the problem?
> Or is there anybody else who set up symfony on a shared host server?
> Maybe this person would like to share his experiences with me in icq
> or via email.
>
> Thanks a lot,
> Chris
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 "Suggested Hosting" part in symfony
> > project.
> >
> >
> > On 11/18/07, Jonathan Bryan < [EMAIL PROTECTED]> wrote:
> > >
> > >
> > > I've been using a company called Wesh. ( http://www.wesh.co.uk/) Their
> > > servers are lightening fast and they're always really quick to reply
> > > to
> > > any support queries (literally just a few minutes). And in a rush, you
> > > can just call them and speak to someone straight away.
> > >
> > > They've accomodated me in every way. for instance, changing server
> > > when
> > > I wanted a different php version. Always quickly, without fuss and at
> > > no
> > > extra cost.
> > >
> > > The only problem is that if you want to use ssh, you need to take the
> > > semi-dedicated package which is a bit more expensive than normal
> > > shared
> > > hosting. Also you have more limited disk space than other, cheaper
> > > shared hosting like dreamhost. But the servers are simply much faster
> > > and the support much better than I've experienced with any other
> > > shared
> > > hosting.
> > >
> > > I'm extremely happy with them.
> > >
> > > Regards, Jonathan
> > >
> > >
> > > Brian Hoke wrote:
> > > > Any recommendations on shared, monthly-fee symfony hosting with
> > > which
> > > > folks have had good luck?
> > > >
> > > > ~Brian
> > > >
> > > > --
> > > > Brian P. Hoke
> > > > Bentley & Hoke LLC
> > > > 315-446-2300
> > > > www.bentleyhoke.com < http://www.bentleyhoke.com>
> > > > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> > --
> > Bayarsaikhan VOLODYA
> > General Director
> > Singleton LLC
> > Cell : 99779919
> > Web: www.singleton.mn
>
>
>
>
> --
> Bayarsaikhan VOLODYA
> General Director
> Singleton LLC
> Cell : 99779919
> Web: www.singleton.mn
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 am, slinky66 <[EMAIL PROTECTED]> wrote:
> >
> > > 1) symfony command line tool does not work for example "symfony cc"
> > > from within the application folder now comes back with this: "bash:
> > > symfony: command not found"
> >
> > Maybe symfony isn't installed? Or its not in your path? Are you not
> > using "symfony freeze" before deploying? (If you are, you should
> > prefix all symfony commands with "php ", i.e. "php symfony cc").
> >
> > > 2) Certain dynamic parts of the site (account registration & shopping
> > > cart) are extremely slow and some times even time out.
> >
> > Are you using "regular" storage for sessions or a database?
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 line get the serial of tblBairro in tblCliente:" link_to($tblcliente->getIntcodbairro() ? $tblcliente-
> >getIntcodbairro() : __('-'), 'cliente/edit?intcodcliente='.
> $tblcliente->getIntcodcliente()) ?>"
>
> I need the column strNomeBairro instead of intCodBairro.
>
> Thx and srry my bad English.
>
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 Development
>
> Mobile :: +44 (0)7834 22 8887
> Office :: +44 (0)208 0900 351
>
> http://www.jbtwo.com
>
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 ubuntu's upgrade my dev enviroment get this times to show a page.
>
> Configuration 131206.29Action "sistema/index"1 617.76Database1312.78View
> "Success" for "sistema/index" 126242.66Partial "sistema/_blocoSistema" 1
> 25332.24Component "linkbar/sistema"1 1.26Partial 
> "linkbar/_sistema"123.01Partial "sistema/_incluirNoticiaSistema"
> 18.71Component "home/atalhosHome" 127.55Partial "home/_atalhosHome" 
> 14.07Component
> "mensagem/texto"1 7.13Partial "mensagem/_texto"10.79
> i'd try to clear cache and look for logs but no luck so far.
>
> thanks for help
>
>
> --
> http://zero-d.com.br/




-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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
"sistema/_incluirNoticiaSistema"18.71Component "home/atalhosHome"127.55Partial
"home/_atalhosHome"14.07Component "mensagem/texto"17.13Partial
"mensagem/_texto"10.79
i'd try to clear cache and look for logs but no luck so far.

thanks for help


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 is empty
> >
> > installed plugins are sfguard and simplecms. both latest version.
> >
> >
> >
> > 2007/9/7, Francois Zaninotto < [EMAIL PROTECTED]>:
> > >
> > > No, it seems that there was an error during schema conversion. The
> > > plugin will probably not work.
> > >
> > > I 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 'plugin' ?
> > >
> > > François
> > >
> > > 2007/9/6, g0d br <[EMAIL PROTECTED]>:
> > > >
> > > > 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-generator/build- propel.xml:187:1:
> > > > No package found for database "" in generated-schema.xml. The
> > > > propel.packageObjectModel property requires the package attribute to
> > > > be set for each database.
> > > > [phingcall] /usr/share/php/symfony/vendor/propel-generator/build-
> > > > propel.xml:187:1: No package found for database "" in
> > > > generated-schema.xml. The propel.packageObjectModel property
> > > > requires the package attribute to be set for each database.
> > > >
> > > > them i open propel.ini file and change propel.packageObjectModel  =
> > > > true to false now build-model works.
> > > >
> > > > is ok to do that? i goona have some problem because that change?
> > > >
> > > >
> > > > thanks
> > > >
> > > > Celso
> > > >
> > > > --
> > > > http://zero-d.com.br/
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> > --
> > http://zero-d.com.br/
> >
> >
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfSimpleCMS install problem

2007-09-10 Thread g0d br
its a new project and the schema file is empty

installed plugins are sfguard and simplecms. both latest version.



2007/9/7, Francois Zaninotto <[EMAIL PROTECTED]>:
>
> No, it seems that there was an error during schema conversion. The plugin
> will probably not work.
>
> I 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 'plugin' ?
>
> François
>
> 2007/9/6, g0d br <[EMAIL PROTECTED]>:
> >
> > 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-generator/build- propel.xml:187:1:
> > No package found for database "" in generated-schema.xml. The
> > propel.packageObjectModel property requires the package attribute to be
> > set for each database.
> > [phingcall] /usr/share/php/symfony/vendor/propel-generator/build-
> > propel.xml:187:1: No package found for database "" in
> > generated-schema.xml. The propel.packageObjectModel property requires
> > the package attribute to be set for each database.
> >
> > them i open propel.ini file and change propel.packageObjectModel  = true
> > to false now build-model works.
> >
> > is ok to do that? i goona have some problem because that change?
> >
> >
> > thanks
> >
> > Celso
> >
> > --
> > http://zero-d.com.br/
> >
> >
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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)
> - security
> - propel vs doctrine
> - framework bridge (combining symfony with zend framework or
> ezComponents)
>
> And of course, check the program at www.symfonycamp.com to see what we
> ended up doing.
>
> There's lots of topics that you can talk about when discussing
> symfony. :)
>
> Stefan
>
> On Sep 9, 5:20 pm, nitin <[EMAIL PROTECTED]> wrote:
> > I m in final year IT branch student.I wanna give seminar on
> > symfony.But don't have enough idea to deal with.what should i do?
>
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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-generator/build-propel.xml:187:1: No
package found for database "" in generated-schema.xml. The
propel.packageObjectModel property requires the package attribute to be set
for each database.
[phingcall] 
/usr/share/php/symfony/vendor/propel-generator/build-propel.xml:187:1:
No package found for database "" in generated-schema.xml. The
propel.packageObjectModel property requires the package attribute to be set
for each database.

them i open propel.ini file and change propel.packageObjectModel  = true to
false now build-model works.

is ok to do that? i goona have some problem because that change?


thanks

Celso

-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 Linux until ai everything tranquilo, only that I was
> to make a test of
> project that I created in the Linux pra to see if would go to twirl
> without problem in
> Windows alone that when it was to have access in the Browser did not
> appear nothing is
> all white in the screen. Somebody knows what it can be?
>
> I am testing in the Windows with APACHE.
>
> All the configurations of the bank are equal in the two systems.
>
> Altamiro Rodrigues
> GTalk / MSN / E-mail: [EMAIL PROTECTED]
> http://www.altamiro.info
> Linux user # 450636
> Ubuntu registered user # 16474
>
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfGuard

2007-08-09 Thread g0d br
Yes, you are right.

Thanks



2007/8/8, Frank Stelzer <[EMAIL PROTECTED]>:
>
> You can link to the customized action, where you handle your customized
> stuff and after everything went fine you can forward to the normal login
> action of the plugin.
> - Frank
>
> Am 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
>
> --
> http://zero-d.com.br/
>
>
>
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 server.
> Gerald
>
>
> On Jun 15, 11:52 pm, "Rafael George" <[EMAIL PROTECTED]> wrote:
> > Is there some fast and good method for making sync with a hosting
> > provider of a local Symfony app.
> >
> > The application is no my local subversion server and i use my machine
> > as my dev server, im thinking in having a branch for the stable
> > version and trunk will be for unstable after i made changes to the
> > trunk and merge it to the stable one, i want to deploy the app to my
> > hosting provider in a clean way.
> >
> > Can somebody give me some suggestions for making this?
> >
> > Thanks in advance.
> > --
> > Grimoire Guru
> > SourceMage GNU/Linux
>
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Htmlentities

2007-05-10 Thread g0d br
actually, now that i getting into the problem i dont know if i need
htmlentities because the problem seems to be charset..

some words in the database got stranges symbols


2007/5/9, notjosh <[EMAIL PROTECTED]>:
>
>
> To me, you should htmlentities() when you extract *from* the 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
> > save().
> >
> > --http://zero-d.com.br/
>
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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]>:
> >
> >
> > 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 every input from form
> > > before save().
> > >
> > >
> > >
> > > --
> > > http://zero-d.com.br/
> > > >
> >
> > > >
> >
>
>
> --
> http://zero-d.com.br/
>



-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 every input from form
> > before save().
> >
> >
> >
> > --
> > http://zero-d.com.br/
> > >
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 put your functions in it.
>
>   Usage: yourClass::yourFunction();
>
> Rimenes Ribeiro.
>
> > 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/
> >
> > >
> >
>
>
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 as for PHP version?
(php.yml)

Thank you

Celso





link that help-me:
http://www.symfony-project.com/book/trunk/16-Application-Management-Tools#Deploying%20Applications
-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



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

2007-04-18 Thread g0d br
i'm sorry that i did mention it.
thank you now working.

2007/4/18, Frank Stelzer <[EMAIL PROTECTED]>:
>
> You did not mention, that you use prototype with this plugin.
> The pathes are ok, you have to copy all the web/* data out of your plugins
> in your web root.
>
> 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 html
>
>  src="/sfPrototypePlugin/js/prototype.js">
>  src="/sfNiftyPlugin/js/niftycube.js">
>  src="/sfPrototypePlugin/js/builder.js">
>  src="/sfPrototypePlugin/js/effects.js">
>
>
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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.js">
>  src="/sfPrototypePlugin/js/builder.js">
>  src="/sfPrototypePlugin/js/effects.js">
>
>
>
> 2007/4/18, Loïc Vernet <[EMAIL PROTECTED]>:
> >
> > Well check the html code to see what are the path of the javascript
> > files... and then search the files ont your server too see what's wrong
> >
> > - Message 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?
> >
> >
> >
> > --
> > Découvrez une nouvelle façon d'obtenir des réponses à toutes vos
> > questions ! Profitez des connaissances, des opinions et des expériences des
> > internautes sur Yahoo! 
> > Questions/Réponses<http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>
> > .
> > > >
> >
>
>
> --
> http://zero-d.com.br/
>



-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



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

2007-04-18 Thread g0d br
thats the problem as Loic suggest

wrong path look the html








2007/4/18, Loïc Vernet <[EMAIL PROTECTED]>:
>
> Well check the html code to see what are the path of the javascript
> files... and then search the files ont your server too see what's wrong
>
> - Message 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?
>
>
>
> --
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions
> ! Profitez des connaissances, des opinions et des expériences des
> internautes sur Yahoo! 
> Questions/Réponses<http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>
> .
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Problems with deployment

2007-04-18 Thread g0d br
.png
> header.gif
> logo_sm_darkbg.gif
> new_f2.png
> paste_f2.png
> save_f2.png
> trash.png
> version.gif
> version.png
> index.php
> js/
> robots.txt
> uploads/
> assets/
>  sf/
> calendar/
> calendar-setup.js
> calendar-system.css
> calendar.js
> lang/
> calendar-af.js
> calendar-bg.js
> calendar-ca.js
> calendar-cs.js
> calendar-da.js
> calendar-de.js
> calendar-el.js
> calendar-en.js
> calendar-es.js
> calendar-eu.js
> calendar-fi.js
> calendar-fr.js
> calendar-he.js
> calendar-hr.js
> calendar-hu.js
> calendar-it.js
> calendar-ja.js
> calendar-ko.js
> calendar-lt.js
> calendar-lv.js
> calendar-nl.js
> calendar-no.js
> calendar-pl.js
> calendar-pt.js
> calendar-pt_BR.js
> calendar-ro.js
> calendar-ru.js
> calendar-sk.js
> calendar-sl.js
> calendar-sq.js
> calendar-sr.js
> calendar-sv.js
> calendar-tr.js
> calendar-zh.js
> skins/
> aqua/
> active-bg.gif
> dark-bg.gif
> hover-bg.gif
> menuarrow.gif
> normal-bg.gif
> rowhover-bg.gif
> status-bg.gif
> theme.css
> title-bg.gif
> today-bg.gif
> prototype/
> css/
> input_auto_complete_tag.css
> js/
> builder.js
> controls.js
> dragdrop.js
> effects.js
> index.html
> prototype.js
> scriptaculous.js
> slider.js
> unittest.js
> sf_admin/
> css/
> main.css
> images/
> add.png
> cancel.png
> date.png
> default_icon.png
> delete.png
> delete_icon.png
> edit.png
> edit_icon.png
> error.png
> filter.png
> first.png
> help.png
> last.png
> list.png
> next.png
> ok.png
> previous.png
> reset.png
> save.png
> tick.png
> js/
> collapse.js
> double_list.js
> sf_default/
> css/
> ie.css
> pngfix.htc
> screen.css
> 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
> sfTLogo.png
> trans.gif
> sf_web_debug/
> css/
> main.css
> images/
> close.png
> comment.png
> config.png
> database.png
> error.png
> info.png
> memory.png
> reload.png
> sf.png
> time.png
> toggle.gif
> warning.png
> js/
> main.js
> = SCHNAPP ===
>
>
> You see prototype stuff is in:
>
> web/sf/prototype/*
>
>
>
> - Frank
>
>
>
> Am 18.04.2007 um 15:11 schrieb g0d br:
>
> thanks but i did that... the webhost is dreamhost
>
> there is a place to set where is JS?
>
>
>
> 2007/4/18, [EMAIL PROTECTED] < [EMAIL PROTECTED]>:
> >
> >
> > I suppose that you have installed symfony with PEAR, so prototype and
> > scrip.aculo.us are in the PEAR directory, which is not on 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 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
> > >
> > > --http://zero-d.com.br/
> >
> >
> >
> >
> >
>
>
> --
> http://zero-d.com.br/
>
>
>
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Problems with deployment

2007-04-18 Thread g0d br
thanks but i did that... the webhost is dreamhost

there is a place to set where is JS?



2007/4/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
>
> I suppose that you have installed symfony with PEAR, so prototype and
> scrip.aculo.us are in the PEAR directory, which is not on 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 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
> >
> > --http://zero-d.com.br/
>
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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

-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 start the job, I´d like to
> know if there is someone doing the work.
> If not, who wants to help? If yes, where do I sign? :-)
>
> Cheers!
>
> Márcio Albuquerque
> ==
> Requirement and Development Analyst - SERPRO
> SUPSC / SCSDR (provisório)
> SUPSC / SCFLA / SCCED
> Coord. GPES Local - SCFLA
> ==
>
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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://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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Get elements from form

2007-04-05 Thread g0d br
thank you that's what i need

2007/4/4, Kiril Angov <[EMAIL PROTECTED]>:
>
>
> [code]
> $numbers = $this->getRequestParameter("number");
>
> $user = new User();
> $user->setName($this->getRequestParameter('username'));
> $user->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:
>
> 
> 
> 
>
> Note that the foreign table is "user" not "municipe"
>
> Kiril
> g0d br wrote:
> > 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>>>
> >
> > 
> >> autoIncrement="true" />
> >   
> >   
> > 
> >   
> >   
> > 
> >
> > 
> >> autoIncrement="true" />
> >   
> > 
> >
> > form>>>>
> > 
> > 
> >  > 'create_form_element_number()'') ?>
> >
> > action >>>>
> > $user = new User();
> > $user->setName($this->getRequestParameter('username));
> > --->>> here is my problem... how a get all numbers form form if any
> > and save
> > $user->save();
> >
> > thanks for any help... sorry about my english
> >
> >
> > --
> > http://zero-d.com.br/ <http://zero-d.com.br/>
> > >
>
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 User();
$user->setName($this->getRequestParameter('username));
--->>> here is my problem... how a get all numbers form form if any and save
$user->save();

thanks for any help... sorry about my english


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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 to the user. The edit page will open in new window using
> Prototype window. After updating the record i want to close the window
> automatically and the parent window should be refreshed. How can i do this.
> I hope somebody have already done it. so plz give me the
> solution.
>  Thanx
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



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

2007-03-16 Thread g0d br
Michel, thanks for your replay.

you are rigth about serialize/deserialize.
i make xml with php simplexml class and send to symfony and now working.

thanks again

Celso


ps. sorry i can't write speak very well

2007/3/16, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
>
> Could you explain why you want to do that (what do you want to
> achieve)? And an important question is HOW you want to process (work
> with) that array on client side? With PHP? Then you misunderstood
> something ...
>
> If you want to process further any data on client side you should 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]> wrote:
> > 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)
> >  > array(
> >   'url'  => url_for('http://www.external.link.com/index.php',
> true),
> >   'with' => "'cep=' + $('cep').value",
> >   'update'  => 'cep_info',
> >   'loading' =>  visual_effect('appear', 'indicator').
> > visual_effect('highlight', 'indicator',
> > array('duration' => 1.5)),
> >   'complete'  =>  visual_effect('fade', 'indicator'),
> >   'success' =>  visual_effect('appear', 'cep_info').
> > visual_effect('highlight', 'cep_info',
> > array('duration' => 1.5)),
> >   'script' => true,
> >   )
> > ) ?>
> >   waiting...
> >   
> >
> > index.php (external, not symfony)
> >  > $var = array('test' => '1');
> > return $var;
> > ?>
> >
> > --http://zero-d.com.br/
>
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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://www.external.link.com/index.php', true),
  'with' => "'cep=' + $('cep').value",
  'update'  => 'cep_info',
  'loading' =>  visual_effect('appear', 'indicator').
visual_effect('highlight', 'indicator',
array('duration' => 1.5)),
  'complete'  =>  visual_effect('fade', 'indicator'),
  'success' =>  visual_effect('appear', 'cep_info').
visual_effect('highlight', 'cep_info',
array('duration' => 1.5)),
  'script' => true,
  )
) ?>
  waiting...
  

index.php (external, not symfony)
 '1');
return $var;
?>

-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Validators

2007-03-14 Thread g0d br
thank you all.


2007/3/14, Marc Torres <[EMAIL PROTECTED]>:
>
>
> I think there are no more options for this validator in particular:
>
> * From: [1]
> # sfNumberValidator: sfNumberValidator verifies a parameter is a
> number and allows you to apply size constraints.
>
>
>  From: [2]
> Number Validator
>
> sfNumberValidator verifies if a parameter is a number and allows you
> to apply size constraints.
>
> sfNumberValidator:
>   nan_error:Please enter an integer
>   min:  0
>   min_error:The value must be more than zero
>   max:  100
>   max_error:The value must be less than 100
>
> ***
>
> But you can write your own validator if you want [3].
>
>
> [1] http://www.symfony-project.com/api/symfony/validator/sfValidator.html#
> [2] http://www.symfony-project.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 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/
> >  >
> >
>
>
> --
> "Only after the last tree has been cut down.
> Only after the last river has been poisoned.
> Only after the last fish has been caught.
> Only then, will you find that money cannot be eaten."
>
> >
>


-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[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/

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---