[symfony-users] little problem with bind function

2009-12-16 Thread Abraham
Hello people... i'm having troubles with bind function ... there's a
form i've embedded called Tercero, that subform has to have the id of
the main form, but as i'm creating a new main form, there's no main id
yet. So i go to the bind function and code this

bind(){
...
$t = new Tercero();
$t->setArray($taintedValues["Tercero"]);
$t->setSiniestro($this->getObject());
$this->embedForm('Terc', new TerceroForm($t));
...
}

But after clicking "save" the Terc subform appears empty (the Terc
form has many of its fields with errors like "required." instead of
grabbing things from 'Tercero' subform) :S so i think that the "$t-
>setArray($taintedValues["Tercero"]);" line is not working, but that
method worked for me before in a similar situation. What can i do?

--

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] Help A Newbie! sfdoctrineapply - setting group id upon registration

2009-12-16 Thread Alexandru-Emil Lupu
Override the save method in your sfGuardUser class. Sf creates 3 files in
the case of the plugins. A base class, a plugin class and the instantiated
class
I will be more verbose in around 1 hour

sent via htc magic

On Dec 17, 2009 5:33 AM, "Billy Paradise"  wrote:

Hi all,

I've been spinning for a few hours on this - admittedly I'm a very
junior programmer at this point.  Could you please point me in the
direction so I can auto-assign all new registrations through /apply to
sfGuardUserGroup 1 (for example)? I have different classes of user,
and all auto-created users need to be be given a group, rather than
left as NULL.

I believe the magic happens in apps/frontend/modules/sfApply/lib/
BasesfApplyActions.class.php, in  the executeApply function.

Thanks!

--

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] Re: Question about link_to_remote: 'complete' option

2009-12-16 Thread DEEPAK BHATIA
This means your javascript code is not getting executed.

On Wed, Dec 16, 2009 at 11:14 PM, tirengarfio  wrote:

> I have this:
>
>   function myfuncion1()
>  {
>   alert('Test');
>  }
> ") ?>
>
> 
>
>
>
>'url' => 'mensaje/cambiarEstadoLeido',
>
>'update' => 'message_1',
>
>'complete' => 'myfunction1()',
>
>'loading' => visual_effect(''),
>
>'complete'=> visual_effect(''),
>
>)); ?>
>
>
> 
>
> The javascript window with the word "Test" is not showed after
> clicking on the link.
>
> Javi
>
>
>
>
> On Dec 16, 3:33 pm, DEEPAK BHATIA  wrote:
> > try putting alert("Test") in front of it.
> >
>  > On Wed, Dec 16, 2009 at 6:40 PM, tirengarfio 
> wrote:
> > > Thanks Deepak, but it didn't work..
> >
> > > Javi
> >
> > > On Dec 16, 1:42 pm, DEEPAK BHATIA  wrote:
> > > > Try this
> >
> > > >  'complete' =>
> > > > "document.getElementById('message_1').className('read_message')",
> >
> > >  > On Mon, Dec 14, 2009 at 5:38 PM, tirengarfio  >
> > > wrote:
> > > > > Hi,
> >
> > > > > i want to change the class of a  after clicking a link. In the
> > > > > same time i would like to execute a symfony action. For that, im
> using
> > > > > link_to_remote this way:
> >
> > > > > 
> >
> > > > >Message's content
> >
> > > > >
> >
> > > > >  > > > >'url' =>
> 'mensaje/cambiarEstadoLeido,
> >
> > > > >'update' => 'message_1',
> >
> > > > >'complete' =>
> 'document.getElementById
> > > > > ("message_1").className("read_message");',
> >
> > > > >)); ?>
> >
> > > > >
> >
> > > > > 
> >
> > > > > My problem: after clicking on the link the class of the div doesn't
> > > > > change...
> >
> > > > > I don't have any problem using link_to_function and a .js file.
> >
> > > > > Any idea?
> >
> > > > > Regards
> >
> > > > > Javi
> >
> > > > > --
> >
> > > > > 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.




[symfony-users] Help A Newbie! sfdoctrineapply - setting group id upon registration

2009-12-16 Thread Billy Paradise
Hi all,

I've been spinning for a few hours on this - admittedly I'm a very
junior programmer at this point.  Could you please point me in the
direction so I can auto-assign all new registrations through /apply to
sfGuardUserGroup 1 (for example)? I have different classes of user,
and all auto-created users need to be be given a group, rather than
left as NULL.

I believe the magic happens in apps/frontend/modules/sfApply/lib/
BasesfApplyActions.class.php, in  the executeApply function.

Thanks!

--

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] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-16 Thread Stéphane
You can also install subversion client (svn-client or tortoise) and try "svn
co http://svn.symfony-project.com/plugins/ysfYUIPlugin/path/to/your/plugins/dir";
in cmd line or right-click>tortoise>checkout or
maybe playing with svn prop:external(s) in your plugins dir ?

If think this can work afaik.


Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!


2009/12/16 Stéphane 

