+1 !!
I also have problems with count queries not respecting the alias I set
for a table in join statements
On Nov 11, 7:52 am, mintao wrote:
> Hi,
>
> Not sure if this or the doctrine newsgroup is the right place to post
> this question/bug.
>
> It's about the doctrine admin generator for the
Hi,
I just went through the whole DI documentation, but I'm still left
with 2 question :
I want to build an environment where plugins will define services.
I'm planning have each plugin specify their own service definitions,
in XML too, which I think would be the way to go about it.
The 1st que
I had the same problem here.
Jon told me to do
$object->related_id = null;
$object->save();
and now it seems to work
good luck
On May 21, 5:32 am, wissl wrote:
> Not sure if you registered it before, so I ask you to get a
> confirmation: Did you try to add "notnull: false" to your schema
> de
Haha ! I just found what you commited 4 hours ago :)
On Mar 5, 8:47 pm, jukea wrote:
> I'm about to start building the same thing here, and since this plugin
> seems to be publicly available, I'd be appreciated if you could give
> us a taste of what's coming. What timef
Mar 5, 8:07 pm, Jonathan Wage wrote:
> Yes.
>
> - Jon
>
>
>
> On Thu, Mar 5, 2009 at 7:02 PM, jukea wrote:
>
> > Jonathan,
>
> > can you describe a bit that Sympal plugin that I'm curious about ? Is
> > it like some kind of framework implementing m
oops, typo error . What I meant was :
maybe you could try this :
__('Blbalba %parameter%',__($columnName));
instead of this :
__('Blabla %parameter%', $columnName);
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
just an idea here ..
maybe you could try this :
__('Blbalba %parameter%',__($columnName));
instead of this :
__('Blabla $parameter%', %columnName);
On Mar 5, 6:04 pm, boozee wrote:
> anyone? please ?
>
> On Mar 5, 2:44 am, boozee wrote:
>
> > Hello,
>
> > I have made a section in my messa
Jonathan,
can you describe a bit that Sympal plugin that I'm curious about ? Is
it like some kind of framework implementing menus/permissions/etc...
like drupal does ?
One can hope .. :)
On Mar 5, 3:03 pm, Jonathan Wage wrote:
> I think I am fine with that.
>
> $sympalPluginPath = dirn
I don't know access, but are you talking about inline editing ? Like
editing you data the way excel would ?
If so, I don't think it's done out of the box, see :
http://symfony.uservoice.com/pages/symfony/suggestions/109418-add-support-for-inline-editing-in-admin-gen
Basically, you could start wi
google gives the following :
http://mathforum.org/library/drmath/view/61135.html
On Mar 3, 10:57 pm, xhe wrote:
> I have met a problem. I want to get boundary longitude and latitude of
> an area. That is within xxx KM of point A.
> If you have the formula, can you please share with me?
>
> Than
I've never used it , but from the subject of this thread, I think
"phing" should at least be mentionned. From what I understood, it's
basically like capistrano , but based on php5.
Julien
On Mar 1, 4:03 am, "Yevgeniy A. Viktorov"
wrote:
> On Tue, 2009-02-24 at 13:40 +, Lee Bolding wrote:
>
I don't know, i've never tried it :)
as I said, go on the #symfony channel on freenode and look for
"pcahard"
On Feb 22, 7:50 pm, XinJia wrote:
> Voila after svn update. Thanks Jukea. But there should be a little
> problem with _show.php, field name can't be
I remember talking to the developer about that and asked him to add
table_method, which he told me he did. Are you checking in the svn
repository ?
the developper is pcahard and is hanging on irc . check freenode's
#symfony
On Feb 21, 8:58 am, XinJia wrote:
> Hi,
>
> I don't know if you agree w
it's because escaping is enabled in your project (settings.yml). You
can do something like
$form = $form->getRawValue();
to retrieve the original object.
Julien
On Feb 19, 12:14 pm, Michal G wrote:
> Hello,
>
> I have a release form, which embeds game form.
> Release form is rendered by relea
I'd definitely go with embedding forms. From the top of my head, when
you build a composite form, it goes like this :
- choose a form in which you'll embed other forms (meaning choose a
model to base your form upon)
- from this form's configure method, embed related objects like
this :
$relatedO
+1 for voting/comments on plugins.
Also : some plugins are not returned in the search results.. I think
this has to do with the fact that they don't provide the file
package.xml.
Ex: go there
http://svn.symfony-project.com/plugins/
check out sfDoctrineCommentsPlugin
This looks like a great pi
id above, Propel uses sfWidgetFormPropelChoice on 1..N
> > > relations, but Doctrine not.
> > > sfWidgetFormORMSelect class do not support expanded option!
> > > This is exactly the problem that I have met.
>
> > > On 13 Feb, 19:13, jukea wrote:
> >
Hi patter,
What I'd do is unset the embedded form as if ot was any other field.
if($postedValues[..insert your input name...]=='')
unset($subForm['embededFormName'])
Do this from anywhere before you bind the data. You could also
override the bind method in your form, unset the form there, a
Hi,
just use
$form->setLabel('fieldname','This is the label text');
Julien
On Feb 14, 2:15 pm, Rytis Daugirdas wrote:
> Hello,
>
> Is it possible to customize field labels when calling
> sfForm::render($attributes)? If yes, what is the structure of the
> $attributes array I should use?
>
> Re
b 13, 12:55 pm, Daniele wrote:
> I am not very expert on Trac or SVN, but I do not find anything about
> this.
> I found this that is only similar but not is the
> same:http://trac.symfony-project.org/ticket/5784
>
> On Feb 12, 11:17 pm, jukea wrote:
>
> > Hi,
>
>
Hi,
I think this has been corrected. Look for it in trac, or try 1.2.5dev
(trunk)
Julien
On Feb 12, 4:35 pm, Daniele wrote:
> Hi,
> someone can help me to understand why my Doctrine admin generator (sf
> 1.2.4) creates a sfWidgetFormDoctrineSelect instead of
> sfWidgetFormDoctrineChoice on for
Hi Anton,
Here's how I did exactly that in three easy steps ! It's not
super clean /optimal / configurable code,but it works.
(region_list is the widget name for a 1..n relation in my model)
== 1 ==
I made a static method helper
class espUtils
{
static public function fou
check this :
http://www.symfony-project.org/blog/2008/11/12/call-the-expert-customizing-sfdoctrineguardplugin
On Jan 27, 10:52 pm, vincent wrote:
> Is there any way to combine sfGuardUserProfile and sfGuardUser into
> one from just to make it easy when adding new user?
--~--~-~--~~
> HOW TO ADJUST FILTERS AND HOW TO SET GLOBAL FILTERS?
you can adjust filters in the genrator.yml with
filters: field1, field2
for global stuff, what I did was something like this :
class jobsActions extends autoJobsActions
{
public function preExecute()
{
parent::preExecute();
$t
agree it's not very clean, but thanks for the info. I like this way
too. I keeps things fully "automated"
On Jan 23, 3:52 pm, isleshocky77 wrote:
> Jukea, Thanks for the reply. I was just coming back to say I found a
> way of doing it but I don't think it's as c
yes, it's because the nested form is rendered as a row itself, with
the widget being the whole form .
I guess you might be able to do that by displaying each embedded form
row like this
$this->embedded_forms['myForm']['embedded_form_username']->renderRow
();
(check sfFormDoctrine (or propel ) t
oops, I assumed you had some kind of relationship between mines, and
the model in the parent form, but from answer I guess you don't have a
parent model.
On Jan 22, 6:22 pm, juro wrote:
> Hmm, not sure which foreign key you are referring to...
>
> On Jan 23, 1:20 am, jukea wrote
just to clarify, this needs to be done , unless your embeded objects
will not be linked to the parent.
On Jan 22, 5:52 pm, juro wrote:
> Hi,
>
> I am trying to embed the same form (MineForm.class.php) into one form
> (MinesForm.class.php). Using the embedFormForEach would work, if I
> need all M
just a quick idea : maybe you forgot to unset the foreign key in the
MineForm::configuration method ?
Julien
On Jan 22, 5:52 pm, juro wrote:
> Hi,
>
> I am trying to embed the same form (MineForm.class.php) into one form
> (MinesForm.class.php). Using the embedFormForEach would work, if I
> nee
David,
That's kind of ugly, but I'd say if you implement an override of
processForm, executeDelete and executeBatchDelete for each of your
module, that would clear the cache, then call the parent, I think
that would cover any type of modification.
Julien
On Jan 21, 9:36 pm, David Brewer wrote
method to do custom handling of your extra fields. You'll
> > also need to create getters on the Company model that pass through to
> > the appropriate version of the Address model in order to populate the
> > values on the form.
>
> > On Wed, Jan 21, 2009 at 11:19 AM, j
You could also use the versionable template if you use doctrine (mabe
there's the equivalent for propel, like actAsVersionable or
something), which automatially keeps a copy of older versions of the
model records when you edit them.
I think that could be a better solution.
Or maybe you could cop
Hi
I had this problem too, and found why by running the individual
failling test
e.g :
php /test/function/FooTest.php
The problem was that I had to raise the memory_limit from 32MB to
something greater (i.e : 128).
Julien
On Jan 21, 10:37 am, Jérôme TEXIER wrote:
> Hi,
>
> I've got a pr
I found the solution ,
I just needed to unset the embedded form's foreign_key field in the
configure method:
unset($form_company['company_id']);
On Jan 16, 6:16 pm, jukea wrote:
> for anyone looking for the same kind of info, look at
>
> http://trac.symfony-project.
for anyone looking for the same kind of info, look at
http://trac.symfony-project.org/ticket/4906
at the end, there's an example
On Jan 15, 2:17 pm, jukea wrote:
> Hi ,
>
> How can I configure a form to handle the creation of a company and the
> first of its contacts (the r
just a quick comment :
the plugin doesn't come up (as for many other I guess, why is that ?)
when you check 1.2 and doctrine in the search engine.
Julien
On Jan 16, 3:37 am, "Thomas Rabaix" wrote:
> Hello,
>
> I took some time to publish some work I have done on sfAssetsLibraryPlugin a
> few m
Hi ,
How can I configure a form to handle the creation of a company and the
first of its contacts (the relation is a 1..n )
I did the following, but the contact's company_id is NULL after a
save. The contact form has no special configuration (except unsetting
created_at and updated_at)
public
Here are two strategies I used to do something similar (my ORM is
doctrine) :
1) I needed to filter the query based on a date stored in the session,
and the user_id, without these being in the filter form.
in your module's action file, override preExecute to add a listener
public function preEx
gt; - Jon
>
>
>
> On Tue, Jan 13, 2009 at 1:45 PM, jukea wrote:
>
> > Also , if I patch the admin code templates, is there any test I should
> > code, before submitting a patch ? I found none for the generated
> > admins
>
> > Julien
>
> > On J
Also , if I patch the admin code templates, is there any test I should
code, before submitting a patch ? I found none for the generated
admins
Julien
On Jan 13, 2:29 pm, jukea wrote:
> Jon,
>
> I think the filter forms should get passed the table_method with a
> setTableMethod, if
action template to use it as described above
What's the best way I can help ? Submit a patch ?
Julien
On Jan 13, 2:11 pm, Jonathan Wage wrote:
> Could we just change it so table_method is done first?
>
> - Jon
>
>
>
> On Tue, Jan 13, 2009 at 12:48 PM, jukea wrote:
>
&
etTableMethod to the pager, since it's already
been applied to the query.
This means requiring to fork the admin theme just to make these
changes, which is really not the best design.
On Jan 13, 1:42 pm, jukea wrote:
> Hi,
>
> I'm building a plugin to make fields of foreign
Hi,
I'm building a plugin to make fields of foreign tables available to
lists (in doctrine generated admins) as any other parameter, so that
sorting (this is
working) & filtering on them is possible.
Here's an example of an "extended" generator.yml my plugin would make
possible : (for a schema a
My answer is for doctrine, but I think it should also apply to
propel.
The way it is built, I think you need to initiate the database query
using them (e.g. : $query = $yourFilterForm->buildQuery ()). And then
you can add your stuff (like sorting, joining addintionnal tables
etc)
Anyway, the be
Hi,
Is there a way to modify the labels of a i18n embedded form (Ideally,
by using directly the generator.yml file)?
ex :
DB:
my_fieldname1 : VARCHAR
my_fieldname2 : VARCHAR
FORM :
English: my_customized_fieldname1 [ ]
my_customized_fieldname2 [ ]
French:
I read very quickly, but did you look into php's set_time_limit ?
On Sep 24, 3:48 pm, Jack Bates <[EMAIL PROTECTED]> wrote:
> I am using symfony to develop a web interface which runs certain jobs
> (deploying sites to a shared host, updating deployed sites, etc.)
>
> The trouble is that these job
For my part, I manage to bypass the problem by erasing cache/*
manually and symfony cc _seems_ to work (if there's anything left to
be done after that)
On Sep 19, 5:23 am, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:
> On Fri, Sep 19, 2008 at 2:07 AM, Cristiano <[EMAIL PROTECTED]> wrote:
> > I
hi,
symfony cc locks each environement before clearing the files.
For me, the task seemed broken. So, after tracking the bug, it turns
out that my symfony cc locks the CLI env too (is this normal?), and
thus quits with an unavailable page outputed directly in the
console...
so in other terms, i
I have the same problem here.
On Sep 16, 10:05 am, Martin Groh <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> Im using sf 1.1.1 together with the sfDoctrinePlugin 2.0 (checked out
> with svn:externals).
> Yesterday everything went well. After doing an update for my sources
> (and with it, updating th
) a bad DB connection causes a fatal error, hence a blank page,
so that's one of the things I'd check first.
- Enable symfony logs, and check them
- Some people upload the dev controller to have more info, ( and yes,
they usually repent after tellin
50 matches
Mail list logo