Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Ace Man
Display other fields in Members activies and directory portlets
12 luglio 2010 6.57
Risposta

Ace Man

Punteggio: New Member

Messaggi: 14

Data di Iscrizione: 29 ottobre 2009

Messaggi recenti

I want to display the telephone number of a user in the directory portlet and the full name of a user in the members activities portlet (instead of the first name only).

As i am totally new to Liferay and Java, i don´t know which files and code to modify and what code i need.

I hope you can suggest help.
Masroor Khan
RE: Display other fields in Members activies and directory portlets
12 luglio 2010 23.33
Risposta

Masroor Khan

Punteggio: Regular Member

Messaggi: 120

Data di Iscrizione: 9 settembre 2008

Messaggi recenti

Hi,

go to ext\ext-web\tmp\html\portlet\
there you will get directory folder,
copy directory folder to ext-web\docroot\html\portlet
and you can change in jsp files according your requirement

and you need to deploy after change
Ace Man
RE: Display other fields in Members activies and directory portlets
13 luglio 2010 0.58
Risposta

Ace Man

Punteggio: New Member

Messaggi: 14

Data di Iscrizione: 29 ottobre 2009

Messaggi recenti

I can´t find a folder ext-web.
I am running tomcat here. I can find a folder tomcat-6.0.26/jre1.5.0_22/win/lib/ext and a folder tomcat-6.0.26/lib/ext but in none of them is a ext-web subfolder.

I can find three instances of the directory portlet folder
tomcat-6.0.26/temp/liferay/minifier/portal/html/portlet/directory
tomcat-6.0.26/work/Catalina/localhost/_/org/apache/jsp/html/portlet/directory
tomcat-6.0.26/webapps/ROOT/html/portlet/directory

which is the right one?

And what code do i need to write in which file to get the phone number displayed?

Thanks in advance.
Marcus Souza
RE: Display other fields in Members activies and directory portlets
13 luglio 2010 1.03
Risposta

Marcus Souza

Punteggio: Junior Member

Messaggi: 58

Data di Iscrizione: 31 marzo 2009

Messaggi recenti

You have to configure your ext enviroment to have the ext-web. That prevents ppl to change the source code of Liferay. If you have the Ext enviroment, you can deploy your changes into Liferay. Read Liferay Documents for more Information about how to configure the ext-env.
Ace Man
RE: Display other fields in Members activies and directory portlets
13 luglio 2010 1.30
Risposta

Ace Man

Punteggio: New Member

Messaggi: 14

Data di Iscrizione: 29 ottobre 2009

Messaggi recenti

Thanks for pointing me in the right direction. I will read the documentation.