Is it possible to show all available communities in the liferay portal??Is it possible to show all available communities in the liferay portal??https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=117227142024-03-29T14:00:49Z2024-03-29T14:00:49ZRE: Is it possible to show all available communities in the liferay portal?En Ricohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=118468012011-12-20T12:27:30Z2011-12-20T12:27:30ZHello,<br /><br />Problem is solved.. <br /><br />I wrote this in my portal_normal.vm<br /><br />#set($mySites = $user.getMySites(10))<br /><br />#foreach ($mySite IN $mySites)<br /> #if ($mySite.isCommunity()) <br /> $mySite.getName()<br /> #end<br />#end<br /><br />But my other question is what is the integer parameter inside getMySites( ) ???En Rico2011-12-20T12:27:30ZRE: Is it possible to show all available communities in the liferay portal?En Ricohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=118448162011-12-20T09:34:27Z2011-12-20T09:34:27ZHello,<br /><br />thank you for ur answer.<br />I am noch trying to change the velocity code in the portal_normal.vm<br /><br />Based on http://www.liferay.com/web/raymond.auge/blog/-/blogs/journal-vm-template-meets-saxreaderutil now i know how to add a list in velocity code.<br />On my velocity Code, i wrote this:<br /><br /># set($groupUtil = $serviceLocator.findService("com.liferay.portal.service.GroupLocalServiceUtil"))<br /><br />But i got an error:<br /><br />Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'com.liferay.portal.service.GroupLocalServiceUtil' is defined<br /> at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)<br /> at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)<br /> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)<br /> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)<br /> at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1075)<br /> at com.liferay.portal.bean.BeanLocatorImpl.doLocate(BeanLocatorImpl.java:86)<br /> at com.liferay.portal.bean.BeanLocatorImpl.locate(BeanLocatorImpl.java:67)<br /> ... 152 more<br /><br /><br />That means there is no GroupLocalServiceUtil??<br />I thought this class is in .jar of Liferay that i got.<br /><br />Any Idea?En Rico2011-12-20T09:34:27ZRE: Is it possible to show all available communities in the liferay portal?Ravi Kumar Guptahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=117295882011-12-09T11:10:33Z2011-12-09T11:10:33ZSee this post <a href="http://www.liferay.com/community/forums/-/message_boards/message/2173471">http://www.liferay.com/community/forums/-/message_boards/message/2173471</a>Ravi Kumar Gupta2011-12-09T11:10:33ZIs it possible to show all available communities in the liferay portal??En Ricohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=117227132011-12-08T20:44:47Z2011-12-08T20:44:47ZHello all,<br /><br />i am new here.<br />I am trying to modify and develop the classic liferay theme.<br /><br />I have a question to ask. Is there any possibility to get all the available communities that has been created ??<br />I have checked the navigation.vm. There is #foreach ($nav_item in $nav_it