Hi Thierry,
you can change the file structure (as described here:
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/22#chapter_22_customizing_the_directory_structure)
_but_ I would not recommend it. Especially when you start using
symfony I would recommend sticking to the default structure.
Hey Michael,
I see that your pared down version is still pretty big. :)
To get straight to the point: I don't think that my plugin will work for you as
it is right now. The use-case I'm supporting right now is:
[I'm using my earlier example again]
one Project has many Repositories
[which is
Hi:
I've get the Apostrophe Sandbox for give a try. When I run the command:
doctrine:build --all I get this error:
doctrine creating tables
SQLSTATE[25P02]: In failed sql transaction: 7 ERROR: current
transaction is aborted, commands ignored until end of transaction block.
Failing
Hello Daniel,
Don't be hard on yourself. It's only us newbies that probably are stumbling
on this. You've given me a hint as to what to look for in reworking your
plugin. I'll see if I can adapt it to my purposes--a bit of a longshot, but
I'll share my results if successful.
Best of luck with
The error you mention is a Postgres error, not a MySQL one, so you are
probably not using our unmodified sandbox, you probably are trying to
set it up for Postgres.
We're open to including patches for Postgres that don't break MySQL or
SQLite, but we don't use Postres in-house.
Hmm, is this all
Hi,
I'm building a website in which I want to allow users to add widgets
to their profile page.
There would be several types of widgets like PhotoAlbumWidget,
NewsWidget, ...
Each user could have one widget of each widget type,
and choose between several types for each widget,
ie
I have a slightly odd case I'm trying to figure out:
I have two model classes, defined with the following schema:
Widget:
columns:
title: { type: string, notnull: true }
description: { type: string }
FeaturedWidgetStatus:
actAs:
Sortable: ~
columns:
This is my first attempt:
config/doctrine/schema.yml:
---
User:
actAs:
Sluggable:
unique: true
fields: [first_name, last_name]
columns:
first_name: string(25)
last_name:string(25)
UserNewsWidget:
columns:
I think user is a reserved word :) Try changing the table name.
- Jon
On Sun, Feb 21, 2010 at 6:48 PM, ju1ius jules.berna...@gmail.com wrote:
This is my first attempt:
config/doctrine/schema.yml:
---
User:
actAs:
Sluggable:
unique: true
Thanks for your quick answer, but I changed all occurences of 'user'
by 'testuser'
and I still have the same error.
Which is pretty weird since it since unrelated with the inheritance
stuff...
Anyway, any advice on the design question ?
On 22 fév, 00:50, Jonathan Wage jonw...@gmail.com wrote:
I
Hi,
I was wondering waht is the best way to include javascript with or
without ajax.
In a normal layout, there is an include of the javascripts file.
include_javascript()
But I dont want to include them again in the ajax layout.
I use often a single js file with livequery. But I am wondering
Ultimately, symfony is totally 100% open. The advice given in the
documentation is (now) a conglomeration of best practices that have
been discovered as symfony has matured. Because of symfony's openess
you can change anything you like, but because of symfony's maturity
the documentation points
Just to add, the book hasn't been fully released yet but I would
highly advise every person new to symfony to actually read the
Definitive Guide to symfony. You will find it available for older
versions of symfony than 1.3/1.4 but its a great way to give you
insight into the inner workings. I'd
Ah, the issue is that foreign keys and primary keys must be exact same type,
length, etc. in mysql and other dbms. Your foreign key is length 4 but the
default primary key is not 4. Try explicitly defining your primary key and
making sure it is the same as your foreign keys.
As for the design, I
Sorry for the delay in getting this up. HD (720p) uploads to Vimeo.com
kept failing. So here is a lower resolution version.
Enjoy and of course thanks to all Symfony devs and sflive2010
organisers!
http://www.vimeo.com/9636197
--
You received this message because you are subscribed to the
The video is private, is it normal? :x
Le 22 févr. 2010 à 08:54, Ben Haines a écrit :
Sorry for the delay in getting this up. HD (720p) uploads to Vimeo.com
kept failing. So here is a lower resolution version.
Enjoy and of course thanks to all Symfony devs and sflive2010
organisers!
16 matches
Mail list logo