> Hi,
>
> Try in command line "pear download $package_url" ?
>
> Before Printing, Think about Your Environmental Responsibility!
> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
>
> 2009/12/16 Marco V. 
>
>> How can I do?
>> Everytime that I write in cli symfony plugin:install ysfYUIPlugin, it
>> return me this message "No release
>> available for plugin "ysfYUIPlugin"" and also many function
>> deprecated.
>>
>> On 16 Dic, 19:55, Alexandru-Emil Lupu  wrote:
>> > Why don't u try to download the pear package, if any?
>> >
>> > sent via htc magic
>> >
>> > On Dec 16, 2009 7:20 PM, "Marco V."  wrote:
>> >
>> > Sorry, can someone give me the link for downloading "ysfYUIPlugin"?
>> > Because I download  it from this link:
>> http://svn.symfony-project.org/plugins/ysfYUIPlugin/branches/1.3/
>> > but now i checked all folders and i have noticed that this package is
>> > incomplete compared
>> > to this package:
>> http://trac.symfony-project.org/browser/plugins/ysfYUIPlugin/trunk?re...
>> > For example in first package there aren't the helpers, the config
>> > files in config folder, etc...
>> > I tried to download the second link, but I was not able. :(
>> > Is this my problem? How I can download the folder at second link?
>> > Help!!! :( :(
>> >
>> > On 16 Dic, 16:40, "Marco V."  wrote: > My
>> > ProjectConfiguration class conta...
>>
>> --
>>
>> 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] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-16 Thread Stéphane
Hi,

Try in command line "pear download $package_url" ?

Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!


2009/12/16 Marco V. 

> How can I do?
> Everytime that I write in cli symfony plugin:install ysfYUIPlugin, it
> return me this message "No release
> available for plugin "ysfYUIPlugin"" and also many function
> deprecated.
>
> On 16 Dic, 19:55, Alexandru-Emil Lupu  wrote:
> > Why don't u try to download the pear package, if any?
> >
> > sent via htc magic
> >
> > On Dec 16, 2009 7:20 PM, "Marco V."  wrote:
> >
> > Sorry, can someone give me the link for downloading "ysfYUIPlugin"?
> > Because I download  it from this link:
> http://svn.symfony-project.org/plugins/ysfYUIPlugin/branches/1.3/
> > but now i checked all folders and i have noticed that this package is
> > incomplete compared
> > to this package:
> http://trac.symfony-project.org/browser/plugins/ysfYUIPlugin/trunk?re...
> > For example in first package there aren't the helpers, the config
> > files in config folder, etc...
> > I tried to download the second link, but I was not able. :(
> > Is this my problem? How I can download the folder at second link?
> > Help!!! :( :(
> >
> > On 16 Dic, 16:40, "Marco V."  wrote: > My
> > ProjectConfiguration class conta...
>
> --
>
> 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] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-16 Thread Marco V.
How can I do?
Everytime that I write in cli symfony plugin:install ysfYUIPlugin, it
return me this message "No release
available for plugin "ysfYUIPlugin"" and also many function
deprecated.

On 16 Dic, 19:55, Alexandru-Emil Lupu  wrote:
> Why don't u try to download the pear package, if any?
>
> sent via htc magic
>
> On Dec 16, 2009 7:20 PM, "Marco V."  wrote:
>
> Sorry, can someone give me the link for downloading "ysfYUIPlugin"?
> Because I download  it from this 
> link:http://svn.symfony-project.org/plugins/ysfYUIPlugin/branches/1.3/
> but now i checked all folders and i have noticed that this package is
> incomplete compared
> to this 
> package:http://trac.symfony-project.org/browser/plugins/ysfYUIPlugin/trunk?re...
> For example in first package there aren't the helpers, the config
> files in config folder, etc...
> I tried to download the second link, but I was not able. :(
> Is this my problem? How I can download the folder at second link?
> Help!!! :( :(
>
> On 16 Dic, 16:40, "Marco V."  wrote: > My
> ProjectConfiguration class conta...

--

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] sfRenderException

2009-12-16 Thread Gábor Fási
You do not return anything, so symfony presumes Success - that is why
it is looking for your Success template.

On Wed, Dec 16, 2009 at 22:04, cbsi.cnb  wrote:
>  public function executeError404($request)
>  {
>
>        header("HTTP/1.0 404 Not Found");
>
>        echo file_get_contents('http://www.zdnet.com/error.html');
>
>
>  }

--

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] sfRenderException

2009-12-16 Thread Alexandru-Emil Lupu
Check ic that does not include any css with it.

sent via htc magic

On Dec 16, 2009 11:16 PM, "cbsi.cnb"  wrote:

There are errors being logged in Apache's php_error.log with the
following:

PHP Fatal error:  Uncaught exception 'sfRenderException' with message
'The template "error404Success.css.tpl" does not exist or is
unreadable in "".'

I have a directory with the structure as outlined below.

--app
|
--modules
 |
 --errors
  |
  --actions
   |
   --actions.class.php
  --templates
   |
   --error404Success.tpl

The actions.class.php file contains

class errorsActions extends sfActions
{

 public function executeError404($request)
 {

   header("HTTP/1.0 404 Not Found");

   echo file_get_contents('http://www.zdnet.com/error.html');


 }

}

and the error404Success.tpl file does not have any code as it is not
needed. I cannot determine why the app is looking for a file
"error404Success.css.tpl" instead of "error404Success.tpl".

--

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] sfRenderException

2009-12-16 Thread cbsi.cnb
There are errors being logged in Apache's php_error.log with the
following:

PHP Fatal error:  Uncaught exception 'sfRenderException' with message
'The template "error404Success.css.tpl" does not exist or is
unreadable in "".'

I have a directory with the structure as outlined below.

--app
 |
 --modules
  |
  --errors
   |
   --actions
|
--actions.class.php
   --templates
|
--error404Success.tpl

The actions.class.php file contains

class errorsActions extends sfActions
{

  public function executeError404($request)
  {

header("HTTP/1.0 404 Not Found");

echo file_get_contents('http://www.zdnet.com/error.html');


  }

}

and the error404Success.tpl file does not have any code as it is not
needed. I cannot determine why the app is looking for a file
"error404Success.css.tpl" instead of "error404Success.tpl".

--

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] question about sf jobeet tutorial Day 5 sfError404Exception

2009-12-16 Thread Alexandru-Emil Lupu
Adding some fixtures, maybe?
Check the jobeet code. I might think that you have a forward404Unless or
something like that.
Alecs

sent via htc magic

On Dec 16, 2009 10:43 PM, "mars"  wrote:

i followed the day 5 tutorial,  aftre change route to sfDoctrineRoute,
i got the correct url format as specified in the tutorial:
http://jobeet.localhost/frontend_dev.php/job/sensio-labs/paris-france/1/web-developer
however the page wont' display, got sfError404Exception: Action job/
sensiolabs does not exist.

any idea how to fix it? Thanks.

--

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] question about sf jobeet tutorial Day 5 sfError404Exception

2009-12-16 Thread mars
i followed the day 5 tutorial,  aftre change route to sfDoctrineRoute,
i got the correct url format as specified in the tutorial:
http://jobeet.localhost/frontend_dev.php/job/sensio-labs/paris-france/1/web-developer
however the page wont' display, got sfError404Exception: Action job/
sensiolabs does not exist.

any idea how to fix it? Thanks.

--

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] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-16 Thread Alexandru-Emil Lupu
Why don't u try to download the pear package, if any?

sent via htc magic

On Dec 16, 2009 7:20 PM, "Marco V."  wrote:

Sorry, can someone give me the link for downloading "ysfYUIPlugin"?
Because I download  it from this link:
http://svn.symfony-project.org/plugins/ysfYUIPlugin/branches/1.3/
but now i checked all folders and i have noticed that this package is
incomplete compared
to this package:
http://trac.symfony-project.org/browser/plugins/ysfYUIPlugin/trunk?rev=10317
For example in first package there aren't the helpers, the config
files in config folder, etc...
I tried to download the second link, but I was not able. :(
Is this my problem? How I can download the folder at second link?
Help!!! :( :(

On 16 Dic, 16:40, "Marco V."  wrote: > My
ProjectConfiguration class conta...

--

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] New version of sfDoctrineGuardPlugin

2009-12-16 Thread Jonathan Wage
Hi,

I am sending this message to notify everyone of some plans for
sfDoctrineGuardPlugin.

Today I branched
http://svn.symfony-project.org/plugins/sfDoctrineGuardPlugin/trunk/ to
http://svn.symfony-project.org/plugins/sfDoctrineGuardPlugin/branches/1.3/

If you are using symfony 1.3 or 1.4 and want a stable sfDoctrineGuardPlugin
you should use this branch. Today I will begin development of a new version
of sfDoctrineGuardPlugin that merges some functionality from
sfSympalUserPlugin for forgot password, registration, etc. so that
sfSympalPlugin can just use sfDoctrineGuardPlugin instead of maintaining its
own sfSympalUserPlugin. I will maintain BC in this version for the most part
and only add new functionality. Once I have this version done, Dustin
Whittle and I will branch yet again to work on another newer version that is
not BC at all and will be a completely new version of sfDoctrineGuardPlugin
containing many new cool things.

Thanks, Jon

-- 
Jonathan H. Wage (+1 415 992 5468)
Open Source Software Developer & Evangelist
sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org

You should follow me on Twitter: http://www.twitter.com/jwage

You can contact Jonathan about Doctrine, Symfony and Open-Source or for
training, consulting, application development, or business related questions
at jonathan.w...@sensio.com

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-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] Re: Question about link_to_remote: 'complete' option

2009-12-16 Thread tirengarfio
Sorry I mean this:




On Dec 16, 6:44 pm, tirengarfio  wrote:
> I have this:
>
>    function myfuncion1()
>   {
>    alert('Test');
>   }
> ") ?>
>
> 
>
>     
>         'url' => 'mensaje/cambiarEstadoLeido',
>
>         'update' => 'message_1',
>
>         'complete' => 'myfunction1()',
>
>         'loading' => visual_effect(''),
>
>         'complete'=> visual_effect(''),
>
>     )); ?>
>
> 
>
> The javascript window with the word "Test" is not showed after
> clicking on the link.
>
> Javi
>
> On Dec 16, 3:33 pm, DEEPAK BHATIA  wrote:
>
> > try putting alert("Test") in front of it.
>
> > On Wed, Dec 16, 2009 at 6:40 PM, tirengarfio  wrote:
> > > Thanks Deepak, but it didn't work..
>
> > > Javi
>
> > > On Dec 16, 1:42 pm, DEEPAK BHATIA  wrote:
> > > > Try this
>
> > > >  'complete' =>
> > > > "document.getElementById('message_1').className('read_message')",
>
> > >  > On Mon, Dec 14, 2009 at 5:38 PM, tirengarfio 
> > > wrote:
> > > > > Hi,
>
> > > > > i want to change the class of a  after clicking a link. In the
> > > > > same time i would like to execute a symfony action. For that, im using
> > > > > link_to_remote this way:
>
> > > > > 
>
> > > > >    Message's content
>
> > > > >        
>
> > > > >              > > > >                                'url' => 'mensaje/cambiarEstadoLeido,
>
> > > > >                                'update' => 'message_1',
>
> > > > >                                'complete' => 'document.getElementById
> > > > > ("message_1").className("read_message");',
>
> > > > >                )); ?>
>
> > > > >        
>
> > > > > 
>
> > > > > My problem: after clicking on the link the class of the div doesn't
> > > > > change...
>
> > > > > I don't have any problem using link_to_function and a .js file.
>
> > > > > Any idea?
>
> > > > > Regards
>
> > > > > Javi
>
> > > > > --
>
> > > > > 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] Re: Question about link_to_remote: 'complete' option

