Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Yan Naing Oo
comment text style bold
April 16, 2012 9:06 PM
Answer

Yan Naing Oo

Rank: Regular Member

Posts: 180

Join Date: February 17, 2011

Recent Posts

Hi all,

can anyone know, how to commented text display bold ?

thanks
David H Nebinger
RE: comment text style bold
April 17, 2012 8:09 AM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 7250

Join Date: September 1, 2006

Recent Posts

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
April 17, 2012 5:39 PM
Answer

Yan Naing Oo

Rank: Regular Member

Posts: 180

Join Date: February 17, 2011

Recent Posts

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
April 17, 2012 9:14 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7954

Join Date: March 23, 2010

Recent Posts

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
April 17, 2012 10:02 PM
Answer

Yan Naing Oo

Rank: Regular Member

Posts: 180

Join Date: February 17, 2011

Recent Posts

Hi Hitoshi,

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

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7954

Join Date: March 23, 2010

Recent Posts

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