[symfony-users] How to access models from another project

2007-06-13 Thread Janak Jadeja
Hello everybody, I have two projects project_1 and project_2, in which I have created models using *symfony propel-build-model *in both projects. NoW I want to access models of project_1 in to project_2. for that I have created symbolic link of model directory of project_1 in to lib/model direc

[symfony-users] Re: How to access models from another project

2007-06-13 Thread Scott Meves
My suggestion would be to combine project_1 and project_2 into the same project. Then, use different applications within the project that refer to project_1 and project_2. This approach will surely save you headaches down the line, even if you were able to get access to another project's mo

[symfony-users] Re: How to access models from another project

2007-06-13 Thread Janak Jadeja
Yes,that way we can access models but I have two projects and I do not want to combine them. -Janak Scott Meves wrote: > My suggestion would be to combine project_1 and project_2 into the > same project. Then, use different applications within the project that > refer to project_1 and project_

[symfony-users] Re: Doctrine : hasOne/ownsOne - hasMany/ownsMany

2007-06-13 Thread [EMAIL PROTECTED]
Is there a link between my previous message and the fact that doctrine documentation has been blanked ? see for instance http://doctrine.pengus.net/doctrine/manual/documentation2.php?chapter=Object+relational+mapping+-+Relations+-+Foreign+key+associations+-+One-to-One F. On 12 juin, 10:36, "[EMA

[symfony-users] Re: multiple database connections for one model

2007-06-13 Thread ksn135
In your databases.yml file define several sources. Make one of them default: all: propel: class: sfPropelDatabase param: is_default: true encoding: utf8 dsn: mysqli://login:[EMAIL PROTECTED]/primary secondary: class: sfPropelDataba

[symfony-users] anyone working on extjs plugin??

2007-06-13 Thread [EMAIL PROTECTED]
I was wondering if anyone working on extjs plugin?? Are there any plans on symfony development to change admin generator to some ajax grid styled admin? I think that most symfonias thinking about do that and make application backend more user friendly (ajaxed) --~--~-~--~~---

[symfony-users] Re: anyone working on extjs plugin??

2007-06-13 Thread halk
I'm going to use extjs for my current projects, the grid component is very fine. Ajax paging, sortable (columns), filtering and toolbar at the top of the grid are very positive. Alas there is no plugin for extjs yet. So i've to include it manually, i have no time for implementing a plugin for th

[symfony-users] ODBC with Informix and Propel

2007-06-13 Thread Jorge Sánchez
Hi, I am trying to connect my webapp to an ODBC connection... I see that Creole supports that, so I guess I have to configure my database.yml file. I wanted to know what are the parameters that I have to enter... Right now I'm working on a MySql database, and my database.yml looks like: all: p

[symfony-users] Redirecting to an external URL

