Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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?
You can use the openModalWindow function to open a "modal" which should be what you're looking for. Ex:
Thanks Tom.. Thats exactly what I was looking for :)
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.
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!
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 184.108.40.206?
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:
var doc = new Document(<your node id here>);
var image = doc.getProperty("yourUploadFieldAlias").Value;
Hope that helps,
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted