[symfony-users] generate-admin and theme

2008-12-13 Thread mapelo
Is there anything especial to activate the default theme for created modules with symfony --theme=admin doctrine:generate-admin? The generated pages do not seem to show any theme: there is no color, no border lines for tables... nothing at all, except text and links Thanks (Symfony 1.2.1 wit

[symfony-users] Re: can't get a value from a double primary key

2008-12-12 Thread mapelo
Perhaps, this is the same bug: http://trac.symfony-project.org/ticket/2895 On 12 dic, 22:42, mapelo wrote: > In my project there is a table with a double primary key, like this: > > schema: >   matricula_x_criterio_evaluacion: >     _attributes: { phpName: MatriculaXCri

[symfony-users] can't get a value from a double primary key

2008-12-12 Thread mapelo
In my project there is a table with a double primary key, like this: schema: matricula_x_criterio_evaluacion: _attributes: { phpName: MatriculaXCriterioEvaluacion } matricula_id: { type: INTEGER, size: '10', primaryKey: true, required: true, foreignTable: matricula, foreignReference: m

[symfony-users] Re: id for a record in sf_guard_user

2008-12-11 Thread mapelo
t; echo ""; > > //print_r or var_dump depending on > //if you prefer latte or expresso :) > > print_r($this->getUser()->getGuardUser()); > > echo ""; > //do a clean exit > exit(); > > On Thu, Dec 11, 2008 at 8:10 AM, mapelo <[EMAIL PROTECT

[symfony-users] id for a record in sf_guard_user

2008-12-10 Thread mapelo
How to know the id for a record into sf_guard_user (from fooPeek.php)? I know username value. --~--~-~--~~~---~--~~ 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

[symfony-users] Re: permanent filter

2008-12-09 Thread mapelo
This can add a permanent filter , but the optional filter are losing public function executeIndex(sfWebRequest $request) { //filtro permanente en action index $this->filters = $this->configuration->getFilterForm($this- >getFilters()); $this->filters->bind($request->getParameter($

[symfony-users] permanent filter

2008-12-09 Thread mapelo
How to create a permanent filter via a modification of executeFilter (sfWebRequest $request)? How I can modify $request? For example, into the class action of the module, this does not work for filter all the records with field 'materia_id' = 1 public function executeFilter(sfWebRequest $reques