2007-06-13 Thread slinky66
Hello! I'm implementing PayPal Express Checkout in my cart. At a point in the process, the user must be sent to PayPal to execute the purchase. The logic that determines this is inside my executeProcessOrder() method in my shoppingCart module's actions class: if($payType=="PayPal"){ //redi

[symfony-users] Re: Redirecting to an external URL

2007-06-13 Thread slinky66
redirect(https://www.paypal.com/us/cgi-bin/webscr?cmd=_express- checkout&token=$token); On Jun 13, 11:36 am, slinky66 <[EMAIL PROTECTED]> wrote: > Hello! > > I'm implementing PayPal Express Checkout in my cart. At a point in the > process, the user must be sent to PayPal to execute the purchase.

[symfony-users] Re: anyone working on extjs plugin??

2007-06-13 Thread [EMAIL PROTECTED]
W odpowiedzi na e-mail od: halk otrzymany dnia 2007-06-13 16:28 : > I'm going to use extjs for my current projects, the grid component is > very fine. > > Ajax paging, sortable (columns), filtering and toolbar at the top of > the grid are very positive. > > Alas there is no plugin for extjs yet. S

[symfony-users] SfGuardPlugin

2007-06-13 Thread nathieb
Hey, I try tu use sfGuardPlugin and to extend the sfGuardAuth with the sfGuardUserProfile. But when i use the official documentation, there is a trouble. the utilisation of an foreign key is impossible with propel, if somebody can help me. French user olivier --~--~-~--~~-

[symfony-users] Re: SfGuardPlugin

2007-06-13 Thread Nicolas CHARLOT
nathieb a écrit : Hey, I try tu use sfGuardPlugin and to extend the sfGuardAuth with the sfGuardUserProfile. But when i use the official documentation, there is a trouble. the utilisation of an foreign key is impossible with propel, if somebody can help me. As you should have seen : "W

[symfony-users] Re: SfGuardPlugin

2007-06-13 Thread Nicolas Perriault
Nicolas CHARLOT a écrit : > So you have to use an unique index named as you want. BTW, what is the recommand way to handle FK to other Propel objets than the profile one ? I mean, if you want to link an article, a blog post, a comment and a forum thread to a sfGuarduser object, how would you p

[symfony-users] Re: SfGuardPlugin

2007-06-13 Thread Alexander Deruwe
On 13 Jun 2007, at 20:30, Nicolas CHARLOT wrote: > nathieb a écrit : >> Hey, I try tu use sfGuardPlugin and to extend the sfGuardAuth with >> the sfGuardUserProfile. But when i use the official documentation, >> there is a trouble. the utilisation of an foreign key is >> impossible with prop

[symfony-users] Re: FYI: Symfony Benchmark

2007-06-13 Thread Nicolas Perriault
Rafael George a écrit : > http://www.alrond.com/en/2007/jan/25/performance-test-of-6-leading-frameworks/ > > Bad marketing for our lovely framework. Just a quick note, Paul M. Jones has just made a response to the post on the Symfony weblog(1) about this kind of benches : http://paul-m-jones.

[symfony-users] Re: SfGuardPlugin

2007-06-13 Thread nathieb
> declaration to schema.yml as such: > > propel: >_attributes: { package: "plugins.sfGuardPlugin.lib.model" } >sf_guard_user: > _attributes: { phpName: sfGuardUser } > id: > Ok, it's the solution i found but when i declare user like this: _attributes :{ package: "plug

[symfony-users] Un-escape Data

2007-06-13 Thread Greg Freeman
In a template, how do you unescape data that is in an array (In a foreach loop) like I want to UN-escape $array['key']. (I have escaping set to both in my yml config) I know of $sf_data->getRaw but I'm not sure if you can use it in this situation. Thanks --~--~-~--~~

[symfony-users] JS injection in www.askeet.com

2007-06-13 Thread Muhammad Asif Ali
Hi, anyone checked the askeet site in the last couple of days. i am getting 2 javascript alerts . one says Andrei and the other says " Javascript Injections are fun .. can u do it?". i feel that askeet is hacked. how this happend any idea.. what is the loop hole in the Askeet

[symfony-users] Re: JS injection in www.askeet.com

2007-06-13 Thread Fabien POTENCIER
fixed Thanks Muhammad Asif Ali wrote: > Hi, > anyone checked the askeet site in the last couple > of days. i am getting 2 javascript alerts . > one says Andrei and the other says " Javascript Injections are fun .. > can u do it?". > i feel that askeet is hacked. how this

[symfony-users] Re: JS injection in www.askeet.com

2007-06-13 Thread Sid Bachtiar
What was the cause? will there be a patch for Symfony version 1.0? On 6/14/07, Fabien POTENCIER <[EMAIL PROTECTED]> wrote: > > fixed > > Thanks > > Muhammad Asif Ali wrote: > > Hi, > > anyone checked the askeet site in the last couple > > of days. i am getting 2 javascript a

[symfony-users] Re: JS injection in www.askeet.com

2007-06-13 Thread Fabien POTENCIER
This is not a symfony problem. This is just because askeet was done a long time ago and output escaping was not enabled. Fabien Sid Bachtiar wrote: > What was the cause? will there be a patch for Symfony version 1.0? > > On 6/14/07, Fabien POTENCIER <[EMAIL PROTECTED]> wrote: >> fixed >> >> Th

[symfony-users] Re: JS injection in www.askeet.com

2007-06-13 Thread Mohammad Asif Ali
Hi fabien actualluy i have used the askeet in my current project and cutomized it to as per my requirment. is there any loop holes which i need to be fixed in my askeet. Thanx. On Jun 14, 9:37 am, Fabien POTENCIER <[EMAIL PROTECTED] project.com> wrote: > This is not a symfony problem. Th

[symfony-users] Re: How to access models from another project

2007-06-13 Thread JJ
Hello friends, Is there anyway other way to * access models from another project* . -- JJ On 6/13/07, Janak Jadeja <[EMAIL PROTECTED]> wrote: > > Yes,that way we can access models but I have two projects and I do not > want to combine them. > > -Janak > > Scott Meves wrote: > > My suggestion wou

[symfony-users] Re: JS injection in www.askeet.com

2007-06-13 Thread Fabien POTENCIER
The best is to enable output escaping or use esc_entities() in your code to escape question titles (see http://trac.askeet.com/trac/changeset/93). Fabien Mohammad Asif Ali wrote: > Hi fabien > actualluy i have used the askeet in my current project and > cutomized it to as per my requirm

[symfony-users] Re: How to access models from another project

2007-06-13 Thread Nathanael D. Noblet
JJ wrote: > Hello friends, > Is there anyway other way to * access models from another project* . > *Just* models, two ways come to mind, neither that great, but should work. 1) Add the directory path to models to the symfony autoloader 2) Copy the model files into lib/ --~--~-~--~