2009-12-16 Thread tirengarfio
I have this:






 'mensaje/cambiarEstadoLeido',

'update' => 'message_1',

'complete' => 'myfunction1()',

'loading' => visual_effect(''),

'complete'=> visual_effect(''),

)); ?>




The javascript window with the word "Test" is not showed after
clicking on the link.

Javi




On Dec 16, 3:33 pm, DEEPAK BHATIA  wrote:
> try putting alert("Test") in front of it.
>
> On Wed, Dec 16, 2009 at 6:40 PM, tirengarfio  wrote:
> > Thanks Deepak, but it didn't work..
>
> > Javi
>
> > On Dec 16, 1:42 pm, DEEPAK BHATIA  wrote:
> > > Try this
>
> > >  'complete' =>
> > > "document.getElementById('message_1').className('read_message')",
>
> >  > On Mon, Dec 14, 2009 at 5:38 PM, tirengarfio 
> > wrote:
> > > > Hi,
>
> > > > i want to change the class of a  after clicking a link. In the
> > > > same time i would like to execute a symfony action. For that, im using
> > > > link_to_remote this way:
>
> > > > 
>
> > > >    Message's content
>
> > > >        
>
> > > >              > > >                                'url' => 'mensaje/cambiarEstadoLeido,
>
> > > >                                'update' => 'message_1',
>
> > > >                                'complete' => 'document.getElementById
> > > > ("message_1").className("read_message");',
>
> > > >                )); ?>
>
> > > >        
>
> > > > 
>
> > > > My problem: after clicking on the link the class of the div doesn't
> > > > change...
>
> > > > I don't have any problem using link_to_function and a .js file.
>
> > > > Any idea?
>
> > > > Regards
>
> > > > Javi
>
> > > > --
>
> > > > 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] Fatal error: Class 'sfInflector' not found

2009-12-16 Thread Serkan Koyuncu
Hello Berker,
This happening when you install turkish version of ubuntu (or not english)
On tr_TR local, strtolower function is not working as expected.
(symfonylibfolder/autoload/sfCoreAutoload.class.php at function
getClassPath @ line 116)


Solution is, in symfonylibfolder/autoload/sfCoreAutoload.class.php
please find this line (probably in line 440)
'sfinflector' => 'util/sfInflector.class.php',
and replace with
'sfInflector' => 'util/sfInflector.class.php',

It should work now.
Hope it helps.

Umarım yardımcı olabilmişimdir :)

Best Regards,
Serkan Koyuncu


