Hi, I'm a beginner to symfony.
I don't know where I could get the reference to my problem. How to
make a (propel?) model with more than a foreign key to a table. Let
say I have 2 tables, user and document.
propel:
user:
id:
name:varchar(255)
document
id:
title:
use this syntax in your schema.yml
propel:
user:
id:
name:varchar(255)
document
id:
title:varchar(255)
owner_id: { type: integer, foreignTable: user,
foreignReference: id }
creator_id: { type: integer, foreignTable: user,
foreignReference: id }
When you need multiple editors use:
propel:
user:
id:
user_doc:
id:
owner:
user_edit_link:
user_id:
document_id:
created_at:
Or simulair.
Adriaan
On 15/06/07, scube [EMAIL PROTECTED] wrote:
use this syntax in your schema.yml
propel:
user:
id:
name:
Hi list,
I've just added a plugin that enable you to easily add a map into a
Symfony application.
This plugin isn't very advanced, but you can already do some fun
stuff. More info here :
http://trac.symfony-project.com/trac/wiki/sfGMapsPlugin
If you have suggestions, bug reports (there are no
elbouillon wrote:
Hi list,
I've just added a plugin that enable you to easily add a map into a
Symfony application.
This plugin isn't very advanced, but you can already do some fun
stuff. More info here :
http://trac.symfony-project.com/trac/wiki/sfGMapsPlugin
If you have suggestions,
elbouillon wrote:
Hi list,
I've just added a plugin that enable you to easily add a map into a
Symfony application.
This plugin isn't very advanced, but you can already do some fun
stuff. More info here :
http://trac.symfony-project.com/trac/wiki/sfGMapsPlugin
If you have suggestions,
On 15 Jun 2007, at 14:24, Matthias Nothhaft wrote:
elbouillon wrote:
http://trac.symfony-project.com/trac/wiki/sfGMapsPlugin
I did't have a look at it yet but I suggest to rename it to
sfGoogleMapsPlugin
Seconded.
And this sounds really useful, and I could use it for my current
project.
It's realy cool. One of the things that can be done better is the
Propel support...
On 15/06/07, Alexander Deruwe [EMAIL PROTECTED] wrote:
On 15 Jun 2007, at 14:24, Matthias Nothhaft wrote:
elbouillon wrote:
http://trac.symfony-project.com/trac/wiki/sfGMapsPlugin
I did't have a look at
On 8 Giu, 09:55, Sébastien CAS [EMAIL PROTECTED] wrote:
Hi all,
I use a admin_input_file_tag field in a form.
I have created a validate.yml to control this field.
It works fine when I create a new record.
But when I want to update a record, I've got a problem.
The admin_input_file_tag
ranonE a crit:
On 8 Giu, 09:55, Sbastien CAS [EMAIL PROTECTED] wrote:
Hi all,
I use a "admin_input_file_tag" field in a form.
I have created a validate.yml to control this field.
It works fine when I create a new record.
But when I want to update a record, I've got a problem.
Is there some fast and good method for making sync with a hosting
provider of a local Symfony app.
The application is no my local subversion server and i use my machine
as my dev server, im thinking in having a branch for the stable
version and trunk will be for unstable after i made changes to
You can find the detail in the book online in chapter 16. But
basically once setup you just need to do a 'symfony sync production
go' and it will update your server.
Gerald
On Jun 15, 11:52 pm, Rafael George [EMAIL PROTECTED] wrote:
Is there some fast and good method for making sync with a
Hi,
I just looked at the plugin.
I don't know the api but I only see insert methods in the plugin.
Is it also possible to read and update data via the sugar api?
Would make less sense to me if it wouldn't be possible, e.g. to update
user data - or to fetch a new product from sugerCRM into a
Say I have 2 apps:
frontend
backend
I want
domain.com - frontend
backend.domain.com - backend
I could do this in the .htaccess file assuming frontend is in the
index.php file
# backend web controller?
RewriteCond %{HTTP_HOST} ^backend\..+$ [NC]
RewriteRule ^(.*)$ backend.php [QSA,L]
#
Jon Todd a crit:
Say I have 2 apps:
frontend
backend
I want
domain.com - frontend
backend.domain.com - backend
I could do this in the .htaccess file assuming frontend is in the
index.php file
# backend web controller?
RewriteCond %{HTTP_HOST} ^backend\..+$ [NC]
RewriteRule ^(.*)$
Nicolas,
Thanks for the link. I did test it and it works.
On Jun 15, 12:08 pm, Nicolas CHARLOT [EMAIL PROTECTED] wrote:
Jon Todd a écrit :Say I have 2 apps: frontend backend I want domain.com -
frontend backend.domain.com - backend I could do this in the .htaccess file
assuming frontend is
Hello!
I'm just trying out the admin generator for my new project since I never
tried it out before and it looks pretty spiffy.
I've been trying for some time to use the format_country helper but to
no avail.
My generator.yml goes like this:
generator:
class:
yep, good idea, I'll rename it !
On 15 juin, 14:24, Matthias Nothhaft [EMAIL PROTECTED] wrote:
elbouillon wrote:
Hi list,
I've just added a plugin that enable you to easily add a map into a
Symfony application.
This plugin isn't very advanced, but you can already do some fun
stuff.
Never eared about this Google Maps Api, I'll take a look.
Thanks for this information.
On 15 juin, 14:42, Matthias Nothhaft [EMAIL PROTECTED] wrote:
elbouillon wrote:
Hi list,
I've just added a plugin that enable you to easily add a map into a
Symfony application.
This plugin isn't
Yeah ;-) not difficutl there isn't :D
I won't add a propel version yet, because I think it more usefull to
improve the google features. But if you want to change the modules to
enable them working with propel, thank you ;-)
On 15 juin, 15:43, Adriaan van Natijne [EMAIL PROTECTED]
wrote:
It's
On 6/15/07, scube [EMAIL PROTECTED] wrote:
use this syntax in your schema.yml
propel:
user:
id:
name:varchar(255)
document
id:
title:varchar(255)
owner_id: { type: integer, foreignTable: user,
foreignReference: id }
creator_id: {
21 matches
Mail list logo