Good day!

How can I hide portlet programmatically?

I have portal with "today news" portlet. I need this portlet was hidden if
there is no one news today. So, I need programmatically query database to
check if there are news for today, and hide portlet programmatically if
there no one (with its title and all decoration elements).

How can I do it?

Thanks!
--
With best regards,
Vitaly Baranovsky

Reply via email to