2009/12/16 Berker Peksağ :
> Hi,
>
> I'm trying install symfony 1.4.1 on Ubuntu 9.04 but I'm getting this
> error:
>
> ber...@berker-desktop:/home/sfproject$ php lib/vendor/symfony/data/bin/
> symfony -V
>
> Fatal error: Class 'sfInflector' not found in /home/sfproject/lib/
> vendor/symfony/lib/task/sfTask.class.php on line 274
>
> Thanks.
>
> --
>
> 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] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-16 Thread Marco V.
Sorry, can someone give me the link for downloading "ysfYUIPlugin"?
Because I download  it from this link:
http://svn.symfony-project.org/plugins/ysfYUIPlugin/branches/1.3/
but now i checked all folders and i have noticed that this package is
incomplete compared
to this package: 
http://trac.symfony-project.org/browser/plugins/ysfYUIPlugin/trunk?rev=10317
For example in first package there aren't the helpers, the config
files in config folder, etc...
I tried to download the second link, but I was not able. :(
Is this my problem? How I can download the folder at second link?
Help!!! :( :(

On 16 Dic, 16:40, "Marco V."  wrote:
> My ProjectConfiguration class contains this code, and I think that is
> enable by default.
>
> 
> require_once dirname(__FILE__).'/../lib/vendor/symfony/lib/autoload/
> sfCoreAutoload.class.php';
> sfCoreAutoload::register();
>
> class ProjectConfiguration extends sfProjectConfiguration
> {
>   public function setup()
>   {
>     // for compatibility / remove and enable only the plugins you want
>     //$this->enableAllPluginsExcept(array('sfDoctrinePlugin',
> 'sfCompat10Plugin'));
>         $this->enableAllPluginsExcept(array('sfPropelPlugin',
> 'sfCompat10Plugin'));
>   }
>
> }
>
> On 16 Dic, 16:29, Alexandru-Emil Lupu  wrote:
>
> > have you enabled the plugin from config/ProjectConfiguration.class.php ?
>
> > On Wed, Dec 16, 2009 at 5:19 PM, Marco V.  wrote:
> > > Hi, I'm a new user here and I hope to be welcomed. :)
> > > I have some problems to installing and using "ysfYUIPlugin". When i
> > > try to install this plugin, the cli return me this message "No release
> > > available for plugin "ysfYUIPlugin"". I copied ysfYUIPlugin folder in
> > > projectDirectory/plugins but don't working. :(
> > > Can someone help me please?
>
> > > This is my system configuration:
> > > - Windows XP SP2
> > > - EasyPHP 2.0.0.0
> > >   - Apache 2.2.13
> > >   - MySQL 5.1.32
> > >   - PHP 5.3.0
> > > - Symfony v. 1.2.9
> > > - ORM: Doctrine
>
> > > P.S. Sorry for my bad english.
>
> > > --
>
> > > 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 
> > > athttp://groups.google.com/group/symfony-users?hl=en.
>
> > --
> > Have a nice day!
> > Alecs
>
> > As programmers create bigger & better idiot proof programs, so the
> > universe creates bigger & better idiots!
> > I am on web:  http://www.alecslupu.ro/
> > I am on twitter:http://twitter.com/alecslupu
> > I am on linkedIn:http://www.linkedin.com/in/alecslupu
> > Tel: (+4)0748.543.798

--

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] Fatal error: Class 'sfInflector' not found

2009-12-16 Thread Alexandru-Emil Lupu
What was the instalation method?
I am using svn version and i don't have any problems.
Afaik, it wasn't removed from repo, as last co i have performed today.
Alecs

sent via htc magic

On Dec 16, 2009 5:21 PM, "Berker Peksağ"  wrote:

Hi,

I'm trying install symfony 1.4.1 on Ubuntu 9.04 but I'm getting this
error:

ber...@berker-desktop:/home/sfproject$ php lib/vendor/symfony/data/bin/
symfony -V

Fatal error: Class 'sfInflector' not found in /home/sfproject/lib/
vendor/symfony/lib/task/sfTask.class.php on line 274

Thanks.

--

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] Re: Symfony developer "per hour" salary

2009-12-16 Thread Alexandru-Emil Lupu
Hi, florin!
I have received this mail at least 3 times.
I have answered on prv.
Alecs

sent via htc magic

On Dec 16, 2009 5:22 PM, "Florin Prisecariu" <
florin.daniel.priseca...@gmail.com> wrote:

What are you saying Alex? 20$/h in Romania? wtf? for whom do you work? i
work for medium sized compa...

On Dec 14, 8:53 am, Alexandru-Emil Lupu  wrote:

> In romania i heard that the price is around 20 euro per hour. I am not >
receiving so much... so, ...
--

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,...

--

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] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-16 Thread Marco V.
My ProjectConfiguration class contains this code, and I think that is
enable by default.

enableAllPluginsExcept(array('sfDoctrinePlugin',
'sfCompat10Plugin'));
$this->enableAllPluginsExcept(array('sfPropelPlugin',
'sfCompat10Plugin'));
  }
}

On 16 Dic, 16:29, Alexandru-Emil Lupu  wrote:
> have you enabled the plugin from config/ProjectConfiguration.class.php ?
>
>
>
> On Wed, Dec 16, 2009 at 5:19 PM, Marco V.  wrote:
> > Hi, I'm a new user here and I hope to be welcomed. :)
> > I have some problems to installing and using "ysfYUIPlugin". When i
> > try to install this plugin, the cli return me this message "No release
> > available for plugin "ysfYUIPlugin"". I copied ysfYUIPlugin folder in
> > projectDirectory/plugins but don't working. :(
> > Can someone help me please?
>
> > This is my system configuration:
> > - Windows XP SP2
> > - EasyPHP 2.0.0.0
> >   - Apache 2.2.13
> >   - MySQL 5.1.32
> >   - PHP 5.3.0
> > - Symfony v. 1.2.9
> > - ORM: Doctrine
>
> > P.S. Sorry for my bad english.
>
> > --
>
> > 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 
> > athttp://groups.google.com/group/symfony-users?hl=en.
>
> --
> Have a nice day!
> Alecs
>
> As programmers create bigger & better idiot proof programs, so the
> universe creates bigger & better idiots!
> I am on web:  http://www.alecslupu.ro/
> I am on twitter:http://twitter.com/alecslupu
> I am on linkedIn:http://www.linkedin.com/in/alecslupu
> Tel: (+4)0748.543.798

--

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] Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-16 Thread Alexandru-Emil Lupu
have you enabled the plugin from config/ProjectConfiguration.class.php ?


