If you haven't to much credentials (groups..), you can create one form
for "admin" and the second for "normal user", they show the form by
the credential of the user.
On 14 čnc, 23:49, galileo wrote:
> You have misunderstand me :)
>
> i need display form fields only for those users that have nee
You have misunderstand me :)
i need display form fields only for those users that have needed
credentials not the whole actions :) for you knowladge
it is possible to define the actions credentials in the
generator.yml :P
it is
generator:
class: sfDoctrineGenerator
param:
model_class:
AFAIK you can not specify security settings in generator.yml only in
config/security.yml
There you have to specify the action name and the credentials required
to access the action,
see more info here:
http://www.symfony-project.org/reference/1_4/en/08-Security
gabriel
On Jul 14, 11:58 pm, ga
http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer#chapter_07_sub_partials
$total)) ?>
On 1 čnc, 15:04, Guill Lo wrote:
> Hi!
>
> I've got a partial that I'm sharing over different modules to show a
> photo. I have 2 different parameters in this partial that are the
> user, and t
Why your setup function doesn't specify a relation?
On 11 bře, 22:39, Jim Krehl wrote:
> I'm having some problems with using relations and
> doctrine:generate-admin. I have two tables, call them Users and
> Umbrellas. There is a one-to-many relation between Users and Umbrellas,
> specifically
Same problem here:
http://groups.google.com/group/symfony-users/browse_thread/thread/330986031717f75/e82be9b977e1a6b8?lnk=gst&q=timestampable+required#
Thanks,
Diogo
On 9 dez, 06:38, Darmen Amanbayev wrote:
> Hi guys,
>
> I have a little problem in Doctrine'sTimestampablebehavior. In admin
> ge
groups.com [mailto:symfony-us...@googlegroups.com]
Per conto di Syndicut
Inviato: giovedì 27 agosto 2009 13.43
A: symfony users
Oggetto: [symfony-users] Re: Doctrine Admin Generator: javascript message
localization
I managed to translate this string by adding translation to file
(relative to project root):
I managed to translate this string by adding translation to file
(relative to project root):
lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/i18n/
sf_admin.YOUR_LOCALE.xml
It should be sfPropelPlugin if you use Propel.
On 10 авг, 19:20, televas wrote:
> Hi,
> I'm using the i18n support in some
in such a case I would simply add a class to my custom object action
and set a javascript to clean up the text afterward.
myaction: { label: myinvisiblelabel, params: class=nolabel ...}
in js:
$('.nolabel').text('');
another way would be to use in sf1.2+ the generator helper in lib/, I
believe
No success with this values:
label: “”
label: false
label: NULL
The aforementioned values show the URL.
_
Yes I also notice that.
Nut it seems to be the normal behaviour of link_to() ; if no text is
precised, it shows the URL as text...
perhaps try "label: false" as in
Yes I also notice that.
Nut it seems to be the normal behaviour of link_to() ; if no text is
precised, it shows the URL as text...
perhaps try "label: false" as in sfForm...
Le 10/08/09 10:09, silvio.cim...@televas.it a écrit :
>
> I need to have no label in some case and I tried to set something
I need to have no label in some case and I tried to set something like:
actions:
_new:{ label: "" }
But when I set an empty value, the list shows the address link
(mysite/mymodule/new) nearby the icon.
So I tried to set:
actions:
_new:{
You can choose the label in the list/edit section:
generator:
class: ...
param:
config:
actions:
your_custom_action:
...
[...]
list:
object_actions:
your_custom_action:
label: Labe
On the admin generator you can use a partial but i don't no if what's you
wan't but i think is usefull or use the formatter or overlord
_form_field.php and modify this template in the admin generator
http://www.symfony-project.org/jobeet/1_2/Doctrine/en/12
_form_field.php Displays a singe form fi
actually, how can I use the admin_double_list and the other, the
checkbox one, I have browsing the api and I couldnt find the
solution.
On Feb 20, 8:07 pm, Gandalf wrote:
> Hello,
>
> I think Ive found a small bug, doctrine admin generator ignores the
> "type", and "params" keywords. tried
Hi Joe,
Did you unset the other columns in the ProductsForm?
Your ProductsForm::configure() method should look something like:
public function configure()
{
unset($this['ordered']);
unset($this['delivered']);
unset($this['location']);
unset($this['newpic']);
}
Bernhard
--~--~
Hi,
Have you tried adding the method ->__toString() to your Category class
that returns its name? That should do the job for you. (It could be
that you need to replace "category_id" by "Category" in the YAML file
as well, but I'm not sure on that).
Bernhard
On Mon, Dec 15, 2008 at 4:52 PM, roo
Usman wrote:
> Hi all
> i am using symfony 1.1 (beta)with Doctrine as ORM but for admin
> generator its not working . "doctrinie-init-admin" command throws an
> error
> Fatal error: Call to a member function mirror() on a non-object in C:
> \wamp\www\yigg\plugins\sfDoctrinePlugin\lib\task
> \sfDoc
BTW with 1.1 the command look like
symfony doctrine:init-admin
see: The new symfony CLI system
http://groups.google.com/group/symfony-devs/browse_thread/thread/eac2add2cd9
f6d7b
Olivier
> -Original Message-
> From: symfony-users@googlegroups.com [mailto:symfony-
> [EMAIL PROTECTED]
19 matches
Mail list logo