Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
How to use UI image upload
How to use "User Interface" image upload with WAR-portlet?
I have Liferay 4.3.3 & Tomcat 5.5.23
Thanks
I have Liferay 4.3.3 & Tomcat 5.5.23
Thanks
Please, answer me!
All Right. I find solution!
Here, that I am necessary it was.
Here, that I am necessary it was.
The SetUrl(imgUrl) function that will receive the link on the picture should be created in the file that will send for pop-up menu.
For example:
<SCRIPT type="text/javascript">
function SetUrl(imgUrl){
document.getElementById('123').value=imgUrl;
}
</SCRIPT>
To send for the pop-up menu the following script should be written:
window.open('/html/js/editor/fckeditor/editor/filemanager/browser/liferay/browser.html?Type=Image&Connector=%2Fc%2Fportal%2Ffckeditor%3Fp_l_id%3D368%26doAsUserId%3D6DYteNfb914%253D','','width=640,height=480');
or the following one:
<A HREF="javascript:window.open('/html/js/editor/fckeditor/editor/filemanager/browser/liferay/browser.html?Type=Image&Connector=%2Fc%2Fportal%2Ffckeditor%3Fp_l_id%3D368%26doAsUserId%3D6DYteNfb914%253D','','width=640,height=480');" > click</A>
If your have same question about it. Email me: viachaslav.zhilinski@corratech.com
For example:
<SCRIPT type="text/javascript">
function SetUrl(imgUrl){
document.getElementById('123').value=imgUrl;
}
</SCRIPT>
To send for the pop-up menu the following script should be written:
window.open('/html/js/editor/fckeditor/editor/filemanager/browser/liferay/browser.html?Type=Image&Connector=%2Fc%2Fportal%2Ffckeditor%3Fp_l_id%3D368%26doAsUserId%3D6DYteNfb914%253D','','width=640,height=480');
or the following one:
<A HREF="javascript:window.open('/html/js/editor/fckeditor/editor/filemanager/browser/liferay/browser.html?Type=Image&Connector=%2Fc%2Fportal%2Ffckeditor%3Fp_l_id%3D368%26doAsUserId%3D6DYteNfb914%253D','','width=640,height=480');" > click</A>
If your have same question about it. Email me: viachaslav.zhilinski@corratech.com