On Wed, Dec 16, 2009 at 5:19 PM, Marco V.  wrote:
> Hi, I'm a new user here and I hope to be welcomed. :)
> I have some problems to installing and using "ysfYUIPlugin". When i
> try to install this plugin, the cli return me this message "No release
> available for plugin "ysfYUIPlugin"". I copied ysfYUIPlugin folder in
> projectDirectory/plugins but don't working. :(
> Can someone help me please?
>
> This is my system configuration:
> - Windows XP SP2
> - EasyPHP 2.0.0.0
>   - Apache 2.2.13
>   - MySQL 5.1.32
>   - PHP 5.3.0
> - Symfony v. 1.2.9
> - ORM: Doctrine
>
> P.S. Sorry for my bad english.
>
> --
>
> 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.
>
>
>



-- 
Have a nice day!
Alecs

As programmers create bigger & better idiot proof programs, so the
universe creates bigger & better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0748.543.798

--

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] Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-16 Thread Marco V.
Hi, I'm a new user here and I hope to be welcomed. :)
I have some problems to installing and using "ysfYUIPlugin". When i
try to install this plugin, the cli return me this message "No release
available for plugin "ysfYUIPlugin"". I copied ysfYUIPlugin folder in
projectDirectory/plugins but don't working. :(
Can someone help me please?

This is my system configuration:
- Windows XP SP2
- EasyPHP 2.0.0.0
   - Apache 2.2.13
   - MySQL 5.1.32
   - PHP 5.3.0
- Symfony v. 1.2.9
- ORM: Doctrine

P.S. Sorry for my bad english.

--

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] Re: Symfony developer "per hour" salary

2009-12-16 Thread Florin Prisecariu
What are you saying Alex? 20$/h in Romania? wtf? for whom do you work?
i work for medium sized company for a year in symfony, php, mysql and
JS and i get payed 2$/h. this mean 330$/month? and we work for NCES
(all schoools from USA). we do not make rag-tag webdesigned sites or
other small projects. these are medium pays in Romania, so more than
5$/h will found nowhere in our country. take your seat!

On Dec 14, 8:53 am, Alexandru-Emil Lupu  wrote:
> In romania i heard that the price is around 20 euro per hour. I am not
> receiving so much... so, i can not be sure
> Alecs
>

--

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] Re: var_dump Doctrine_Record

2009-12-16 Thread Salim
I also tried to inspect these values in a controller action, and I got
strings anyway

On 16 déc, 16:15, Alexandre Salomé  wrote:
> Can be because you retrieve values through an escaper ? are you getting
> these  values in template ?
>
> 2009/12/16 Salim 
>
>
>
>
>
> > I also have floats and integers on my schema, but i get string values
> > for those columns.
> > I can't figure out why.
>
> > On 11 déc, 23:53, Alexandre Salomé  wrote:
> > > Well, if I understand the problem :
>
> > >    - You always get string values for columns
> > >    - You define a schema with only string values
>
> > > Are you... sure of your problem ?
>
> > > 2009/12/11 Salim 
>
> > > > No answers ?
>
> > > > On 10 déc, 10:02, Salim  wrote:
> > > > > Here is an sample of the schema :
>
> > > > > Place:
> > > > >   actAs:
> > > > >     I18n:
> > > > >       fields:
> > > > >        -  name
> > > > >        -  number
> > > > >        -  address
> > > > >        -  postal_box
> > > > >        -  cedex
> > > > >        -  city
> > > > >        -  zip_code
> > > > >        -  country
> > > > >        -  tel
> > > > >        -  fax
> > > > >        -  email
> > > > >        -  website
> > > > >        -  presentation
> > > > >        -  image
> > > > >   connection:                   via_france
> > > > >   columns:
> > > > >     lon:                        float
> > > > >     lat:                        float
> > > > >     name:                       string(255)
> > > > >     number:                     string(255)
> > > > >     address:                    string(255)
> > > > >     postal_box:                 string(255)
> > > > >     cedex:                      string(255)
> > > > >     city:                       string(255)
> > > > >     zip_code:                   string(255)
> > > > >     insee:                      string(10)
> > > > >     country_id:                 string(2)
> > > > >     country:                    string(255)
> > > > >     tel:                        string(255)
> > > > >     fax:                        string(255)
> > > > >     email:                      string(255)
> > > > >     website:                    string(255)
> > > > >     presentation:               string(4000)
> > > > >     image:                      string(255)
> > > > >     stars:                      integer
>
> > > > > On 9 déc, 17:45, Serkan Koyuncu  wrote:
>
> > > > > > Could you please post your schema?
>
> > > > > > Regards,
> > > > > > S.
>
> > > > > > 2009/12/9 Salim :
>
> > > > > > > PS : I am using Symfony 1.2 with Doctrine 1.1
>
> > > > > > > On 9 déc, 17:03, Salim  wrote:
> > > > > > >> Hi all,
>
> > > > > > >> After inspecting several doctrine records on my project, I
> > realized
> > > > > > >> that every field of these records was casted into strings
> > whatever
> > > > the
> > > > > > >> type declared for the column in the schema.yml file.
>
> > > > > > >> Is it a known issue, or am I missing something ?
>
> > > > > > >> Thank's in advance for your 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-us...@googlegroups.com.
> > > > > > > To unsubscribe from this group, send email to
> > > > symfony-users+unsubscr...@googlegroups.com > > >  legroups.com>
> > 
> > > > .
> > > > > > > For more options, visit this group athttp://
> > > > 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 > > >  legroups.com>
> > 
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/symfony-users?hl=en.
>
> > > --
> > > Alexandre Saloméhttp://alexandre-salome.fr
>
> > --
>
> > 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 > legroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-users?hl=en.
>
> --
> Alexandre Saloméhttp://alexandre-salome.fr

--

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] Fatal error: Class 'sfInflector' not found

2009-12-16 Thread Berker Peksağ
Hi,

I'm trying install symfony 1.4.1 on Ubuntu 9.04 but I'm getting this
error:

ber...@berker-desktop:/home/sfproject$ php lib/vendor/symfony/data/bin/
symfony -V

Fatal error: Class 'sfInflector' not found in /home/sfproject/lib/
vendor/symfony/lib/task/sfTask.class.php on line 274

Thanks.

--

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] Re: var_dump Doctrine_Record

2009-12-16 Thread Alexandre Salomé
Can be because you retrieve values through an escaper ? are you getting
these  values in template ?


2009/12/16 Salim 

