nding " . var_export($value,
true) . " at position $pos w/ PDO type " . $typestr);
}
return parent::bindValue($pos, $value, $type);
}
[CODE]
the exact line: return parent::bindValue($pos, $value, $type);
And, another weir theing (i think) is tha
Hi!!
I recently upload my project to x10hosting.com, i follow this blog post:
http://blog.mario21ic.com/paso-a-paso-subir-proyecto-symfony-en-servidor-compartido/
So i have a public directory (called ) where i have everything from
my /web symfony directory, and a private directory (called sym
Im having some trouble with that, because i want to define a format
(customize the widget) but there is no FilterDateTime like there is a
FilterDate, so im having an Array to String error.
Thanks
2010/4/22 Denis Golovin
> Filter - is the same thing as form.
> Just use something like:
>
> $f
I need filter a 'created_at' field.. thanks
--
Germana Oliveira
http://626f67.wordpress.com
http://slcarabobo.wordpress.com
"Fool me once, shame on you. Fool me dozens of times, I'm an Apple
customer."
--
If you want to report a vulnerability issue on symfony, pl
Hi!!!
I have a table without 'date' so i use the 'created_at' field to define
the date and show it to the user, the thing is that now im working with
filters and ans error comes out when i try to search something (Notice:
Array to string conversion
in
/usr/local/symfony/RELEASE_1_2_5/lib/plugins/
Hi!
Is there a way to define a filter for a 'created_at' field ???
THANKS!!
--
Germana Oliveira
germanaoliveirab arroba gmail punto com
http://626f67.wordpress.com
http://slcarabobo.wordpress.com
--
If you want to report a vulnerability issue on symfony, please send it to
s
The problem was that i was sending the wrong variable name:
here
public function executeFilter(sfWebRequest $request)
{
$this->filtro = new DenunciaFormFilter();
}
I name it 'filtro' while in my form was 'form', so i changed it and
everything is fine know
--
If you want to repor
I follow the instruction in this blog:
http://axiacore.com/blog/2009/09/trabajando-con-filtros-en-symfony-i/
So i have this in my code:
1. Actions
public function executeSearch(sfWebRequest $request)
{
$this->form = new DenunciaFormFilter();
$this->setTemplate('search');
}
public func
ony-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
>
--
Germana Oliveira
germanaoliveirab arroba gmail punto com
http://626f67
HI!!
I have this on my lib/model/Audiencia.php
class Audiencia extends BaseAudiencia
{
.
/* CREAR UNA AUDIENCIA*/
public static function crearAudiencia($denuncia_id, $con)
{
$denuncia = DenunciaPeer::retrieveByPk( $denuncia_id );
$audiencia = new Audiencia();
ope it help you.
--
Germana Oliveira
germanaoliveirab arroba gmail punto com
http://626f67.wordpress.com
http://slcarabobo.wordpress.com
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribe
Ok!
I aready did the redirect stuff with:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://bogapp.hosting.com/indepabis/web/$1 [R=301,L]
BUT when i try to acces tho any other link in the principal page or try
to login, symfony show me:
page not found
Oops! An Error Occurred
The
El vie, 05-03-2010 a las 21:49 -0800, Dheeraj Kumar Aggarwal escribió:
> Hi
>
> set the documentRoot of your apache server upto your indepabis/web
>
This is the .htaccess of my x10hosting account
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
order deny,allow
de
Hi.
I have an x10hosting.com acount, i already freeze my project and upload
it to the server, in a directory with myProject name, but:
when i go to my web page : http://bogapp.x10hosting.com/
what i see is:
Index of /
* cgi-bin/
* images/
* indepabis/
* postinfo.html
.
How can i do that in symfony?
PD: im talking about data base connections Not user.
Thanks
--
Germana Oliveira
germanaoliveirab arroba gmail punto com
http://626f67.wordpress.com
http://slcarabobo.wordpress.com
--
If you want to report a vulnerability issue on symfony, please send it to
;>>>> SF_SYMFONY_LIB_DIR/validator/sfValidatorSchema.class.php line 90
> >>>>>>> #23 » in sfValidatorSchema->clean() from
> >>>>>>> SF_SYMFONY_LIB_DIR/validator/sfValidatorSchema.class.php line 246
> >>>>>>> #22 » in sfValidat
Hi !!
I have a couple of little problems going on my app.
THE TIME IS NOT SAVED:
I have this widgets
$this->setWidgets(array(
'fecha_cita' => new sfWidgetFormDate(array('format' => '%day
%-%month%-%year%')),
'hora_cita' => new sfWidgetFormDateTime(array('format' => '%
time
"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?h
HI!!
i have this widget:
$this->widgetSchema['status'] = new sfWidgetFormChoice(array(
'choices' => array(
'' => '-Seleccione-',
'true'=> 'Resuelto',
'false' => 'No Resuelto'
$audiencia->setHoraCita($hora_cita);
$audiencia->save($con);
El mié, 03-02-2010 a las 22:30 +0100, Frank Stelzer escribió:
> What should this snippet do?
> You do not call any setter of your model.
>
>
> btw:
> '.date('Y').'-'.date(
.'-01';
$hora_cita = '-00-00 00:00:00';
$audiencia->save($con);
i have done it like thie before, but this time seems like something is not
right ... i guess is the fecha_cita and hora_cita fields.
some ideas???
PD: No error message is show.
Thanks
irement that you may have. I'm just
> not sure if a merged post validator of a subform is actually taken
> into account by the parent form. But from the parent form you have
> access to all bound values so it's not really a limitation.
>
> On Jan 18, 8:57 pm, Germana Olive
Is there a way to save embedded Forms one by one???
I need to do this to fully fill my systems requirements...
Thanks!!!
--
Germana Oliveira
germanaoliveirab arroba gmail punto com
http://626f67.wordpress.com
http://slcarabobo.wordpress.com
--
You received this message because you are
:43 PM, Germana Oliveira
mailto:germanaolivei...@gmail.com>> wrote:
HI!!
I want to save all my data in uppercase, i wonder if i can do that with
symfony...
Thanks!
--
Germana Oliveira
Correo-e: germanaoliveirab arroba gmail punto com
Blog:
HI!!
I want to save all my data in uppercase, i wonder if i can do that with
symfony...
Thanks!
--
Germana Oliveira
Correo-e: germanaoliveirab arroba gmail punto com
Blog: http://slcarabobo.wordpress.com
http://626f67.wordpress.com
Carabobo, Venezuela
vo();
$this->getObject()->setEmpleadoId( $empleado_id );
$this->getObject()->setFecha( $fecha );
$this->getObject()->setCorrelativo( $correlativo );
$this->getObject()->save($con);
}
Alguien tiene alguna idea???
GRACIAS
Stefan
->getEmpleadoUsuario('id');
$fecha = date('d').'-'.date('m').'-'.date('Y');
$correlativo = Denuncia::obtenerCorrelativo();
$this->getObject()->setEmpleadoId( $empleado_id );
$this->getObject()->setFecha( $fe
>getUser()->getEmpleadoUsuario('id');
$fecha = date('d').'-'.date('m').'-'.date('Y');
$correlativo = Denuncia::obtenerCorrelativo();
$this->getObject()->setEmpleadoId( $empleado_id );
$this->getObject()-
ersona(),
> $this->options );
> $this->embedForm( "persona", $persona_form );
> }
>
> otherwise, the Audienca object won't know what to do with the embedded
> Persona, I guess.
>
> regards
>
> Stefan
>
>
> On Nov 19, 2009, at 5:16 PM, G
ia::obtenerCorrelativo();
$this->getObject()->setOrdenado($ordenado);
$this->getObject()->setCorrelativo($correlativo);
$this->getObject()->setFecha($fecha);
$this->getObject()->setSistema(false);
$this->getObject()->save($con);
--
Germana Oliv
rom Embedded
Form number1)
3. Save embedded Form number2 (this embedded Form have some Foreign Key
from Main Form)
How can i do this???
Can i do something like: $this->saveEmbeddedForms($con,
$form['number1']) , where $form is : $this->getEmbeddedFo
can i do this???
Can i do something like: $this->saveEmbeddedForms($con,
$form['number1']) , where $form is : $this->getEmbeddedForms()
Thanks!!!!
--
Germana Oliveira
Correo-e: germanaoliveirab_at_gmail.com
Blog: http://slcarabobo.wordpress.com
Usuario
ror i want to know what i have to do
to save this 'array' into my table 'inspeccion_fiscal'??? How can i
access the array to manage it??
Thanks
--
Germana Oliveira
Correo-e: germanaoliveirab_at_gmail.com
Blog: http://slcarabobo.wordpres
ccums...@gmail.com>> wrote:
> > render() ?>
> > render() ?>
> >
> > Documentation is a wonderful thing:
> >
> >
> http://www.symfony-project.org/forms/1_2/en/03-Forms-for-web-Designer...
>
>
>
>
>
Im getting this error when i try to edit something:
*Catchable fatal error*: Argument 1 passed to
sfFormPropel::__construct() must be an instance of BaseObject, integer
given, called in
/home/germana/www/indepabis/lib/form/DenunciaForm.class.php on line 71
and defined in
*/usr/local/symfony/
Hi!!
I have a form, it has a field that does not belogn to the model,
everithing is good, until i have to save the form, so i have this:
protected function doSave($con = null)
{
if (is_null($con))
{
$con = $this->getConnection();
}
$this->updateObject();
//some e
Well, the widget has no empty field, so the user is allways going to
chose something...
Eno escribió:
> On Thu, 3 Sep 2009, Germana Oliveira wrote:
>
>
>> I have this Code:
>>
>>
>> class DenunciaForm extends BaseDenunciaForm
>> {
>> pub
I have this Code:
class DenunciaForm extends BaseDenunciaForm
{
public function configure()
{
parent::configure();
$this->widgetSchema['remitido'] = new sfWidgetFormChoice(array(
'choices' => array('f' =>
'Fiscalizacion', 'c' => 'Conciliacion
Question:
Why do you need to know the route??? is it important?? or you just want
to know the module name??
Thomas Rabaix escribió:
> $routes = sfContext::getInstance()->getRouting()->getRoutes();
>
> $route = $routes['Zip'];
>
> You can then have access to the sfRoute object
>
> On Thu, Sep
Eno escribió:
> On Tue, 1 Sep 2009, Germana Oliveira wrote:
>
>
>> BUT I HAVE TWO PROBLEMS:
>>
>> 1. with a new form (isNew):
>> Notice: Undefined offset: 0 in
>> /home/germana/www/indepabis/lib/form/PersonaForm.class.php on line 53
>>
>
I have been doing this:
class DenunciaForm extends BaseDenunciaForm
{
public function configure()
{
...
//embedded forms
if ($this->isNew())
{
$denuncianteForm = new PersonaForm(null, array('natural'));
$denunciadoForm = new PersonaForm(null, arr
I'm wondering how i can save all the values in the data base in lower
case ??? can symfony do that for me??
thanks!!!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, se
e an associated validator.
On Aug 24, 11:07 am, Germana Oliveira
wrote:
> I have this issue:
>
> I have a form, it has 3 fields that shows a defauls values, this defauls
> values are show in pure text, because the user can not modifies it. I
> dont want to put an input hidden becaus
xtra_fields', true);
>
> or add those fields into your widgets and schema
>
> -d
>
>
> ..oO David Wang Oo..
> ..oO blog - http://www.udfi.biz
> ..oO JennieBot - www.jenniebot.com <http://www.jenniebot.com> -
> helping you be a better you!
>
>
lt;http://www.jenniebot.com> -
> helping you be a better you!
>
>
>
>
>
>
> On Aug 25, 2009, at 9:17 AM, Germana Oliveira wrote:
>
>> thanks for that David :D
>>
>> I just got this message:
>>
>> ERROR: Unexpected extra form field named "t
:
>
> hasErrors() ) : ?>
>
> ERROR:
> getErrorSchema()->getErrors() as $name=>$error) : ?>
>
>
> getErrorSchema()->getGlobalErrors() as
> $name=>$error) : ?>
>
>
>
>
>
>
> if your form is not allow
this values in te new and edit
template to show them to teh user.
THANKSSS
Sid Bachtiar escribió:
> Instead of what you have:
>
> $form->bind($request->getParameter($form->getName()),
> $request->getFiles($form->getName()));
>
> Do this:
>
> $values =
;getDenunciaDia().'-'.date('M').date('y'))
);
so my question: my bind array ??
THANKS
David Wang escribió:
> pop the value into your bind array before you bind the form to it.
>
>
>>$form->bind($request->getParameter($form->getName()),
I have this issue:
I have a form, it has 3 fields that shows a defauls values, this defauls
values are show in pure text, because the user can not modifies it. I
dont want to put an input hidden because it can be modified easily by
tool like fireBug. So i wonder if i can set the values interna
et?
>
> Maybe
>
> return $this->renderText(json_enconde($resultado));
>
> should be
>
> return $this->renderText(json_encode($resultado));
>
>
> James
>
> On Aug 20, 10:20 pm, germana wrote:
>
>> Please !!! somebody knows about JSON
> Please !!! somebody knows about JSON ?
>>
>> THANKS!
>>
>> On 21 ago, 08:48, Germana Oliveira wrote:
>>
>>
>>> I have been trying to do what the book says:
>>>
>>> >> '
I have been trying to do what the book says:
'denuncia/changeTipoPersona',
'with' => "'persona=' + value ",
'complete' => 'actualiza(Ajax)'
))?>
And the actions:
public function executeChangeTipoPersona(sfWebRequest $request)
{
$tipo_persona =
TipoPersonaPeer::ret
!!!
___
Hi, here's a good article that helped me... doesn't use Ajax but you
could probably quite easily hook the delete button to an Ajax helper:
http://redotheoffice.com/?p=42
On Thu, Aug 6, 2009 at 10:06 PM, Germana Oliveira
mailto:germanaolivei...@gmail.com>> wrote:
Hi!!
I had the same problem, and i solved it like this:
in my Form Class,
$this->setDefault('[widget Name]', '[default value]');
good luck!!!
_
Thanks, however this didn't work.
I have tried to use either the value I want to put as default or a
dummy
Hi!!
i just want to know if somebody knows a way to delete a embedded form
from actions Class.
I need to do this interactively using ajax.
THANKS!!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" g
Saludos!!
Quisiera saber si existe alguna forma rapida/facil (a la manera symfony)
de hacer que un registro no se guarde dos veces, por ejemplo, si tengo
una tabla persona y deseo que cada persona tenga un unico numero de
'identificacion', existe alguna forma de que symfony sepa que solo debe
Hi!
I have been reading tha 'ajax integration' chapter from symfony book,
but i haven't figured out how to make it work.
The thing is:
I want that when i select something in a combo box (1st. combo) the
options in the 2th. combo change.
Until now i have this.
First i have de form:
$this->for
Here i give you my code. (i speak Spanish, so im gonna try to translate
what i did )
- I have a form named 'Denuncia', in this form i embed 1 form 2 times.
widgetSchema['fecha'] = new sfWidgetFormInputHidden();
$this->widgetSchema['correlativo'] = new sfWidgetFormInputHidden();
$this-
Hi , i have this :
> $this->widgetSchema['estado_id'] = new sfWidgetFormPropelChoice(array(
>'model' => 'Estado',
>'add_empty' => false,
>'order_by' => array('Nombre', 'asc'),
>'default'=> '$estado_id->getId()',
> ));
But it just does not wo
Hi!!
Im trying to access my embedded form from my actions class, so i can set
a default value to a combo Box, i did this:
$this->form['embeded_form']->setDefault('combo', 'value');
But this comes:
*Fatal error*: Call to undefined method sfFormFieldSchema::setDefault()
in
*/home/germana/www/i
I tried what you tell me but this error comes out:
Unable to set the label on an unexistant widget ("from_date").
something like this should work.
$this -> widgetSchema -> setLabel("from_date", "From");
Daniel
i solved this making another Form for my backend and other for my
frontend , coz i need to customize each one with differents requirements .
-
And what's the matter? :)
On Thu, Jul 23, 2009 at 00:52, Germana
Oliveira wrote:
&
Hi!!
Im trying to customize my UserFormFilter, so i have this in my setWidget:
...
'created_at'=> new
sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(),
'to_date' => new sfWidgetFormDate(), 'with_empty' => true)),
...
How can i change the labels of: 'fr
I do not know how to do it ¿¿??
___
And what's the matter? :)
On Thu, Jul 23, 2009 at 00:52, Germana
Oliveira wrote:
>
> HI!!
>
> what i want to do is to save (update) but just some values (fileds) and
> keep the values o
HI!!
what i want to do is to save (update) but just some values (fileds) and
keep the values of others.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send ema
default value in your schema.yml
Otherwise, in your action do something like:
$myObject = new myObject();
$myObject->setEstadoId(4);
$this->form = new myObjectForm($myObject);
Germana Oliveira wrote:
> I have a PropelChoice in my Form class and im trying to do this:
&
I have a PropelChoice in my Form class and im trying to do this:
$this->widgetSchema['estado_id']->setDefault(4);
But it does not work.
What i want is to pre select a default option in my template:
Aragua
Apure
Anzoategui
Carabobo
Barinas
Bolivar
GRACIAS
--~--~-~--~~---
Saludos!!
Queria saber sus opiniones acerca de este plugin, si alguien lo ha
usado, y si en algun lado hay mas documentacion.
O si alguien ha usado algun otro plugin
gracias
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
Hi!!
two questions:
1. How can i set a default value for an input hidden.
2. can i do: $this->getUser()->getGuardUser()->getUsername() from my
Form class?? or should i do it in other way???
THANKS!!
--~--~-~--~~~---~--~~
You received this message because you a
if you want to modify the backend - admin, you have to do it using the
generator.yml of every module (at least that is what i understood).
read the symfony's book chapter about it.
___
Hi All,
I'm struggling to get this to work properly, I've
ed to create the actions directory.
Hope that helps.
Germana Oliveira wrote:
> Hi!!
>
> just one little thing..
>
> How can i modify the HTML in the admin module generate by sfGuard??
>
>
> >
>
--~--~-~--~~~---~--~~
You re
Do you know if your PHP configuration is with --enable-ctype, or if you
compile it with --enable-ctype ??
__
Hi Guys,
I am new to symfony, just trying to set it up for the first time, I am
going throught the instructions and when I run:
php lib/vendor/s
Hi!!
just one little thing..
How can i modify the HTML in the admin module generate by sfGuard??
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-
ok...
in my app.yml i have this:
all:
mail:
webmaster: 'webmas...@indepabis.gob.ve'
sf_guard_plugin:
success_signin_url: /intranet.php
success_signout_url: @homepage
sf_menu_generator:
opciones:
text: 'Opciones'
items: [inicio, calendario, denunc
rd_helpers: [Partial, Cache, Form, MenuGenerator,
Javascript]
#
# Activated modules from plugins or from the symfony core
enabled_modules:[default, sfGuardAuth, sfMenuGenerator]
THANKS
___
Hi Germana,
Can you show us some code?
Thanks.
G
Hi!!!
im getting this error:
Unable to find a matching route to generate url for params "NULL".
what can i be missing???
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To
Hi!!!
im getting this error:
Unable to find a matching route to generate url for params "NULL".
what can i be missing???
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To
Hi!!!
im getting this error:
Unable to find a matching route to generate url for params "NULL".
what can i be missing???
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To pos
MY GOD!
thank U very much ! :D
___
It needs to be encrypted in the database.
- Jon
On Wed, Jul 8, 2009 at 4:13 PM, Germana Oliveira
mailto:germanaolivei...@gmail.com>> wrote:
Should it be encrypted to valid
Should it be encrypted to validate it
The password is not encrypted in the database.
- Jon
On Wed, Jul 8, 2009 at 3:59 PM, Germana Oliveira
mailto:germanaolivei...@gmail.com>> wrote:
Hi!!!
i have this on sf_guard_user in
Hi!!!
i have this on sf_guard_user in my sql DB:
mysql> select * from sf_guard_user;
++--+---+--+--+++---++
| id | username | algorithm | salt | password | created_at | last_login
| is_active | is_super_admin |
+---
Yes, i did that, i worked fine..
But now im getting this error:
The template "indexSuccess.php" does not exist or is unreadable in "".
it try to go ti the indexSuccess Template of my sfGuardAuth module when
i try to login, an of course it does not exist...
__
Hi the
Hi!!
I have a login Form in my layout (in the Public app), i create this form
using the sfGuardPlugin, like this:
in my layout, i have a component:
in components.class.php, i create that form:
public function executeSigninForm()
{
$class = sfConfig::get('app_sf_guard_plugin_signin_form',
's
83 matches
Mail list logo