Great Tom, this will be very helpful.
We see all the time that deployment is one of the places where there are
always problems.
Thanks for sharing.
Pablo
On Tue, Dec 8, 2009 at 5:18 PM, Tom Boutell wrote:
> We've noticed a lot of situations where project:deploy gets us into
> trouble:
>
> * T
Thanks.
This link also helped me too.
http://snipt.net/Tram/symfony-12-add-a-custom-filter-field-for-generated-admin/
Att,
Pedro Casado
On Tue, Dec 8, 2009 at 9:12 AM, Pedro Casado wrote:
> Im using Propel.
>
> Is the same name? i'll look for addXXXColumnQuery..
>
> Att,
> Pedro Casado
>
>
I am getting this issue with the Symfony 1.3.1 tag as well
A workaround that seems to work at the moment is to put
Doctrine_Manager::getInstance()->bindComponent(,
);
lines into the ProjectConfiguration file.
Dave
--
On Nov 26, 9:51 am, Jonathan Wage wrote:
> This should be fixed now.
>
> -
Hi Alecs,
I wasn't aware of the new migration features in Doctrine 1.2 (symfony
1.3/1.4).
I've done some research, and this article tutorial (
http://www.denderello.com/publications/guide-to-doctrine-migrations)
contains some great information on how the feature works.
I'm now successfully using
We've noticed a lot of situations where project:deploy gets us into trouble:
* The permissions are acceptable locally (because MAMP runs as the
same user as the developer) but not remotely
* Migrations don't get run automatically on the far end
* symfony cc doesn't get run automatically on the far
Ok, the new branch, providing symfony 1.4.2-DEV and Doctrine 1.2.1 has
solved the problem.
A bug was also discovered in the Doctrine plugin that affected magic
accessors for columns ending with an underscore followed by a digit.
Abd it was my case.
http://www.symfony-project.org/blog/2009/12/08/sy
Hello,
I have 1 Database and 2 Symfony projects.
The first project run on Sf 1.2.10+Docrine 1.0, The second one on
Sf1.4+Doctrine 1.2.
Both have been installed the same way, but the fisrt one display the
list of the executeIndex method, and the second on doesn't, it says
for http://fjtdoct.localh
Yes, you need to add the fields of the profile form to the generator.yml file.
It won't work otherwise, but that's understandable because there's no magic
going on that adds new fields you add to the model automatically to the
generator.yml as this file is already written to disk.
Cheers, Danie
Hi Zach,
You don't need any sfFacebookConnect filters in a standard
implementation.
Better documentation will soon be online as part of the symfony 2009
advent calendar :-)
Cheers,
Fabrice
--
http://www.theodo.fr
On Dec 8, 7:28 am, Alexandre Salomé
wrote:
> Hi,
>
> You should contact the au
hi, i know there have been a couple of posts on this, and that it is
possible to embed the User Profile form in the sfGuardAdminForm .. but
.. should it work by default anyway?
I created a sfGuardProfile class, and then made some fields required.
The user could then edit their own profiles; then a
Hi,
I have a $link variable as given below in template.
$link = "
https://10.0.2.118/wbrt/web/tool_staging.php/admin/projectselected?project=".$data0[$i
];
'reportx','url' => $link,'script' => true))?>
The above works correctly.
But if make $link = "admin/projectselected?project=".$data0[$i];
Maybe I should include in action helper Date and use function
format_date() ? But is it a good solution ? I thought that helpers are
only for views, not for actions ?
On 8 Gru, 09:38, dziobacz wrote:
> I have form:
> $this->setWidgets(array(
> 'description' => new sfWidgetFormInput(),
>
Im using Propel.
Is the same name? i'll look for addXXXColumnQuery..
Att,
Pedro Casado
On Tue, Dec 8, 2009 at 8:01 AM, Joel Cuevas wrote:
> I'm guessing, so try it and let us know. In your filter class add
> this:
>
> public function addDescriptionTypeIdColumnQuery(Doctrine_Query $query,
> $f
Im trying to replace a *filter* widget:
$controller = sfContext::getInstance()->getController();
$this->widgetSchema['endereco'] = new sfWidgetFormChoice(array('choices'
=> array()));
$this->widgetSchema['endereco']->setOption('renderer_class',
'sfWidgetFormPropelJQueryAutocompleter');
Hello,
I'm using this code in my form:
$this->widgetSchema['birthday']=new sfWidgetFormInputText();
Birthday in Doctrine-schema:
birthday: date
How can I format date to be output in this widget (d.m.Y) ?
I had resolve any issues about validating and saving date in my
format. But I cannot
Hi everyone,
Recently came back to using symfony after an extended absence and
basically re-learned everything. Love the framework - huge fan. I have
a bit of a problem...
Basically, I have a module and I've added a new action to it that
returns nothing but XML. I set the content-type to XML and
I'm guessing, so try it and let us know. In your filter class add
this:
public function addDescriptionTypeIdColumnQuery(Doctrine_Query $query,
$field, $value)
{
$query->leftJoin('r.DescriptionType d')->andWhereIn('d.id', $value);
}
Note the name of the method (it includes the camel-cased name of
You need to specify the target language in order to create its folder,
i.e.,
symfony i18n:extract --auto-save frontend fr
Note the "fr" at the end of the line. With this you should now have
an /apps/frontend/i18n/fr folder with messages.xml inside it.
The order (or location) of the optional para
Hi list,
The thing is, in an auto generated admin module, if I don't want to
use, lets say, the edit action (and I don't want that the users be
able reach in any way), it's enough to delete the "edit" element from
the actions array in the route collection to not generate its route or
it compromise
I have form:
$this->setWidgets(array(
'description' => new sfWidgetFormInput(),
'test' => new sfWidgetFormJQueryDate(array('format' => '%day%/
%month%/%year%', 'culture' => 'pl')),
));
$this->widgetSchema->setNameFormat('data[%s]');
---
20 matches
Mail list logo