This code is meant to be used in the Umbraco back-office, via a custom datatype, dashboard control, or other Umbraco page. Based on your other thread I'm assuming you meant to use this in the front-end, in which case you're on the right track with fancybox/colorbox. If you're interested in using the backend and need more help, let me know!
I am creating a custom control.after clicking link in the custom control and i am openining modal window.Now i want to load an image into this window.that image i want to take from upload control in my document instead of media picker tree .how to do it in umbraco 4.7.1.1?
How to create a custom backoffice popup
I am looking for a way to add a new popup near the backoffice About popup with the same style but with different content..
I can see the About popup is loaded using UmbClientMgr.appActions().launchAbout();"
but is there anyway to create a custom popup using the same styles?
Hi,
You can use the openModalWindow function to open a "modal" which should be what you're looking for. Ex:
-Tom
Thanks Tom.. Thats exactly what I was looking for :)
Hi Tom,
How exactly is the "modal" example executed?
Could you please provide "for dummies" instructions? Where to place code, what to change, etc.?
New to Umbraco. Thanks in advance.
Hi Jason,
This code is meant to be used in the Umbraco back-office, via a custom datatype, dashboard control, or other Umbraco page. Based on your other thread I'm assuming you meant to use this in the front-end, in which case you're on the right track with fancybox/colorbox. If you're interested in using the backend and need more help, let me know!
-Tom
hi tom fulton,
I am creating a custom control.after clicking link in the custom control and i am openining modal window.Now i want to load an image into this window.that image i want to take from upload control in my document instead of media picker tree .how to do it in umbraco 4.7.1.1?
Hi Siva,
If I'm understanding - you have a custom page (in a modal) and you want to pull in the value of a document's upload field to display as an image?
You'd probably want to use the Document API to get the document and the upload property, something like:
Hope that helps, Tom
is working on a reply...