Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Yan Naing Oo
comment text style bold
16. April 2012 21:06
Antwort

Yan Naing Oo

Rang: Regular Member

Nachrichten: 180

Eintrittsdatum: 17. Februar 2011

Neue Beiträge

Hi all,

can anyone know, how to commented text display bold ?

thanks
David H Nebinger
RE: comment text style bold
17. April 2012 08:09
Antwort

David H Nebinger

Community Moderator

Rang: Liferay Legend

Nachrichten: 11295

Eintrittsdatum: 1. September 2006

Neue Beiträge

Where?

Obviously the answer is going to be driven by some sort of CSS change, but you need to know where it is going to be changed, is it a global change to the portal or just a change within a specific portlet, ...
Yan Naing Oo
RE: comment text style bold
17. April 2012 17:39
Antwort

Yan Naing Oo

Rang: Regular Member

Nachrichten: 180

Eintrittsdatum: 17. Februar 2011

Neue Beiträge

HI David,

first

I was trying to achieve in Advanced CSS changed for specific portlet first. but the comments text are in the AUI ID which is autogenerated
<div id="aui_3_2_0_1842"> hello! </div> . the tags that Inspected from browser, the id is automatically changed once it browsing .
i could not pointed #portletID .aui_3_2_0_1842{ font-weight: bold; } . it does not work. is there can be do something for it .

second
if not work with first thing then I try to change in the portlet globally. the portlet for comment that i currently used is asset publisher comment.
can i have to know where is the jspf page in the physical location of the asset publisher's comment ? I cant manage to find it the portlet directory for comment yet.
please let me know ?

thanks
Hitoshi Ozawa
RE: comment text style bold
17. April 2012 21:14
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

You right about this. To change the style of the comment, you'll need to change the jsp.

Try inserting a <span class="commentBold"> tag in a block starting at line #262 <td class="lfr-top stretch">
in \ROOT\html\taglib\ui\discussion\page.jsp

and define css for commndBold class.
Yan Naing Oo
RE: comment text style bold
17. April 2012 22:02
Antwort

Yan Naing Oo

Rang: Regular Member

Nachrichten: 180

Eintrittsdatum: 17. Februar 2011

Neue Beiträge

Hi Hitoshi,

it work perfectly. this is what I a needed. thank so much.emoticon
Hitoshi Ozawa
RE: comment text style bold
17. April 2012 22:44
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

No problem. Somebody just crashed my servers I was setting up for a large demo and had some time left over on my hand while it's rebooting them all up again. emoticon