> I also have floats and integers on my schema, but i get string values
> for those columns.
> I can't figure out why.
>
> On 11 déc, 23:53, Alexandre Salomé  wrote:
> > Well, if I understand the problem :
> >
> >- You always get string values for columns
> >- You define a schema with only string values
> >
> > Are you... sure of your problem ?
> >
> > 2009/12/11 Salim 
> >
> >
> >
> >
> >
> > > No answers ?
> >
> > > On 10 déc, 10:02, Salim  wrote:
> > > > Here is an sample of the schema :
> >
> > > > Place:
> > > >   actAs:
> > > > I18n:
> > > >   fields:
> > > >-  name
> > > >-  number
> > > >-  address
> > > >-  postal_box
> > > >-  cedex
> > > >-  city
> > > >-  zip_code
> > > >-  country
> > > >-  tel
> > > >-  fax
> > > >-  email
> > > >-  website
> > > >-  presentation
> > > >-  image
> > > >   connection:   via_france
> > > >   columns:
> > > > lon:float
> > > > lat:float
> > > > name:   string(255)
> > > > number: string(255)
> > > > address:string(255)
> > > > postal_box: string(255)
> > > > cedex:  string(255)
> > > > city:   string(255)
> > > > zip_code:   string(255)
> > > > insee:  string(10)
> > > > country_id: string(2)
> > > > country:string(255)
> > > > tel:string(255)
> > > > fax:string(255)
> > > > email:  string(255)
> > > > website:string(255)
> > > > presentation:   string(4000)
> > > > image:  string(255)
> > > > stars:  integer
> >
> > > > On 9 déc, 17:45, Serkan Koyuncu  wrote:
> >
> > > > > Could you please post your schema?
> >
> > > > > Regards,
> > > > > S.
> >
> > > > > 2009/12/9 Salim :
> >
> > > > > > PS : I am using Symfony 1.2 with Doctrine 1.1
> >
> > > > > > On 9 déc, 17:03, Salim  wrote:
> > > > > >> Hi all,
> >
> > > > > >> After inspecting several doctrine records on my project, I
> realized
> > > > > >> that every field of these records was casted into strings
> whatever
> > > the
> > > > > >> type declared for the column in the schema.yml file.
> >
> > > > > >> Is it a known issue, or am I missing something ?
> >
> > > > > >> Thank's in advance for your 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-us...@googlegroups.com.
> > > > > > To unsubscribe from this group, send email to
> > > symfony-users+unsubscr...@googlegroups.com
> 
> > > .
> > > > > > For more options, visit this group athttp://
> > > 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.
> >
> > --
> > Alexandre Saloméhttp://alexandre-salome.fr
>
> --
>
> 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.
>
>
>


-- 
Alexandre Salomé
http://alexandre-salome.fr

--

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] Re: var_dump Doctrine_Record

2009-12-16 Thread Salim
I also have floats and integers on my schema, but i get string values
for those columns.
I can't figure out why.

On 11 déc, 23:53, Alexandre Salomé  wrote:
> Well, if I understand the problem :
>
>    - You always get string values for columns
>    - You define a schema with only string values
>
> Are you... sure of your problem ?
>
> 2009/12/11 Salim 
>
>
>
>
>
> > No answers ?
>
> > On 10 déc, 10:02, Salim  wrote:
> > > Here is an sample of the schema :
>
> > > Place:
> > >   actAs:
> > >     I18n:
> > >       fields:
> > >        -  name
> > >        -  number
> > >        -  address
> > >        -  postal_box
> > >        -  cedex
> > >        -  city
> > >        -  zip_code
> > >        -  country
> > >        -  tel
> > >        -  fax
> > >        -  email
> > >        -  website
> > >        -  presentation
> > >        -  image
> > >   connection:                   via_france
> > >   columns:
> > >     lon:                        float
> > >     lat:                        float
> > >     name:                       string(255)
> > >     number:                     string(255)
> > >     address:                    string(255)
> > >     postal_box:                 string(255)
> > >     cedex:                      string(255)
> > >     city:                       string(255)
> > >     zip_code:                   string(255)
> > >     insee:                      string(10)
> > >     country_id:                 string(2)
> > >     country:                    string(255)
> > >     tel:                        string(255)
> > >     fax:                        string(255)
> > >     email:                      string(255)
> > >     website:                    string(255)
> > >     presentation:               string(4000)
> > >     image:                      string(255)
> > >     stars:                      integer
>
> > > On 9 déc, 17:45, Serkan Koyuncu  wrote:
>
> > > > Could you please post your schema?
>
> > > > Regards,
> > > > S.
>
> > > > 2009/12/9 Salim :
>
> > > > > PS : I am using Symfony 1.2 with Doctrine 1.1
>
> > > > > On 9 déc, 17:03, Salim  wrote:
> > > > >> Hi all,
>
> > > > >> After inspecting several doctrine records on my project, I realized
> > > > >> that every field of these records was casted into strings whatever
> > the
> > > > >> type declared for the column in the schema.yml file.
>
> > > > >> Is it a known issue, or am I missing something ?
>
> > > > >> Thank's in advance for your 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-us...@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > symfony-users+unsubscr...@googlegroups.com > legroups.com>
> > .
> > > > > For more options, visit this group athttp://
> > 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 > legroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-users?hl=en.
>
> --
> Alexandre Saloméhttp://alexandre-salome.fr

--

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] Re: Anyway to comment piece of yaml code (not using # in each line)??

2009-12-16 Thread Stéphane
Thanks, this might 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-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] Re: Question about link_to_remote: 'complete' option

2009-12-16 Thread DEEPAK BHATIA
try putting alert("Test") in front of it.

On Wed, Dec 16, 2009 at 6:40 PM, tirengarfio  wrote:

> Thanks Deepak, but it didn't work..
>
> Javi
>
> On Dec 16, 1:42 pm, DEEPAK BHATIA  wrote:
> > Try this
> >
> >  'complete' =>
> > "document.getElementById('message_1').className('read_message')",
> >
>  > On Mon, Dec 14, 2009 at 5:38 PM, tirengarfio 
> wrote:
> > > Hi,
> >
> > > i want to change the class of a  after clicking a link. In the
> > > same time i would like to execute a symfony action. For that, im using
> > > link_to_remote this way:
> >
> > > 
> >
> > >Message's content
> >
> > >
> >
> > >  > >'url' => 'mensaje/cambiarEstadoLeido,
> >
> > >'update' => 'message_1',
> >
> > >'complete' => 'document.getElementById
> > > ("message_1").className("read_message");',
> >
> > >)); ?>
> >
> > >
> >
> > > 
> >
> > > My problem: after clicking on the link the class of the div doesn't
> > > change...
> >
> > > I don't have any problem using link_to_function and a .js file.
> >
> > > Any idea?
> >
> > > Regards
> >
> > > Javi
> >
> > > --
> >
> > > 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] Question about link_to_remote: 'complete' option

2009-12-16 Thread DEEPAK BHATIA
 Try this way...

 'publishing/refresh',

