Il 21.06.2011 11:50, Magnolia Forums (on behalf of El NIno) ha scritto:
I have a situation in Magnolia for templates:
I need to alert the user if the user is trying to upload an image which is of
not the exact size for the particular section of the page. How do i alert the
user using JS in the dialog??
Can we do it? If yes, how can we include/append it?
Hi,
I think you have 2 ways:
1) Every dialog has a "saveAction", disabled by default, that can change
things, warn the user, and so on. You can try to implement something
with this saveAction (search forum and wiki about this..)
2) You can develop a custom control, extending the DAM, where you use
for instance an AJAX/flash uploader with JS support.
HTH,
Matteo
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------