I have form:
$this-setWidgets(array(
'description' = new sfWidgetFormInput(),
'test' = new sfWidgetFormJQueryDate(array('format' = '%day%/
%month%/%year%', 'culture' = 'pl')),
));
$this-widgetSchema-setNameFormat('data[%s]');
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 compromises
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
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
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
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');
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 in...@joelcuevas.com wrote:
I'm guessing, so try it and let us know. In your filter class add
this:
public function
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 aaabbbcccda...@gmail.com wrote:
I have form:
$this-setWidgets(array(
'description' = new
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
];
td?php echo link_to_remote($displayname, array('update' =
'reportx','url' = $link,'script' = true))?/td
The above works correctly.
But if
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é alexandre.sal...@gmail.com
wrote:
Hi,
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,
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
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.
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
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
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(model classname,
connection name);
lines into the ProjectConfiguration file.
Dave
--
On Nov 26, 9:51 am, Jonathan Wage
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 pdr...@gmail.com wrote:
Im using Propel.
Is the same name? i'll look for addXXXColumnQuery..
Att,
Pedro
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 t...@punkave.com wrote:
We've noticed a lot of situations where project:deploy gets us into
19 matches
Mail list logo