);
And, another weir theing (i think) is that no matter what i select in
the created_at field, even if it is blank is always in the SELECT:
SELECT COUNT(*) FROM `denuncia` WHERE (denuncia.CREATED_AT=:p1 AND
denuncia.CREATED_AT=:p2)
Any idea?? Thanks :D
--
Germana Oliveira
http://626f67
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
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, please send it to
security
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 golovin.de...@gmail.com
Filter - is the same thing as form.
Just use
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
security
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
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
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
to
symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@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.wordpress.com
http://slcarabobo.wordpress.com
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();
it to: public_html/myapplication/web
i hope 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
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*
Limit GET POST
order
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
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
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
security at symfony
.
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@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
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%'))
...@googlegroups.comsymfony-users%2bunsubscr...@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.wordpress.com
http://slcarabobo.wordpress.com
--
You received this message
HI!!
i have this widget:
$this-widgetSchema['status'] = new sfWidgetFormChoice(array(
'choices' = array(
'' = '-Seleccione-',
'true'= 'Resuelto',
'false' = 'No Resuelto'
';
$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!!!
--
Germana Oliveira
germanaoliveirab arroba gmail punto com
http://626f67
escribió:
What should this snippet do?
You do not call any setter of your model.
btw:
'.date('Y').'-'.date('m').'-01' - date('Y-m').'-01' looks better :P
Am 03.02.2010 um 22:23 schrieb Germana Oliveira:
im trying to make the system to save some data, so i do this:
$audiencia
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
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 Oliveira 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: http://slcarabobo.wordpress.com
http://626f67.wordpress.com
Carabobo, Venezuela
, 2009, at 1:43 AM, Germana Oliveira wrote:
Wel i have this in my lib/form/AudienciaForm.class.php
public function configure()
{
if ($this-isNew())
{
$conciliadorForm = new AudienciaConciliadorForm();
$denuncianteForm = new PersonaForm(null, array('tipo' =
'natural
( $fecha );
$this-getObject()-setCorrelativo( $correlativo );
$this-getObject()-save($con);
}
Do you have an idea what is happening???
THANKS
Stefan Paschke escribió:
Hi Germana
On Nov 20, 2009, at 1:43 AM, Germana Oliveira wrote:
Wel i have this in my lib/form
()-setFecha( $fecha );
$this-getObject()-setCorrelativo( $correlativo );
$this-getObject()-save($con);
}
Do you have an idea what is happening???
THANKS
Stefan Paschke escribió:
Hi Germana
On Nov 20, 2009, at 1:43 AM, Germana Oliveira wrote:
Wel i have this in my lib/form
');
$correlativo = Audiencia::obtenerCorrelativo();
$this-getObject()-setOrdenado($ordenado);
$this-getObject()-setCorrelativo($correlativo);
$this-getObject()-setFecha($fecha);
$this-getObject()-setSistema(false);
$this-getObject()-save($con);
--
Germana Oliveira
Correo-e
19, 2009, at 5:16 PM, Germana Oliveira wrote:
Stefan Paschke escribió:
Hi Germana
I have to embedded Forms into a main Form, and i have to do this process:
1. Save the embedded Form number1
2. Save the main Form (the main Form have some Foreing Key from Embedded
Form
['number1']) , where $form is : $this-getEmbeddedForms()
Thanks
--
Germana Oliveira
Correo-e: germanaoliveirab_at_gmail.com
Blog: http://slcarabobo.wordpress.com
Usuario Linux : #493487
Carabobo, Venezuela.
--~--~-~--~~~---~--~~
You received
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 Linux : #493487
() ?
Documentation is a wonderful thing:
http://www.symfony-project.org/forms/1_2/en/03-Forms-for-web-Designer...
--
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc
--
Germana Oliveira
Movilnet: 0426 7457105
Digitel:0412
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
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
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
{
public function configure()
{
parent::configure
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 3, 2009
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')
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
Were these form classes generated from models?
Yes
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,
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,
://www.jenniebot.com -
helping you be a better you!
On Aug 24, 2009, at 6:17 PM, Germana Oliveira wrote:
I did this:
protected function processForm(sfWebRequest $request, sfForm $form)
{
$valores = $request-getParameter($form-getName());
$this-obtenerParametros($request
, at 9:17 AM, Germana Oliveira wrote:
thanks for that David :D
I just got this message:
ERROR: Unexpected extra form field named tipo_persona_id.
Unexpected extra form field named tipo_identificacion. Unexpected
extra form field named estado_id. Unexpected extra form field named
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!
On Aug 25, 2009, at 9:17 AM, Germana Oliveira wrote:
thanks for that David :D
I just got
validator.
On Aug 24, 11:07 am, Germana Oliveira germanaolivei...@gmail.com
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 because it can
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
-bind($request-getParameter($form-getName()),
..oO David Wang Oo..
..oO blog - http://www.udfi.biz
..oO JennieBot - www.jenniebot.com - helping you be a better you!
On Aug 24, 2009, at 1:07 PM, Germana Oliveira wrote:
I have this issue:
I have a form, it has 3 fields
you!
On Aug 24, 2009, at 1:07 PM, 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 because it can be modified
!
On 21 ago, 08:48, Germana Oliveira germanaolivei...@gmail.com wrote:
I have been trying to do what the book says:
?php echo observe_field('denuncia_denunciante_tipo_persona_id', array(
'url' = 'denuncia/changeTipoPersona',
'with' = 'persona
20, 10:20 pm, germana germanaolivei...@gmail.com wrote:
Please !!! somebody knows about JSON ?
THANKS!
On 21 ago, 08:48, Germana Oliveira germanaolivei...@gmail.com wrote:
I have been trying to do what the book says:
?php echo observe_field
I have been trying to do what the book says:
?php echo observe_field('denuncia_denunciante_tipo_persona_id', array(
'url' = 'denuncia/changeTipoPersona',
'with' = 'persona=' + value ,
'complete' = 'actualiza(Ajax)'
))?
?php echo javascript_tag(
function
!!!
___
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
germanaolivei...@gmail.com 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
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:
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.
?php
/**
* Denuncia form.
*
* @packageindepabis
* @subpackage form
* @author Your name here
* @versionSVN: $Id:
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
On Jul 22, 8:08 pm, Germana Oliveira
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
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 work ...
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
I do not know how to do it ¿¿??
___
And what's the matter? :)
On Thu, Jul 23, 2009 at 00:52, Germana
Oliveiragermanaolivei...@gmail.com wrote:
HI!!
what i want to do is to save (update) but just some values (fileds) and
keep the values of others.
Thanks
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:
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
the
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:
$this-widgetSchema
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
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 are
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,
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
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
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 received this message because you are subscribed
, 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.
Germana Oliveira wrote:
Hi!!!
im getting
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:
?php include_component('inicio','signinForm') ?
in components.class.php, i create that form:
public function executeSigninForm()
{
$class =
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 there,
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 |
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
germanaolivei...@gmail.com mailto:germanaolivei...@gmail.com wrote:
Hi!!!
i have
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
germanaolivei...@gmail.com mailto:germanaolivei...@gmail.com wrote:
Should it be encrypted to validate
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 post
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
78 matches
Mail list logo