It exists also in the 1.0 version Doctrine that comes with Symfony 1.2 :)
Watch out though - It'll only work with the current record - with Doctrine
1.1 you can also optionally check child records.
-Original Message-
From: symfony-users@googlegroups.com
hey:)
Sorry for the confusion: I've found out that the doctrine plugin
shipped with symfony 1.2 is based on the 1.0 release of doctrine - as
you already said it - i had read this small, but important notice
recently in the doctrine 1.1 release notes:
Hey again,
i've found this link: 2 lines to migrate the new doctrine 1.1 version
into the sf 1.2 release. Perhaps somebody considers it helpful.
http://www.symfony-project.org/blog/2009/01/12/call-the-expert-using-a-custom-version-of-doctrine
So my previous comment seems to be obsolete (as
I am going to perform what is know as a shameless bump.
I believe that this problem requires discussion, as having a 1:1
relationship should be fairly common, and it is only natural to seek
way optimize it's workings.
On May 17, 7:14 pm, Crafty_Shadow vankat...@gmail.com wrote:
Hey guys,
I
There was some chatter about a month ago about some issues running Doctrine
1.1 with sf 1.2 (I can't find the topic at the mo and I can remember what
the issues were).
In the url you posted there should be a link to a trac ticket - which you'll
need to checkout for some additional changes you'll
Some links that talk about what you're after:
http://forum.symfony-project.org/index.php/m/14692/
http://groups.google.com/group/symfony-users/browse_thread/thread/40df48dd79
cb274e
http://trac.symfony-project.org/wiki/ApplyingCustomJoinsInDoSelect
And a plugin written that appears to do what
Thanks for the links, but those are of no help to me.
Each and every single of the resources you have pointed me to are
about propel 1.2.
As I mentioned in my original post, I have written such behavior for
propel 1.2, but the problem is that I'm currently dealing with 1.3,
which is quite
no ideas? ':-{
On 7 Mai, 13:27, symfony.con.spir...@gmail.com
symfony.con.spir...@googlemail.com wrote:
Hi all,
for sending an action feedback to the user I use in my actions this:
sfContext::getInstance()-getUser()-setMessage('My feedback'),
'warning');
For output in my partial
Hi,
I am trying to make 1 field into text area.
here is my schema.yml snippet for the table i am creating admin pages.
bosf_society_info:
_attributes: { phpName: BosfSocietyInfo }
society_id: { type: INTEGER, size: '11', primaryKey: true,
autoIncrement: true, required: true }
Symfony version 1.2.4
On Tue, May 19, 2009 at 5:10 PM, harinath harinathre...@gmail.com wrote:
Hi,
I am trying to make 1 field into text area.
here is my schema.yml snippet for the table i am creating admin pages.
bosf_society_info:
_attributes: { phpName: BosfSocietyInfo }
The routing framework needs to be able to select according to the slug
(something like select * from table where slug=asd, in criteria of
course). You can check the generated query in the debug panel, it will
be something like select * from table limit 1, no criteria at all,
since there is no
In this (my) special case it seems to work - but i did not even touch
the most complex doctrine possibilities.
In my test environment i installed doctrine 1.1 - by following the
guide - from svn.
But it seems also possible to define it as an dependency in
package.xml to ship it with a plugin -
:D ok, i have an idea: it *may* be that it works because i store
doctrine 1.1 in ./lib/ventor/doctrine, but there is also the origin
sfFilebasePlugin under ./lib/vendor/symfony/plugins/
sfDoctrinePlugin/...
So it is probable that the generator uses the old doctrine 1.0 tasks
and the runtime the
Stupid misstake. I called the messages partial before setFormErrors.
On 19 Mai, 12:13, symfony.con.spir...@gmail.com
symfony.con.spir...@googlemail.com wrote:
no ideas? ':-{
On 7 Mai, 13:27, symfony.con.spir...@gmail.com
symfony.con.spir...@googlemail.com wrote:
Hi all,
for sending an
Hello everybody ... please can someone explain how to use
Several database from my project, I tried several examples found in
the network and nothing. We added two new databases, but When running
the command: Propel: build-all, does not create objects and classes of
new databases ... I started my
Hey ..
I was wondering if there is a option to give sfValidatorChoice a
default value like -1 for please select. If the value is -1 the
'required' error should be rendered.
I tried to use sfValidatorNumber with 'min' = 0 to raise the required
error. It works, but that will raise also the
i did try to automatically generate a module for a given model that
provides basic manipulation features:
php symfony propel:generate-module --with-show --non-verbose-templates
frontend job JobeetJob
and i got an error
fatal error: Class JobeetJobForm not found in C:sfprojects\jobeet
HI!
dunno exactly.
maybe a symfony cc ?
Alecs
On Tue, May 19, 2009 at 7:34 PM, Maras maras_...@hotmail.com wrote:
i did try to automatically generate a module for a given model that
provides basic manipulation features:
php symfony propel:generate-module --with-show --non-verbose-templates
I recently took over a symfony project that had already been built. I
can't make sense of the setup they are using here. How do I get
symfony to recognize the simple reports module?
There is a backend application with module reports with no
designation in the schema. This module includes nothing
I just checked it out (r18435) and stepped through the installation
process, but the problem is still the same as mentioned above: a
sfError404Exception.
On 18 Mai, 17:06, Jonathan Wage jonw...@gmail.com wrote:
I know what the issue is.
When you are in a certain site in sympal, the routes for
Could you zip up your project and upload it somewhere for me to download? I
can then see what is wrong.
Thanks, Jon
On Tue, May 19, 2009 at 1:11 PM, quafzi quert.zuio...@googlemail.comwrote:
I just checked it out (r18435) and stepped through the installation
process, but the problem is still
I was thinking that we could some how re-use the work done in the PEAR
project here:
http://pear.php.net/manual/en/package.console.console-progressbar.php
--
Stephen Ostrow sost...@sowebdesigns.com
On May 18, 8:49 pm, nick lal...@teamlalala.com wrote:
On May 18, 3:12 pm, isleshocky77
symfony 1.2
Hi,
I have the following shopping cart class:
Cart:
actAs: [Timestampable]
columns:
buyer_id: { type: integer(4) }
is_default: { type: boolean, default: false }
relations:
Buyer:
class: sfGuardUser
local: buyer_id
Throw in a cart_id and mark the buyer_id as nullable.
-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of Tom Haskins-Vaughan
Sent: 19 May 2009 22:01
To: symfony-users@googlegroups.com
Subject: [symfony-users] Doctrine problem
Ah Tom,
You can do some nifty things with versionable with the cart to track how it
changes as the user progresses throughout the buying process.
You'll need some extra fields to make it worthwhile - order items, IP
address, etc
-Original Message-
From: symfony-users@googlegroups.com
On Tue, 19 May 2009, Joshua wrote:
I recently took over a symfony project that had already been built. I
can't make sense of the setup they are using here. How do I get
symfony to recognize the simple reports module?
There is a backend application with module reports with no
designation
Symfony app:routes is also handy as it'll expand 'em for you.
Routes are what hold everything together - but creating a module doesn't
automagically add it to routing.yml - it just makes it available should you
want to route to it.
-Original Message-
From:
The form classes have to be build first.
php symfony propel:build-model
php symfony propel:build-forms
php symfony cc
php symfony propel:generate-module
Am 19.05.2009 um 18:34 schrieb Maras:
i did try to automatically generate a module for a given model that
provides basic
I'm trying to integrate Symfony 1.0.x with Clicktale PHP module.
Clicktale is a webanalytics/user behaviour monitoring tool that lets
you see the way the user is navigating the pages in a website.
The PHP module that I'm trying to integrate is building up a cache of
the generate pages, the notes
Hello everybody,
I'm using the sfDoctrineGuardPlugin for User-Management.
As this plugin offers only very limited fields for storing personal
user information (like the real name, email, address and so on), I'm
using another table (sfGuardUserProfile) for those fields, which tied
via an
Oh, thanks. Now it's ok. I didn't use php symfony cc command, but not
it's ok
On May 19, 11:18 pm, Frank Stelzer d...@bleedingmoon.de wrote:
The form classes have to be build first.
php symfony propel:build-model
php symfony propel:build-forms
php symfony cc
php symfony
Hello @ all!
I'm new to symfony and I have a problem to get conditional object
actions for the admin generator to work.
I've found a snippet http://snippets.symfony-project.org/snippet/254
on the web but I didn't
get this pice of code to work.
I did exactly the same as described in the link
There's a broadly related plugin that might give you some ideas:
http://www.symfony-project.org/plugins/sfSpyPlugin
tbh there's easier simpler ways to do tracking by intelligent parsing the
apache logs.
-Original Message-
From: symfony-users@googlegroups.com
Checkout: http://www.symfony-project.org/plugins/sfDoctrineApplyPlugin
It's a profile plugin that's extendable with instructions on how to hook it
to sfDoctrineGuardPlugin
-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of Maras
Take a look at:
http://www.symfony-project.org/forms/1_2/en/B-Validators#chapter_b_sub_sfval
idatorcallback
-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of jmaicher
Sent: 19 May 2009 17:38
To: symfony users
Cc:
Oops - wrong reply :s
-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of David Ashwood
Sent: 20 May 2009 00:34
To: symfony-users@googlegroups.com
Subject: [symfony-users] Re: i can't generate a module
Checkout:
Checkout: http://www.symfony-project.org/plugins/sfDoctrineApplyPlugin
It's a profile plugin that's extendable with instructions on how to hook
itto sfDoctrineGuardPlugin
-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of halla
Hi David,
I'm afraid your answer won't help me.
Checkout:http://www.symfony-project.org/plugins/sfDoctrineApplyPlugin
It's a profile plugin that's extendable with instructions on how to hook
itto sfDoctrineGuardPlugin
This plugin demonstrate on how to extend a Guard-User with Profile
Use sfGuard as the root for all that need to reference the user.
The profile is just one of them. Keep it simple, keep it dry :)
-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of halla
Sent: 20 May 2009 01:41
To: symfony users
Use sfGuard as the root for all that need to reference the user.
Ok, thats what I want to know - thank you :-))
If thats best practice, I'm satifsfied...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony
Please, help me!!!
On 19 mayo, 11:15, rafix rafi...@gmail.com wrote:
Hello everybody ... please can someone explain how to use
Several database from my project, I tried several examples found in
the network and nothing. We added two new databases, but When running
the command: Propel:
Thanks, David.
I already have cart::id and buyer_id is nullable by default. Any other
suggestions?
David Ashwood wrote:
Throw in a cart_id and mark the buyer_id as nullable.
-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf
in the template, I got some question.
symfony renderError() use default style like
ul class=error_list
lisome errors/li
/ul
but now I want use another style like div class=errorsome errors/
div
how can I do?
thanks!
--~--~-~--~~~---~--~~
You received this message
43 matches
Mail list logo