'complete' => 'updateclass()'

)) ?>




On Mon, Dec 14, 2009 at 5:38 PM, tirengarfio  wrote:

> Hi,
>
> i want to change the class of a  after clicking a link. In the
> same time i would like to execute a symfony action. For that, im using
> link_to_remote this way:
>
> 
>
>Message's content
>
>
>
> 'url' => 'mensaje/cambiarEstadoLeido,
>
>'update' => 'message_1',
>
>'complete' => 'document.getElementById
> ("message_1").className("read_message");',
>
>)); ?>
>
>
>
> 
>
>
> My problem: after clicking on the link the class of the div doesn't
> change...
>
> I don't have any problem using link_to_function and a .js file.
>
> Any idea?
>
>
> Regards
>
> Javi
>
> --
>
> 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] Re: Anyway to comment piece of yaml code (not using # in each line)??

2009-12-16 Thread tirengarfio
Ok, i found it. Just installing this:

http://jonocode.wordpress.com/2009/06/17/editing-yaml-files-in-a-symfony-project-using-eclipse-pdt/

Select the lines and then "Shift + Ctrl + /" (and again to uncomment).

Javi

On Dec 16, 3:07 pm, tirengarfio  wrote:
> Im using Eclipse PDT.
>
> Javi
>
> On Dec 16, 3:06 pm, tirengarfio  wrote:
>
> > Hi,
>
> > just that.
>
> > Regards
>
> > Javi

--

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] Re: Anyway to comment piece of yaml code (not using # in each line)??

2009-12-16 Thread tirengarfio
Im using Eclipse PDT.

Javi

On Dec 16, 3:06 pm, tirengarfio  wrote:
> Hi,
>
> just that.
>
> Regards
>
> Javi

--

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] Anyway to comment piece of yaml code (not using # in each line)??

2009-12-16 Thread tirengarfio
Hi,

just that.

Regards

Javi

--

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] Re: encoding problems with csv export

2009-12-16 Thread axel at
hi gabriel,

using
get
($property),"ISO-8859-1","UTF-8")
works.

thx for your help!

axel

On 15 Dez., 19:44, pghoratiu  wrote:
> MS Excell does not get along too well with UTF8 CSV, these files work
> just fine with OpenOffice.
> If OpenOffice is not an option I suggest you search on Google for a
> possible workaround
> (switch to a different type of encoding for output text with
> mb_convert_encoding, UTF16 may work probably I have not
> tried this myself) or some library that writes .xls files 
> directly.http://www.google.ro/search?q=php+excell+utf8
>
>     gabriel
>
> On Dec 15, 7:25 pm, axel at  wrote:
>
> > hello,
>
> > I try to export result rows (from admin-generator) to a csv file:
> > public function csvExport($pager) {
> > ...
> > $this->getResponse()->clearHttpHeaders();
> > $this->getResponse()->setHttpHeader('Content-Type', 'application/
> > vnd.ms-excel;charset=utf-8');
> > $this->getResponse()->setHttpHeader('Content-Disposition',
> > 'attachment; filename='.$filename.'.csv');
> > $this->setLayout(false);
> > $this->setTemplate('csv');
>
> >  $this->properties = array("firstname",
> >                               "lastname",
> >                                 ...);
>
> > $this->results = $pager->getResults();
>
> > cvsSuccess.php:
> > ...
> > 
> > get
> > ($property); ?>;
>
> > 
>
> > if I open the exported csv with ultraedit special characters are
> > displayed correctly (dos-utf8 filteype)
> > but when opend with ms-excel special chars are not displayed correctly
> > (ä -> ö )
>
> > settings.yml contains: charset: utf-8
>
> > thx for your 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-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] Re: Question about link_to_remote: 'complete' option

2009-12-16 Thread tirengarfio
Thanks Deepak, but it didn't work..

Javi

On Dec 16, 1:42 pm, DEEPAK BHATIA  wrote:
> Try this
>
>  'complete' =>
> "document.getElementById('message_1').className('read_message')",
>
> On Mon, Dec 14, 2009 at 5:38 PM, tirengarfio  wrote:
> > Hi,
>
> > i want to change the class of a  after clicking a link. In the
> > same time i would like to execute a symfony action. For that, im using
> > link_to_remote this way:
>
> > 
>
> >    Message's content
>
> >        
>
> >              >                                'url' => 'mensaje/cambiarEstadoLeido,
>
> >                                'update' => 'message_1',
>
> >                                'complete' => 'document.getElementById
> > ("message_1").className("read_message");',
>
> >                )); ?>
>
> >        
>
> > 
>
> > My problem: after clicking on the link the class of the div doesn't
> > change...
>
> > I don't have any problem using link_to_function and a .js file.
>
> > Any idea?
>
> > Regards
>
> > Javi
>
> > --
>
> > 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] Re: Can't access slots in partials (with cache enabled)

2009-12-16 Thread wissl
This is an issue since more than half a year now... There was (is?) a
ticket in trac with a working patch, I don't know why it isn't merged
into core...



On 16 Dez., 09:20, Matthias Pfefferle  wrote:
> Thats exactly my problem, Pablo!
>
> I have enabled the cache (settings.yml) but the files which are
> affected by this problem are all excluded from the caching
> (cache.yml).
>
> Example: I extracted the whole er to a partial (because every
> layout should use the same header-informations). In this partial there
> are several slots to display special meta-informations for specific
> actions.
>
> The layout code:
>
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"
> dir="ltr">
> 
> [...]
> 
>
> The partial code:
>
> http://purl.org/uF/2008/03/
>                http://microformats.org/wiki/xfolk-profile
>                 ('profile_uri'); } ?>
>   [...]
> 
>
> If the cache is disabled (settings.yml), everything works fine and the
> partial shows the "profile_uri"-slot without any problems. If I enable
> the cache (settings.yml), the "has_slot('profile_uri')" returns false.
> If I paste the patial-code directly into the layout, everything works
> fine (with and without caching enabled (settings.yml)).
>
> I reproduced this phenomenon also with normal templates. If the slot
> is directly in the template, I got no problems, if it is used in a
> partial the has_slot returns false.
>
> On Dec 16, 12:26 am, Pablo Godel  wrote:
>
> > If I understand your problem correctly, it is the whole purpose of enabling
> > caching, so certain parts of your code don't get ran.
>
> > Pablo
>
> > On Tue, Dec 15, 2009 at 12:03 PM, Matthias Pfefferle 
> > wrote:
>
> > > I can't access slots in partials with enabled symfony caching (symfony
> > > 1.2.10)... does anyone had similar problems? Is there a way to
> > > workaround?
>
> > > --
>
> > > 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] Question about link_to_remote: 'complete' option

