Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Ramesh Mandri
How to hide images in RSS feed
August 9, 2012 4:06 AM
Answer

Ramesh Mandri

Rank: New Member

Posts: 8

Join Date: May 23, 2011

Recent Posts

Hi,

I am using RSS portlet for displaying news feed, I don't want show images after clicking expand(plus image)tab.
How to resolve it, please help me.

Thanks in advance
Ram
Attachment

Attachments: rss image.png (171.4k)
Jignesh Vachhani
RE: How to hide images in RSS feed
August 9, 2012 4:29 AM
Answer

Jignesh Vachhani

Rank: Liferay Master

Posts: 780

Join Date: March 10, 2008

Recent Posts

Ramesh,

you can customize existing RS portlet using hook and can remove feedImageLink image src link from feed.jspf file of rss portlet (html\portlet\rss).
Dhrutika Vyas
RE: How to hide images in RSS feed
August 9, 2012 6:22 AM
Answer

Dhrutika Vyas

Rank: Expert

Posts: 435

Join Date: February 9, 2009

Recent Posts

Hi ,

You can go to portlet configuration
Uncheck 'Show Feed Image' under 'Display Settings'.

Regards,
Dhrutika
Ramesh Mandri
RE: How to hide images in RSS feed
August 21, 2012 12:25 AM
Answer

Ramesh Mandri

Rank: New Member

Posts: 8

Join Date: May 23, 2011

Recent Posts

hi Jignesh,

Thanks for your reply,
by using hook, the problem got solved, thanks a lot.
Ramesh Mandri
RE: How to hide images in RSS feed
August 21, 2012 12:27 AM
Answer

Ramesh Mandri

Rank: New Member

Posts: 8

Join Date: May 23, 2011

Recent Posts

Hi Dhrutika,

Thanks for your reply, by using hook I solved that problem.
Jignesh Vachhani
RE: How to hide images in RSS feed
August 21, 2012 12:54 AM
Answer

Jignesh Vachhani

Rank: Liferay Master

Posts: 780

Join Date: March 10, 2008

Recent Posts

That's pretty cool !!!!!! Make this thread answered emoticon
Dhrutika Vyas
RE: How to hide images in RSS feed
August 21, 2012 3:21 AM
Answer

Dhrutika Vyas

Rank: Expert

Posts: 435

Join Date: February 9, 2009

Recent Posts

Hi Ramesh,

That's good that your problem got resolved using hook.

But if you just don't want to display image,that thing is simply achievable by configuration.So its not good practice to change it by hook if you can do it by configuration as per my understanding.

Regards,
Dhrutika
Jignesh Vachhani
RE: How to hide images in RSS feed
August 21, 2012 5:10 AM
Answer

Jignesh Vachhani

Rank: Liferay Master

Posts: 780

Join Date: March 10, 2008

Recent Posts

Ramesh,

I agreed with Dhrutika.
Id you can achieve the same thing by using configuration, then better to use that one.
Why we need to change code unnecessarily.
Bhargavi R
About Liferay
August 22, 2012 11:48 PM
Answer

Bhargavi R

Rank: New Member

Posts: 4

Join Date: August 22, 2012

Recent Posts

Hi this is Bhargavi present I am working in liferay portals on java.please tell me how to start working with liferay and related websites and related programs
Jignesh Vachhani
RE: About Liferay
August 22, 2012 11:56 PM
Answer

Jignesh Vachhani

Rank: Liferay Master

Posts: 780

Join Date: March 10, 2008

Recent Posts

Bhargavi

Better you start new thread for this.