how to use JHTML::_('behavior.modal') in Joomla?
问题 I am creating a component, controllers theatercontroller facilitycontroller Models theater facility view theater facility What I want is I want to add a new facility from the theater view by clicking a button and opening a modal window. I have tried but didn't work. I studied some components but it is difficult for someone like me to understand it. Please I need a simple example and a explanation to understand it. 回答1: You can use this function to get a modal button static public function