Guillaume Mouisson 14 Years Ago Hello Jonas,I have a problem! I am wondering how to configure your very useful portlet to use it with my own OpenX instance. Do I have to get your source code, update it (where?) and compile or can I change the portlet's configuration through a conf file ? Thanks Please sign in to reply. Reply as... Cancel Jonas Yuan Guillaume Mouisson 14 Years Ago - Edited Hello Guillaume, Thank you. As mentioned in http://www.liferay.com/web/jonasxyuan/blog/-/blogs/full-restful-integration-of-liferay-and-openx, you can have source code. Thus you can change the portlet's configuration as you expected. You can get source code at http://liferay.cignex.com/ad_server/. By the way, the source code will be available at Liferay SVN repository soon. For detailed instructions, you may refer to http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Integration+with+OpenX. Please sign in to reply. Reply as... Cancel
Jonas Yuan Guillaume Mouisson 14 Years Ago - Edited Hello Guillaume, Thank you. As mentioned in http://www.liferay.com/web/jonasxyuan/blog/-/blogs/full-restful-integration-of-liferay-and-openx, you can have source code. Thus you can change the portlet's configuration as you expected. You can get source code at http://liferay.cignex.com/ad_server/. By the way, the source code will be available at Liferay SVN repository soon. For detailed instructions, you may refer to http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Integration+with+OpenX. Please sign in to reply. Reply as... Cancel
Bolatzhan Kumalakov 14 Years Ago Hi, post looks at using external CAS, but the problem is - we need the system to be located on a server, which is not connected to the internet, what am i to do? Is it possible to suggest an article on how to put up an SSO service and one for connecting platforms to it? Please sign in to reply. Reply as... Cancel Jonas Yuan Bolatzhan Kumalakov 14 Years Ago - Edited Hi Bolatzhan, than you. You can put CAS in the same server as that of Liferay portal. For example, current CAS is in docs.cignex.com. But you can move it to liferay.cignex.com. Thus for document, you just use docs.cignex.com and liferay.cignex.com pointing to a same domain name. Please sign in to reply. Reply as... Cancel bahadir Lord xx Jonas Yuan 14 Years Ago Hi Jonas,I just want to use only 5.3 server wthout cas an Alfresco. What is the default login credentials for liferay ? I coulnt Please sign in to reply. Reply as... Cancel Jonas Yuan bahadir Lord xx 14 Years Ago Hi Jedi, thanks. If you were using LDAP, then the default login credentials should come from LDAP. Please sign in to reply. Reply as... Cancel Jedi Lord xx Jonas Yuan 14 Years Ago i am not using ldap and want to try liferay 5.3 only this time. thanks Please sign in to reply. Reply as... Cancel Jonas Yuan Jedi Lord xx 14 Years Ago - Edited Hi Jedi, thanks. You can use database storing all users info. Just leave LDAP configuration in the portal 5.3. Please sign in to reply. Reply as... Cancel
Jonas Yuan Bolatzhan Kumalakov 14 Years Ago - Edited Hi Bolatzhan, than you. You can put CAS in the same server as that of Liferay portal. For example, current CAS is in docs.cignex.com. But you can move it to liferay.cignex.com. Thus for document, you just use docs.cignex.com and liferay.cignex.com pointing to a same domain name. Please sign in to reply. Reply as... Cancel bahadir Lord xx Jonas Yuan 14 Years Ago Hi Jonas,I just want to use only 5.3 server wthout cas an Alfresco. What is the default login credentials for liferay ? I coulnt Please sign in to reply. Reply as... Cancel Jonas Yuan bahadir Lord xx 14 Years Ago Hi Jedi, thanks. If you were using LDAP, then the default login credentials should come from LDAP. Please sign in to reply. Reply as... Cancel Jedi Lord xx Jonas Yuan 14 Years Ago i am not using ldap and want to try liferay 5.3 only this time. thanks Please sign in to reply. Reply as... Cancel Jonas Yuan Jedi Lord xx 14 Years Ago - Edited Hi Jedi, thanks. You can use database storing all users info. Just leave LDAP configuration in the portal 5.3. Please sign in to reply. Reply as... Cancel
bahadir Lord xx Jonas Yuan 14 Years Ago Hi Jonas,I just want to use only 5.3 server wthout cas an Alfresco. What is the default login credentials for liferay ? I coulnt Please sign in to reply. Reply as... Cancel Jonas Yuan bahadir Lord xx 14 Years Ago Hi Jedi, thanks. If you were using LDAP, then the default login credentials should come from LDAP. Please sign in to reply. Reply as... Cancel Jedi Lord xx Jonas Yuan 14 Years Ago i am not using ldap and want to try liferay 5.3 only this time. thanks Please sign in to reply. Reply as... Cancel Jonas Yuan Jedi Lord xx 14 Years Ago - Edited Hi Jedi, thanks. You can use database storing all users info. Just leave LDAP configuration in the portal 5.3. Please sign in to reply. Reply as... Cancel
Jonas Yuan bahadir Lord xx 14 Years Ago Hi Jedi, thanks. If you were using LDAP, then the default login credentials should come from LDAP. Please sign in to reply. Reply as... Cancel Jedi Lord xx Jonas Yuan 14 Years Ago i am not using ldap and want to try liferay 5.3 only this time. thanks Please sign in to reply. Reply as... Cancel Jonas Yuan Jedi Lord xx 14 Years Ago - Edited Hi Jedi, thanks. You can use database storing all users info. Just leave LDAP configuration in the portal 5.3. Please sign in to reply. Reply as... Cancel
Jedi Lord xx Jonas Yuan 14 Years Ago i am not using ldap and want to try liferay 5.3 only this time. thanks Please sign in to reply. Reply as... Cancel Jonas Yuan Jedi Lord xx 14 Years Ago - Edited Hi Jedi, thanks. You can use database storing all users info. Just leave LDAP configuration in the portal 5.3. Please sign in to reply. Reply as... Cancel
Jonas Yuan Jedi Lord xx 14 Years Ago - Edited Hi Jedi, thanks. You can use database storing all users info. Just leave LDAP configuration in the portal 5.3. Please sign in to reply. Reply as... Cancel
Pablo M Mino 14 Years Ago I can't wait for the do-it-yourself on the wiki , a 5.3 development book with this included would be niceI wanted to ask something, this could also help on the uploading file system liferay got by default? I mean, could attachments on wikis and boards go directly to an alfresco space? Please sign in to reply. Reply as... Cancel Jonas Yuan Pablo M Mino 14 Years Ago - Edited Hi Pablo, Thank you. You can integrate attachments on wikis and boards directly to an alfresco space - it needs addition code for customization.Currently, Alfresco is used as a direct repository of Document Library and Image Gallery.New book would cover this part in details and it will be available at the beginning of new year hopefully ... Please sign in to reply. Reply as... Cancel Pablo M Mino Jonas Yuan 14 Years Ago I was trying to check the WYSIWYG on your demo site, to understand how you upload or use files from/to alfresco, but it doesn't load, it displays a pop up saying: bar name "liferay" undefinedAlso it seems the Document Library and Image Gallery there are not using Alfresco as a RepositoryCan you tell or make a wiki entry on where the portlets point to certain repository and how to tell them to use an Alfresco space instead? Please sign in to reply. Reply as... Cancel Jonas Yuan Pablo M Mino 14 Years Ago - Edited Thank you, Pablo. I will make a wiki article for this. Eventually, details are available at Chapter 6: Customizing the WYSIWYG Editor of the book Liferay Portal 5.2 Systems Development. You can refer it at http://www.amazon.com/Liferay-Portal-5-2-Systems-Development/dp/1847194702 orhttp://www.liferay.com/web/jonas.yuan/blog/-/blogs/liferay-book:-liferay-portal-5-2-systems-development Please sign in to reply. Reply as... Cancel
Jonas Yuan Pablo M Mino 14 Years Ago - Edited Hi Pablo, Thank you. You can integrate attachments on wikis and boards directly to an alfresco space - it needs addition code for customization.Currently, Alfresco is used as a direct repository of Document Library and Image Gallery.New book would cover this part in details and it will be available at the beginning of new year hopefully ... Please sign in to reply. Reply as... Cancel Pablo M Mino Jonas Yuan 14 Years Ago I was trying to check the WYSIWYG on your demo site, to understand how you upload or use files from/to alfresco, but it doesn't load, it displays a pop up saying: bar name "liferay" undefinedAlso it seems the Document Library and Image Gallery there are not using Alfresco as a RepositoryCan you tell or make a wiki entry on where the portlets point to certain repository and how to tell them to use an Alfresco space instead? Please sign in to reply. Reply as... Cancel Jonas Yuan Pablo M Mino 14 Years Ago - Edited Thank you, Pablo. I will make a wiki article for this. Eventually, details are available at Chapter 6: Customizing the WYSIWYG Editor of the book Liferay Portal 5.2 Systems Development. You can refer it at http://www.amazon.com/Liferay-Portal-5-2-Systems-Development/dp/1847194702 orhttp://www.liferay.com/web/jonas.yuan/blog/-/blogs/liferay-book:-liferay-portal-5-2-systems-development Please sign in to reply. Reply as... Cancel
Pablo M Mino Jonas Yuan 14 Years Ago I was trying to check the WYSIWYG on your demo site, to understand how you upload or use files from/to alfresco, but it doesn't load, it displays a pop up saying: bar name "liferay" undefinedAlso it seems the Document Library and Image Gallery there are not using Alfresco as a RepositoryCan you tell or make a wiki entry on where the portlets point to certain repository and how to tell them to use an Alfresco space instead? Please sign in to reply. Reply as... Cancel Jonas Yuan Pablo M Mino 14 Years Ago - Edited Thank you, Pablo. I will make a wiki article for this. Eventually, details are available at Chapter 6: Customizing the WYSIWYG Editor of the book Liferay Portal 5.2 Systems Development. You can refer it at http://www.amazon.com/Liferay-Portal-5-2-Systems-Development/dp/1847194702 orhttp://www.liferay.com/web/jonas.yuan/blog/-/blogs/liferay-book:-liferay-portal-5-2-systems-development Please sign in to reply. Reply as... Cancel
Jonas Yuan Pablo M Mino 14 Years Ago - Edited Thank you, Pablo. I will make a wiki article for this. Eventually, details are available at Chapter 6: Customizing the WYSIWYG Editor of the book Liferay Portal 5.2 Systems Development. You can refer it at http://www.amazon.com/Liferay-Portal-5-2-Systems-Development/dp/1847194702 orhttp://www.liferay.com/web/jonas.yuan/blog/-/blogs/liferay-book:-liferay-portal-5-2-systems-development Please sign in to reply. Reply as... Cancel
Pablo M Mino 14 Years Ago Sorry to keep bothering, I wanted to use the latest LR 5.3, Alfresco Community 3.2 and CAS SSO on my own, and not use the bundle you provideIt shouldn't be too hard to do, just place the same parameters from LR CAS Filter into Alfresco, and also the filter mappingsBut when I log in CAS it works for LR but the Alfresco portlet is still on guest, tried to do something from Alfresco wiki about telling the Authentication Filter to use cas user parameter but didn't worked eitherWhat else am I missing so Alfresco listens to CAS?, been trying this for weeks Please sign in to reply. Reply as... Cancel Jonas X. Yuan Pablo M Mino 13 Years Ago Hi Pablo, do you get issue fixed? Hope that you did. Please sign in to reply. Reply as... Cancel
Jonas X. Yuan Pablo M Mino 13 Years Ago Hi Pablo, do you get issue fixed? Hope that you did. Please sign in to reply. Reply as... Cancel
P Cache 13 Years Ago Hi Jonas!Is there also a way to integrate Alfresco as a set of portlets only with SSO and without LDAP binding? I mean, a member can register on Liferay and the account is also valid for Alfresco portlets. So afer log in to Liferay there is no relogin on Alfresco portlets necessary. Please sign in to reply. Reply as... Cancel Jonas X. Yuan P Cache 13 Years Ago Hi P Cache, good point. Do you want to implement it? Please sign in to reply. Reply as... Cancel
Jonas X. Yuan P Cache 13 Years Ago Hi P Cache, good point. Do you want to implement it? Please sign in to reply. Reply as... Cancel
Seyed Mohammad Hosein Jamali 13 Years Ago I have some problems including : ERROR [jsp:165] java.lang.NoClassDefFoundError: com/liferay/portal/kernel/util/SSOAutoLoginConstantand 15:51:26,015 User:test ERROR [freemarker.runtime] Error on line 37, column 7 in org/alfresco/portlets/doclist.get.html.ftluserhome is undefined.It cannot be assigned to homeThe problematic instruction:----------==> assignment: home=userhome [on line 37, column 7 in org/alfresco/portlets/doclist.get.html.ftl]----------Java backtrace for programmers:----------freemarker.core.InvalidReferenceException: Error on line 37, column 7 in org/alfresco/portlets/doclist.get.html.ftluserhome is undefined.It cannot be assigned to home at freemarker.core.Assignment.accept(Assignment.java:111) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.IfBlock.accept(IfBlock.java:82)after login to CAS it redirect me to liferay but alfresco portlets dont works properly , they work properly only for users who have spaces already in alfresco !! Please sign in to reply. Reply as... Cancel Jonas X. Yuan Seyed Mohammad Hosein Jamali 13 Years Ago - Edited Hi Seyed, Thanks. Do you use FreeMarker in Alfresco? It seems that only web scripts (with ftl) throws erros.Note that FreeMarker got supported in Liferay 6, too. Please sign in to reply. Reply as... Cancel Seyed Mohammad Hosein Jamali Jonas X. Yuan 13 Years Ago Yes FreeMarker used in Alfresco but it is default of alfresco and its webscripts use FreeMarker for UI. but root of problem is not FreeMarker. Alfresco authentication is root of problem. Alfresco can not create home folder for LDAP users or it can not create space for users who authenticated by LDAP and CAS. I configure Alfresco to use LDAP for user authentication and use single-sign-on by CAS. when i try to login to Alfresco directly it works fine but when i login to Liferay by CAS alfresco portlets generate above exception. it seems alfresco can not creates home folder (space) for users stored in LDAP. because i can signin to alfresco directly (http://localhost:8080/alfresco) and create space for users.single-sign-on for users who have a space in alfresco already works fine but for new users that added by Liferay or added directly to LDAP doesn't work. by this way i have to create space and home folder for all users manually by login to Alfresco directly. Please sign in to reply. Reply as... Cancel
Jonas X. Yuan Seyed Mohammad Hosein Jamali 13 Years Ago - Edited Hi Seyed, Thanks. Do you use FreeMarker in Alfresco? It seems that only web scripts (with ftl) throws erros.Note that FreeMarker got supported in Liferay 6, too. Please sign in to reply. Reply as... Cancel Seyed Mohammad Hosein Jamali Jonas X. Yuan 13 Years Ago Yes FreeMarker used in Alfresco but it is default of alfresco and its webscripts use FreeMarker for UI. but root of problem is not FreeMarker. Alfresco authentication is root of problem. Alfresco can not create home folder for LDAP users or it can not create space for users who authenticated by LDAP and CAS. I configure Alfresco to use LDAP for user authentication and use single-sign-on by CAS. when i try to login to Alfresco directly it works fine but when i login to Liferay by CAS alfresco portlets generate above exception. it seems alfresco can not creates home folder (space) for users stored in LDAP. because i can signin to alfresco directly (http://localhost:8080/alfresco) and create space for users.single-sign-on for users who have a space in alfresco already works fine but for new users that added by Liferay or added directly to LDAP doesn't work. by this way i have to create space and home folder for all users manually by login to Alfresco directly. Please sign in to reply. Reply as... Cancel
Seyed Mohammad Hosein Jamali Jonas X. Yuan 13 Years Ago Yes FreeMarker used in Alfresco but it is default of alfresco and its webscripts use FreeMarker for UI. but root of problem is not FreeMarker. Alfresco authentication is root of problem. Alfresco can not create home folder for LDAP users or it can not create space for users who authenticated by LDAP and CAS. I configure Alfresco to use LDAP for user authentication and use single-sign-on by CAS. when i try to login to Alfresco directly it works fine but when i login to Liferay by CAS alfresco portlets generate above exception. it seems alfresco can not creates home folder (space) for users stored in LDAP. because i can signin to alfresco directly (http://localhost:8080/alfresco) and create space for users.single-sign-on for users who have a space in alfresco already works fine but for new users that added by Liferay or added directly to LDAP doesn't work. by this way i have to create space and home folder for all users manually by login to Alfresco directly. Please sign in to reply. Reply as... Cancel
Marc Piparo 13 Years Ago Hi Jonas.I've been able to successfully integrate your ad-portal into my liferay test instance and able to search the example openx server for banners. However, I am getting javascript errors on both IE 8 and Firefox while attempting to select the banner checkboxes and not able to add an Ad. - I get the "Please select at least one banner" error. any ideas?any help is appreciated. thanks! Please sign in to reply. Reply as... Cancel Jonas Yuan Marc Piparo 13 Years Ago Hi Marc, you may need to include jQuery js files and CSS in the portlet, since LR 6.0 does not include any jQuery by default.Hope that it helps,Jonas Yuan Please sign in to reply. Reply as... Cancel Marc Piparo Jonas Yuan 13 Years Ago Thanks Jonus.I was able to test it by adding the jquery javascript include directly in the template, so it looks like that was it, but I am having some issues adding the javascript to the portlet props instead of the template. (sorry, I'm a portlet newbie).I read thru your Building jQuery based plugins in Liferay 6 blog did the following:1. added the following to ../webapps/ad-portlet/WEB-INF/liferay-portlet.xml<portlet> <portlet-name>1</portlet-name> <icon>/images/world.png</icon> <header-portlet-css>/css/style.css</header-portlet-css> <header-portlet-javascript>/js/jquery.js</header-portlet-javascript> <footer-portlet-javascript>/js/jquery-ui-custom.js</footer-portlet-javascript> <css-class-wrapper>sample-jquery-portlet</css-class-wrapper></portlet>2. copied the js files to ../webapps/ad-portlet/js and css files to ../webapps/ad-portlet/cssthat doesn't appear to include the javascript though in the page with the portlet. am I missing something?thanks again! Please sign in to reply. Reply as... Cancel
Jonas Yuan Marc Piparo 13 Years Ago Hi Marc, you may need to include jQuery js files and CSS in the portlet, since LR 6.0 does not include any jQuery by default.Hope that it helps,Jonas Yuan Please sign in to reply. Reply as... Cancel Marc Piparo Jonas Yuan 13 Years Ago Thanks Jonus.I was able to test it by adding the jquery javascript include directly in the template, so it looks like that was it, but I am having some issues adding the javascript to the portlet props instead of the template. (sorry, I'm a portlet newbie).I read thru your Building jQuery based plugins in Liferay 6 blog did the following:1. added the following to ../webapps/ad-portlet/WEB-INF/liferay-portlet.xml<portlet> <portlet-name>1</portlet-name> <icon>/images/world.png</icon> <header-portlet-css>/css/style.css</header-portlet-css> <header-portlet-javascript>/js/jquery.js</header-portlet-javascript> <footer-portlet-javascript>/js/jquery-ui-custom.js</footer-portlet-javascript> <css-class-wrapper>sample-jquery-portlet</css-class-wrapper></portlet>2. copied the js files to ../webapps/ad-portlet/js and css files to ../webapps/ad-portlet/cssthat doesn't appear to include the javascript though in the page with the portlet. am I missing something?thanks again! Please sign in to reply. Reply as... Cancel
Marc Piparo Jonas Yuan 13 Years Ago Thanks Jonus.I was able to test it by adding the jquery javascript include directly in the template, so it looks like that was it, but I am having some issues adding the javascript to the portlet props instead of the template. (sorry, I'm a portlet newbie).I read thru your Building jQuery based plugins in Liferay 6 blog did the following:1. added the following to ../webapps/ad-portlet/WEB-INF/liferay-portlet.xml<portlet> <portlet-name>1</portlet-name> <icon>/images/world.png</icon> <header-portlet-css>/css/style.css</header-portlet-css> <header-portlet-javascript>/js/jquery.js</header-portlet-javascript> <footer-portlet-javascript>/js/jquery-ui-custom.js</footer-portlet-javascript> <css-class-wrapper>sample-jquery-portlet</css-class-wrapper></portlet>2. copied the js files to ../webapps/ad-portlet/js and css files to ../webapps/ad-portlet/cssthat doesn't appear to include the javascript though in the page with the portlet. am I missing something?thanks again! Please sign in to reply. Reply as... Cancel
(You) 12 Years Ago [...] Haven’t tried using SSO approaches yet: 1. Rivet Logic STAr (Secure Token Authentication rivet amp for Alfresco) used with AWPr 2. Jonas Yuan / Cignex LDAP ADS and SSO CAS and also blog post on a... [...] Read More Please sign in to reply. Reply as... Cancel
abhishek kumar 8 Years Ago Hi i have a problem , how to use SSO in liferay portal if alfresco it is been integrated ?Meanwhile i have to login in liferay portal and again login in alfresco and alfresco it is been integrated in liferay portal ?? Please sign in to reply. Reply as... Cancel