Joomla. Colouring with component



  • Good afternoon! Component https://docs.joomla.org/J3.x:Developing_an_MVC_Component/Using_the_database ♪ There's also a flame

    class plgContentHelloworld extends JPlugin
    {
    public function onContentAfterDisplay($context, &$article, &$params, $limitstart)
        {       
    
    }
    

    }

    Show me how to get the data com_helloworld after the article. How the flame interacts with the component. Thank you.



  • Article is a component com_contentand Joomla! Only one component and any modules can be removed simultaneously on one page. So at least you need a module, not a component, if you want to put it in the article or after it in some block of the template. The flag may process the data on the page by obtaining the text of the article, for example. There's a special flame in Joomla. Content-Load Modules♪ Which makes it possible to remove a position in the article, it should be inserted in the crypts and in the article describe a {loadposition poziciya} line.

    In your turn, you need to create a position of poziciya, in the building of the module, in Joomla, you can create a position with an arbitrary name and attach any module to it.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2