Javascript function onPageBrowser(...) missing or replaced?

Vote:
 
Hello, I am migrating 4.6 to 5.1 control which was using onPageBrowser() function. Apparently this function no longer exists. Is there another way to perform the same thing now? Thanx in advance
#15902
Mar 25, 2008 19:07
Vote:
 
Hi Milos! Hi guess is that you want a page selecting property in your templates. This has somewhat changed in EPiServer CMS. First of all, to be able to have the popup menus working in Firefox we had to rewrite the way we used popups in the UI. This has resulted in a number of breaking changes in our internal javascript methods. The onPageBrowser method that existed in the system.js file in EPiServer CMS 4 is now replaced by the EPi.CreateBrowserDialog method in EPiServer CMS 5. The target aspx file has also moved from util to UI/Edit/ for security reasons so you have to make sure that the user has access to this file. We are currently working on some documentation on how to work with our popup functionality. This will most likely result in a technical article that will be published tomorow. The information might also end up in the next version of the SDK. Until then you will have to view the source for one of the pages in our UI that uses the functionality. A related resource of information that might be good to read is the page "Running EpiServer without the User Interface" in the Developers Guide section of the SDK.
#16603
Mar 25, 2008 19:10
Vote:
 
Got it working, thanx! It was actually easy to find. It is enough to go to Edit mode where some property for picking pages exists and view the js call in the source. Will read the article.
#16604
Mar 25, 2008 19:10
Vote:
 
Some documentation has been released on this (today) in the following article: http://www.episerver.com/en/EPiServer_Knowledge_Center/Documentation/Articles/EPiServer-CMS/Modal-Dialogs-in-the-EPiServer-UI-for-non-IE-Browsers/ / Daniel Tempel
#16605
Mar 25, 2008 19:11
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.