I have two tables: headline, review. One-to-many relationship, i.e.
many reviews may belongs to one headline.
1. symfony doctrine:generate-admin backend BookHeadline is successful.
I can go to the backend by /book_headline and admin the headline data;
2. symfony doctrine:generate-admin backend Boo
Hello!
What's the problem? Building forms, rendering in your template file or
writing doctrine queries?
first of all you need to customize your JobForm.class.php:
sfWidgetFormDoctrineChoice()
please give us more details and you will get more feedback.
Ciao
On 13 Mrz., 01:02, Belgacem TLILI w
i have this class
job:
connection: doctrine
tableName: job
columns:
id_marchandise:
type: integer(4)
primary: true
autoincrement: true
category:
type: string(50)
sub_category:
type: string(50)
i would like have the data of this table in (of my databas
great, thanks!
On Mar 12, 3:42 am, Lea Hänsenberger wrote:
> Additionally set transport class to Swift_NullTransport to avoid this:
>
> dev:
> mailer:
> param:
> delivery_strategy: none
> transport:
> class: Swift_NullTransport
>
> Cheers,
> Lea
>
> On Mar 12, 2010, at 3
Hey Scott,
I guess you're right.. if the aggregate logger registers itself for
the application.log event, it will simply stuff those log messages
down into it's contained loggers, regardless of whether they are
listening for this event themselves. Frankly, I think we have
established that symfony
Here is what I did, in my BaseForm class I added this method:
public function setValue($field, $value){
if(!in_array($field, array_keys($this->values))){
throw new sfException(sprintf('Unkown field" "%s" in
"%s" object.',
$field, get_class($this)));
On Fri, Mar 12, 2010 at 2:00 AM, Gareth McCumskey wrote:
> In your template:
>
> image_tag($sf_config->get('sf_upload_dir').'/myImages/'.$image_name)
> ?>
>
> The $sf_config variable is a copy of the sfConfig object used in the actions.
Thank you, but I'm afraid that didn't work. Instead, it pri
Acá esta el tutorial para doctrine
Here is the tutorial for doctrine
Best Regards!
On 11 mar, 06:26, Tahar Yazid Touaibia wrote:
> Hello,
> I am new to symfony, i just installed it and am trying to follow the
> jobeet tutorial. When i run the following command i got an error :
> php symfony pro
what version of symfony are you using? if you're using 1.3/1.4 so ...
maybe you create the project with default configuration (Doctrine) and
that is why Propel task does not exist. If you are starting to learn
symfony I recommend you learn Doctrine because that's the future of
Symfony. Grettings fr
That worked just fine! Thanks a bunch.
A.
> -Oorspronkelijk bericht-
> Van: symfony-users@googlegroups.com
[mailto:symfony-us...@googlegroups.com]
> Namens Syam
> Verzonden: vrijdag 12 maart 2010 15:14
> Aan: symfony-users@googlegroups.com
> Onderwerp: Re: [symfony-users] Doctrine quest
Hi,
Try this :
Channel:
actAs: { Timestampable: ~ }
columns:
sender_id: { type: integer, notnull: true }
receiver_id: { type: integer, notnull: true }
relations:
SenderProfile: { local: sender_id, foreign: id, class: Profile}
ReceiverProfile: { local: receiver_id, foreign: id, cla
I have the following yaml schema:
Profile:
# blah blah
Channel:
actAs: { Timestampable: ~ }
columns:
sender_id: { type: integer, notnull: true }
receiver_id: { type: integer, notnull: true }
relations:
Profile: { local: sender_id, foreign: id }
How can I relate receiver_id to
On 12 Mar, 05:10, Tahar Yazid Touaibia wrote:
> in the tutorial, i did not see any instruction concerning :
> --orm=Propel
http://www.symfony-project.org/jobeet/1_4/Propel/en/01#chapter_01_sub_project_creation
--
If you want to report a vulnerability issue on symfony, please send it to
securit
Hi,
I'm write sfUserOnlinePlugin then put package.xml file into root
plugin directory with next content:
http://pear.php.net/dtd/package-2.0";
xmlns:tasks="http://pear.php.net/dtd/tasks-1.0"; xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance" packagerversion="1.9.0"
version="2.0" xsi:schemaL
No one?
On Mar 10, 10:52 pm, lxtechie wrote:
> Hi
>
> If been trying to use doctrine's inheritance feature . I add my own
> primary key in the child table (in this case "my_id") but if I try and
> use a filter in the backend I get the following error :
> SQLSTATE[HY093]: Invalid parameter number:
Additionally set transport class to Swift_NullTransport to avoid this:
dev:
mailer:
param:
delivery_strategy: none
transport:
class: Swift_NullTransport
Cheers,
Lea
On Mar 12, 2010, at 3:22 , Kevin wrote:
> When the delivery strategy is set to none should swift mailer
Hi,
i have installed sfDoctrineGuardExtraPlugin.
When i execute sfGuardRegister/register i found a form with username,
email, password, and confirmation password.
Now i want to remove the field 'username' from the form. For that i have
written this
class sfGuardFormRegister extends BasesfG
17 matches
Mail list logo