2009-12-16 Thread DEEPAK BHATIA
Try this

 'complete' =>
"document.getElementById('message_1').className('read_message')",

On Mon, Dec 14, 2009 at 5:38 PM, tirengarfio  wrote:

> Hi,
>
> i want to change the class of a  after clicking a link. In the
> same time i would like to execute a symfony action. For that, im using
> link_to_remote this way:
>
> 
>
>Message's content
>
>
>
> 'url' => 'mensaje/cambiarEstadoLeido,
>
>'update' => 'message_1',
>
>'complete' => 'document.getElementById
> ("message_1").className("read_message");',
>
>)); ?>
>
>
>
> 
>
>
> My problem: after clicking on the link the class of the div doesn't
> change...
>
> I don't have any problem using link_to_function and a .js file.
>
> Any idea?
>
>
> Regards
>
> Javi
>
> --
>
> 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] Re: Question about link_to_remote: 'complete' option

2009-12-16 Thread tirengarfio
Thanks both, but it still doesnt change the class of the ..

Proposals?

Javi

On Dec 14, 8:45 pm, Gareth McCumskey  wrote:
> "complete"=>"$('message_1').toggleClassName('read_message');"
>
> http://www.prototypejs.org/api/element/toggleClassName
>
>
>
> On Mon, Dec 14, 2009 at 2:08 PM,tirengarfio wrote:
>
> > Hi,
>
> > i want to change the class of a  after clicking a link. In the
> > same time i would like to execute a symfony action. For that, im using
> > link_to_remote this way:
>
> > 
>
> >    Message's content
>
> >        
>
> >              >                                'url' => 'mensaje/cambiarEstadoLeido,
>
> >                                'update' => 'message_1',
>
> >                                'complete' => 'document.getElementById
> > ("message_1").className("read_message");',
>
> >                )); ?>
>
> >        
>
> > 
>
> > My problem: after clicking on the link the class of the div doesn't
> > change...
>
> > I don't have any problem using link_to_function and a .js file.
>
> > Any idea?
>
> > Regards
>
> > Javi
>
> > --
>
> > 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 
> > athttp://groups.google.com/group/symfony-users?hl=en.
>
> --
> Gareth McCumskeyhttp://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.




[symfony-users] Re: symfony - WINDOWS path

2009-12-16 Thread Benoit
That's because you're using windows. You can convert backslashes to
slash without trouble, windows handle both for a while now.

But, this will not work yet because you're using file system path
instead of URI for image src. At the end you should have image written
like this 

On Dec 16, 8:08 am, dziobacz  wrote:
> 
> gives:
> 
>
> 
>
> gives:
> 
>
>
> and I don't see a picture - sfConfig::get('sf_upload_dir') gives
> backslash, but it should be slash !! What can I do with that ??

--

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] Re: Doctrine custom theme

2009-12-16 Thread Benoit
Alternatively, you can put it in a plugin, we use  something like this
plugins/sfAdminThemePlugin/data/generator/sfDoctrineModule/



This way you can reuse the theme in any new project you got.

Regards,
Benoit

On Dec 16, 10:02 am, Daniel Londero  wrote:
> On 16 Dic, 09:54, Daniel Lohse  wrote:
>
> > Put it here in your symfony project:
>
> > data/generator/sfDoctrineModule/YOUR_THEME_NAME
>
> > Symfony will never force you to put things inside the core folders!
>
> Yeah!! Thank you so much :)
>
> Daniel

--

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] Re: Doctrine custom theme

2009-12-16 Thread Daniel Londero
On 16 Dic, 09:54, Daniel Lohse  wrote:
> Put it here in your symfony project:
>
> data/generator/sfDoctrineModule/YOUR_THEME_NAME
>
> Symfony will never force you to put things inside the core folders!

Yeah!! Thank you so much :)

Daniel

--

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] Doctrine custom theme

2009-12-16 Thread Daniel Lohse
Put it here in your symfony project:

data/generator/sfDoctrineModule/YOUR_THEME_NAME

Symfony will never force you to put things inside the core folders!

Cheers, Daniel :)

On Dec 16, 2009, at 9:48 AM, Daniel Londero wrote:

> Hi! I'm going to create a custom theme for Doctrine so when I generate
> some module I get the look&feel I want. Where to put the new directory
> containing all new files? Always in lib\vendor\symfony\lib\plugins
> \sfDoctrinePlugin\data\generator\sfDoctrineModule\ ? What about if I
> upgrade sf by hand?
> 
> Cheers
> Daniel
> 
> --
> 
> 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] Doctrine custom theme

2009-12-16 Thread Daniel Londero
Hi! I'm going to create a custom theme for Doctrine so when I generate
some module I get the look&feel I want. Where to put the new directory
containing all new files? Always in lib\vendor\symfony\lib\plugins
\sfDoctrinePlugin\data\generator\sfDoctrineModule\ ? What about if I
upgrade sf by hand?

Cheers
Daniel

--

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] Re: Can't access slots in partials (with cache enabled)

2009-12-16 Thread Matthias Pfefferle
Thats exactly my problem, Pablo!

I have enabled the cache (settings.yml) but the files which are
affected by this problem are all excluded from the caching
(cache.yml).

Example: I extracted the whole er to a partial (because every
layout should use the same header-informations). In this partial there
are several slots to display special meta-informations for specific
actions.

The layout code:


http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"
dir="ltr">

[...]


The partial code:

http://purl.org/uF/2008/03/
   http://microformats.org/wiki/xfolk-profile
   
  [...]


If the cache is disabled (settings.yml), everything works fine and the
partial shows the "profile_uri"-slot without any problems. If I enable
the cache (settings.yml), the "has_slot('profile_uri')" returns false.
If I paste the patial-code directly into the layout, everything works
fine (with and without caching enabled (settings.yml)).

I reproduced this phenomenon also with normal templates. If the slot
is directly in the template, I got no problems, if it is used in a
partial the has_slot returns false.

On Dec 16, 12:26 am, Pablo Godel  wrote:
> If I understand your problem correctly, it is the whole purpose of enabling
> caching, so certain parts of your code don't get ran.
>
> Pablo
>
> On Tue, Dec 15, 2009 at 12:03 PM, Matthias Pfefferle 
> wrote:
>
> > I can't access slots in partials with enabled symfony caching (symfony
> > 1.2.10)... does anyone had similar problems? Is there a way to
> > workaround?
>
> > --
>
> > 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.