2010/1/25 Olivier LOYNET olivierloy...@gmail.com:
Hi,
I've two tables :
- Profile table
- Organism table with an embedded relation (1,1)
The Profile table have Timestampable behaviour like this schema :
Profile:
tableName: profile
actAs:
Timestampable: ~
columns:
id:
Hi,
Perhaps it's not the best method, but you can use the method
postUpdate of the Doctrine model class of Organism to update the
Profile.
Just the opposite in ur case, use the postUpdate method of the
Profile model class to update Organism.
--
You received this message because you are
.
Fabien
2009/10/30 FlyLM [ML] flylm...@gmail.com:
Hi,
I use admin generator to manage my sf_guard_user in my backend.
The project is under Symfony 1.3 (trunk) and I use
sfDoctrineGuardPLugin from the trunk too.
When I save (edit) I get this error :
Unknown method sfGuardUser
Hello,
I use Symfony 1.3 (with doctrine) and my application database schema
overrides the database schema of the plugin sfDoctrineGuardPlugin.
My sf_guard_user definition look like that :
**
sfGuardUser:
actAs:
I just try with an other computer, I've updated the working copy and
the data-load works fine ^^
Sorry for the noise.
Fabien
2009/10/29 FlyLM [ML] flylm...@gmail.com:
Hello,
I use Symfony 1.3 (with doctrine) and my application database schema
overrides the database schema of the plugin
Hi,
I use admin generator to manage my sf_guard_user in my backend.
The project is under Symfony 1.3 (trunk) and I use
sfDoctrineGuardPLugin from the trunk too.
When I save (edit) I get this error :
Unknown method sfGuardUser::reloadGroupsAndPermissions
If I remove goups_list from the form
You have a solution here (hope that bug will be corrected in 1.2.8) :
http://trac.symfony-project.org/ticket/5617
Fabien
2009/6/14 Sid Ferreira sid@gmail.com:
Please, take a look on http://trac.symfony-project.org/ticket/6617
Thanks
--
Sidney G B Ferreira
Desenvolvedor Web
Hi,
I've finished a project under Symfony / Doctrine. Developers have
worked on Mac OS X and Windows.
When I try to install the project on Linux (Gentoo, PHP 5.2.9), the
task doctrine:build-sql fails with this error :
Fatal error: Class 'I18N' not found in
I've the same problem on a Debian Dedicated server :-(
2009/6/3 FlyLM [ML] flylm...@gmail.com:
Hi,
I've finished a project under Symfony / Doctrine. Developers have
worked on Mac OS X and Windows.
When I try to install the project on Linux (Gentoo, PHP 5.2.9), the
task doctrine:build-sql
);
if( $isNew )
{
// Set the group, here customer
$group = Doctrine::getTable('sfGuardGroup')-findOneByName('customer');
$this-getObject()-link('groups', $group-getId());
}
}
[]
}
Fabien
Best Regards,
Campezzi
On May 25, 12:53 pm, FlyLM [ML] flylm
Hi,
If you have always sfDoctrineGuardPlugin installed, take a look at
this file line 84 (savegroupsList method)
/lib/form/doctrine/sfDoctrineGuardPlugin/base/BasesGuardUserForm.class.php
= $this-object-link('groups', array_values($link));
Fabien
2009/5/25 Campezzi campe...@gmail.com:
Hi
2009/5/13 FlyLM [ML] flylm...@gmail.com:
Hello,
I use Admin Generator to allow Admin users to update the local part of
an object.
The shema's object is defined like below :
ubCgu:
actAs:
Timestampable: ~
I18N:
fields: [content]
className: %CLASS%I18n
columns
Hello,
I use Admin Generator to allow Admin users to update the local part of
an object.
The shema's object is defined like below :
ubCgu:
actAs:
Timestampable: ~
I18N:
fields: [content]
className: %CLASS%I18n
columns:
country_iso: { type:string(2),
Hi,
I've just try the admin generator and I don't find the way to do
what I really want.
- First, I would like to use a custom method to list my objects. I
know I can use table_method directly in the configuration file, but
I need to pass data to this function (data depends on authenticated
2009/5/12 FlyLM [ML] flylm...@gmail.com:
Hi,
I've just try the admin generator and I don't find the way to do
what I really want.
- First, I would like to use a custom method to list my objects. I
know I can use table_method directly in the configuration file, but
I need to pass data
data, so I didn't try. Extend actions methods works fine.
Alecs
On Tue, May 12, 2009 at 6:31 PM, FlyLM [ML] flylm...@gmail.com wrote:
Hi,
I've just try the admin generator and I don't find the way to do
what I really want.
- First, I would like to use a custom method to list my
2009/4/20 FlyLM [ML] flylm...@gmail.com
Hi,
I want to set the real culture of my user at initialization. I've a very
strange issue with Doctrine and culture.
The application have the default culture set to en.
For the example, I put this in an action method :
[...]
$this-getUser-setCulture
Hi,
I have a problem to get the translation of a column using I18n doctrine
behavior.
My yaml schema is :
ubRoom:
actAs:
I18N:
fields: [label]
className: %CLASS%I18n
columns:
id: { type:integer(2), primary:true, autoincrement: true }
country_iso: { type:string(2),
create a link between this
associative Translation array and the property or the value return by the
method of the objet.
Bertrand
Le 20 avr. 09 à 17:01, FlyLM [ML] a écrit :
When I run the request without specify the current culture, I can't
get any data with a -getLabel() ou -label
value of the column.
2009/4/20 FlyLM [ML] flylm...@gmail.com
2009/4/20 Bertrand Zuchuat bertrand.zuch...@rero.ch
Hello,
Add -leftJoin('r.Translation t') in your query.
But I can't access the localized value with getLabel method or label
object property.
I need to use the Translation
Hi,
I want to set the real culture of my user at initialization. I've a very
strange issue with Doctrine and culture.
The application have the default culture set to en.
For the example, I put this in an action method :
[...]
$this-getUser-setCulture('fr');
$this-test =
2009/4/20 Adrien Mogenet adrien.moge...@gmail.com
Hi all,
there is something - strange ? - that I don't understand.
Let say I have a field updated_by within the class user.
In the class form :
public function configure()
{
..
$this-setDefault('updated_by', '42');
...
}
Try
2009/4/9 Pierre Bastoul pie...@o10c.fr:
Hi,
I don't understand why the default symfony 404 error page return a 200 OK
http status and not the good 404 status.
I am running symfony 1.2.5 on apache2.
I get a 404 code with the default symfony 404 page on the same version of sf.
?
2009/4/9 FlyLM [ML] flylm...@gmail.com
2009/4/9 Pierre Bastoul pie...@o10c.fr:
Hi,
I don't understand why the default symfony 404 error page return a 200
OK
http status and not the good 404 status.
I am running symfony 1.2.5 on apache2.
I get a 404 code with the default symfony 404 page
advises about this ?
Fabien
- Jon
On Thu, Apr 9, 2009 at 7:44 AM, FlyLM [ML] flylm...@gmail.com wrote:
2009/4/8 FlyLM [ML] flylm...@gmail.com:
2009/4/8 FlyLM [ML] flylm...@gmail.com:
Hello,
I have started my first real project with Symfony and I've some
problems and questions.
1) I
Hello,
I have started my first real project with Symfony and I've some
problems and questions.
1) I use Doctrine as ORM and I18N Behavior in my schema.yml file to
declare localized fields.
Localized tables were generated with a columns named lang. I would
like to have a relation between this
26 matches
Mail list logo