I have developed a custom component that displays some information. I want to show the same information in modal popup window without header and footer information. what should be best approach to achieve this?
Haven't done this for awhile, but these steps should do it:
JHTML::_('behavior.modal');near the top of the view
class="modal"to any links you want to open in a modal window
&tmpl=componentthe the link you want in a popup
I have used the Modal plugin from Regular Labs to do something like you describe. There is a free version and a Pro version available. Their plugin is easy to use and with minimum reading of their tutorial, anyone can use them.
I am not affiliated with them, nor do I have any kind of relation with them.