Discussion:
DAM Asset form customization
Domenico Cianniello (via Magnolia Forums)
2014-02-21 11:25:58 UTC
Permalink
how is it possible to customize the DAM asset form (into the Asset App) adding more fields?
--
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=b5e6c375-c287-4ec7-b5fd-43e2ee5df6cf


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Antti Hietala (via Magnolia Forums)
2014-02-21 12:39:32 UTC
Permalink
Add the new field to /modules/dam/apps/assets/subApps/detail/editor/form/tabs/asset/fields.

Pretty much the same as discussed in http://forum.magnolia-cms.com/forum/thread.html?threadId=398f7e24-4c2f-4eaf-8efa-ff819377cb58 except you likely don't need to modify the Save action. The standard action may be adequate.

--Antti
--
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=b5e6c375-c287-4ec7-b5fd-43e2ee5df6cf


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Domenico Cianniello (via Magnolia Forums)
2014-02-23 15:04:57 UTC
Permalink
Hello,
thanks a lot.
I have created a new field with name "mimmo" (my nickname); on the creation form now I can see the new field, but the label is not correct, because it shows the key "assets.asset.mimmo...".
I have little bit investigated and I have found, into the jar magnolia-dam-1.2.1.jar, the property files mgnl-18n\app-assets-messages*.properties.
do I have to add the properties assets.asset.mimmo.label and assets.asset.mimmo.description into the files?
is it possible do set those properties directly using magnolia UI (like add a new field)?

--Mimmo
--
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=b5e6c375-c287-4ec7-b5fd-43e2ee5df6cf


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Unger, Richard
2014-02-24 12:27:02 UTC
Permalink
Hi Mimmo,

If you don't need i18n for your dialog field, then just add a property "label" and directly configure the desired label-text.

If you need i18n for your field name, then you probably need to start looking at creating your own module. Your module can contain your own i18n property files.

Regards from Vienna,

Richard
-----Ursprüngliche Nachricht-----
cms.com] Im Auftrag von Domenico Cianniello (via Magnolia Forums)
Gesendet: Sonntag, 23. Februar 2014 16:05
An: Magnolia User List
Betreff: [magnolia-user] Re: DAM Asset form customization
Hello,
thanks a lot.
I have created a new field with name "mimmo" (my nickname); on the
creation form now I can see the new field, but the label is not correct,
because it shows the key "assets.asset.mimmo...".
I have little bit investigated and I have found, into the jar magnolia-dam-
1.2.1.jar, the property files mgnl-18n\app-assets-messages*.properties.
do I have to add the properties assets.asset.mimmo.label and
assets.asset.mimmo.description into the files?
is it possible do set those properties directly using magnolia UI (like add a new field)?
--Mimmo
--
Context is everything: http://forum.magnolia-
cms.com/forum/thread.html?threadId=b5e6c375-c287-4ec7-b5fd-
43e2ee5df6cf
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-
lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
----------------------------------------------------------------
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------

Loading...