Fórum

Wall portlet

Matteo S, modificado 15 Anos atrás.

Wall portlet

New Member Postagens: 7 Data de Entrada: 14/04/09 Postagens Recentes
Hi. I've tried to put the wall portlet on a community page, but it doesn't work. Can you explain why this portlet works only on user's pages?
What can I use to have a wall on a community page?

Thanks in advance.
thumbnail
Amos Fong, modificado 15 Anos atrás.

RE: Wall portlet

Liferay Legend Postagens: 2047 Data de Entrada: 07/10/08 Postagens Recentes
Yes I think the portlet only works on user pages.

Will a page comments portlet work?
Bruno Hernan Gallo, modificado 14 Anos atrás.

RE: Wall portlet

New Member Postagens: 16 Data de Entrada: 27/03/09 Postagens Recentes
More than a comment portlet , I think an offline chat protlet will be very usefull for the community to post , for example: small questions to the community.

Anybody knows a porlet for this? Something like this: http://www.shoutmix.com/main/

Regards,
Bruno
thumbnail
Lisa Simpson, modificado 14 Anos atrás.

RE: Wall portlet

Liferay Legend Postagens: 2034 Data de Entrada: 05/03/09 Postagens Recentes
Maybe give your users the right to put a poll on the community page??? That might satisfy your requirements.
thumbnail
Parul Seth, modificado 14 Anos atrás.

RE: Wall portlet

Junior Member Postagens: 83 Data de Entrada: 18/12/08 Postagens Recentes
Hi

I had a similar requirement and got this working by the way i have mentioned in this post

HTH

Thanks & Regards
Parul Seth
Impetus Infotech (India) Pvt. Ltd.
Bruno Hernan Gallo, modificado 14 Anos atrás.

RE: Wall portlet

New Member Postagens: 16 Data de Entrada: 27/03/09 Postagens Recentes
Parul,
Thank you very much, I'will test your solution!

regards,
bruno
thumbnail
Arvind Mishra, modificado 14 Anos atrás.

RE: Wall portlet

Regular Member Postagens: 226 Data de Entrada: 13/02/08 Postagens Recentes
Parul Seth:
Hi

I had a similar requirement and got this working by the way i have mentioned in this post





Wall portlet is bit different than Friends Portlet. Above solution wont work the exaclty same way , the Current Wall Portlet works right now

Wall portlet are designed to work in User pages , there is a reason behind that .Wall portlets need two users , one is the logged in User , other is user which you are browsing , (Something like facebook) .If the user you are browsing is your friend , portlet will show you option to add Wall Note.

If you go in to the implementation of Wall Portlet . It uses GroupId , Userid combination to determine the Coupled entries .
When you are in User Page , You get the groupId value from the user page you are at currently . and user id from the logged in user.

If you will place the Wall portlet on Community page , you will only get one group id everytime time , How you will determine the identity of second user ?
thumbnail
Parul Seth, modificado 14 Anos atrás.

RE: Wall portlet

Junior Member Postagens: 83 Data de Entrada: 18/12/08 Postagens Recentes
Hi Arvind

Yes that's very true emoticon and that's what i mean by
if you are changing this thing you need to supply the appropriate "user" object everywhere.


So to get the Wall and other similar kind of portlets working I passed the user along with the request via the user links on the friends portlet and elsewhere.

And yes we need to change the Wall's source code for that too.

For that I have a profile portlet or whatever you call that and then it's like you click on a friend's link you reach his profile and then you can visit his wall via the wall link. (same as facebook/orkut). And if you click on the tab with the wall portlet you can see your own wall.

For the latter part you'll need to do a bit of IPC via portlet URL.

So when you tweak with the code it ain't that easy to get things working straight away, changing the default way causes many other subsequent changes. emoticon

HTH emoticon

Thanks & Regards
Parul Seth
Impetus Infotech (India) Pvt. Ltd.
thumbnail
Arvind Mishra, modificado 14 Anos atrás.

RE: Wall portlet

Regular Member Postagens: 226 Data de Entrada: 13/02/08 Postagens Recentes
Yep very true . If you are willing to change the code , things are possible and easier to implement ,
But your cost and time will increase if there is an upgrade. If Plug in is not backward compatible you have to change the WOL code also .

I went for completely new port let , My Own Wall Portlet . which rather than taking groupId, userId combination , takes fromuserid , touserid
combination. JSP logic is more or less same , you can copy paste and modify it .

Thanks
Arvind
thumbnail
Parul Seth, modificado 14 Anos atrás.

RE: Wall portlet

Junior Member Postagens: 83 Data de Entrada: 18/12/08 Postagens Recentes
I did the very same emoticon , since my requirement had other portlets besides the Wall from the WOL collection, I made a copy of wol-portlet and then did all the changes desired, keeping the default wol-portlet untouched.

In my case I had vistorId and ownerId throughout emoticon.

Its actually a choice to modify the original or not, quite similar to choosing plugin sdk or ext emoticon

Thanks & Regards
Parul Seth
Impetus Infotech (India) Pvt. Ltd.
don S, modificado 12 Anos atrás.

RE: Wall portlet

New Member Mensagem: 1 Data de Entrada: 21/02/12 Postagens Recentes
hi
my requirement is , if i post something in my wall portlet this should be automatically display in my friend wall also... to meet this condition what changes i want to make in source, if u know this can any one help me...
thumbnail
Brian Scott Schupbach, modificado 11 Anos atrás.

RE: Wall portlet

Expert Postagens: 329 Data de Entrada: 23/10/08 Postagens Recentes
In the portal-ext.properties

#
default.user.public.layout.name=Home

#
# Set the layout template id of the public layout.
#
default.user.public.layout.template.id=1_2_columns_i

#
# Set the portlet ids for the columns specified in the layout template.
#
default.user.public.layout.column-1=3_WAR_socialnetworkingportlet
default.user.public.layout.column-2=
default.user.public.layout.column-3=
default.user.public.layout.column-4=

#
# Set the friendly url of the public layout.
#
default.user.public.layout.friendly.url=/home
Anonymous Anonymous, modificado 6 Anos atrás.

RE: Wall portlet

Regular Member Postagens: 127 Data de Entrada: 16/09/19 Postagens Recentes
Hello ,

would like to know what are the capabilities of wall portlet.
Is this allows user to upload Image and Videos?

Regards,
Enayath