[symfony-users] Re: Unable to access variable created in action in layout.php (Symfony 1.1.4)

2008-12-29 Thread Cinxgler Mariaca Minda

Hi,

"The action template variables are not available anymore in the
layout. This means that the layout only has access to global variables
(all sf_ variables) and variables registered via the
template.filter_parameters event.

Refer to this wiki page for more information on how to upgrade:

http://trac.symfony-project.com/wiki/Symfony11LayoutUpgrade";

Taken from http://www.symfony-project.org/installation/1_1/upgrade#Layout


2008/12/29 James Andrews :
> I have an action where I create a variable called $this->myVariableName =
> "somevalue";
> In the /apps/appname/templates/layout.php file I call  $myVariableName
> For some reason I have no access to this variable.  I did have access in
> 1.0.
> Is there a reason this has changed?
> Thanks
> James
> >
>



-- 
Cinxgler Mariaca Minda
EMYA informática y Consultoría Ltda.
www.emya-informatica.com

Mobile: (+57 1) 310 3073783

--~--~-~--~~~---~--~~
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: sfForm - add more option

2008-12-16 Thread Cinxgler Mariaca Minda

2008/12/15 Bernhard Schussek :
>
> I hope this could help you a little.

I'll try it, thanks a lot.

-CMM

--~--~-~--~~~---~--~~
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] sfForm - add more option

2008-12-15 Thread Cinxgler Mariaca Minda

Hi,

I'm wondering what's s the best way of implementing an 'add more'
option. I mean, I've got a form where I need to add more than one
email address per user, so the form displays an email address field
and an 'add more' button which adds more fields. What's your advice
for implementing this kind of feature in a form on sf12?

PS. I know javascript is required for add fields dinamically, but
there's a widget for handled it or a validator which support that
scenario?

Thanks,

-- 
Cinxgler Mariaca Minda

--~--~-~--~~~---~--~~
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: symfony 1.2 has been released

2008-12-01 Thread Cinxgler Mariaca Minda

2008/12/1 Lee Bolding <[EMAIL PROTECTED]>:
>
> Thanks!
>
> Shouldn't this be in the 1.2 version of the book though?
>
>

+1

A user contributed notes under each book chapter would be nice, like
the one in the online php manual, that's very useful, I think

-- 
Cinxgler Mariaca Minda

--~--~-~--~~~---~--~~
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] Functional test - test upload a form

2008-11-26 Thread Cinxgler Mariaca Minda

Hello,

Does anyone know if I can make a functional test for an action where
there's a form which receives a file uploaded by the user???

Thanks in advance,
-- 
Cinxgler Mariaca Minda

--~--~-~--~~~---~--~~
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] Admin generator sf1.2 - show action doesn't exist

2008-11-18 Thread Cinxgler Mariaca Minda

Hi,

I generated an propel admin module on sf1.2, I've activated the
with_show parameter, but when I call the show action
(http://localhost/frontend_dev.php/sf_ezc_workflow_execution_admin/5)
it raises this error message:

 'Action "sfEzcWorkflowExecutionAdmin/show" does not exist.',
everything else works properly except the show action. Any clue about
this?

This is my generator.yml

generator:
  class: sfPropelGenerator
  param:
model_class:   sfEzcWorkflowExecution
theme: admin
non_verbose_templates: true
with_show: true
singular:  ~
plural:~
route_prefix:  sf_ezc_workflow_execution_admin
with_propel_route: 1

btw, what is the porpuse of these parameters singular, plural,
route_prefix, with_propel_route?  is there any link where those are
explained?

Thanks in advance.

-- 
Cinxgler Mariaca Minda

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---