Get component output - Joomla! Forum - community, help and support


hello, i'm programming component in joomla 2.5

this component needs retrive display (the view) of component (for example need formatted content of article, html string.
in other terms, need return of display method of component component, possible?

thanks.

i try this:

code: select all

$ch = curl_init();
curl_setopt($ch,curlopt_ssl_verifypeer, false);
curl_setopt($ch,curlopt_url, "localhost/joomla/index.php?option=com_yourcomponent&tmpl=component");
ob_start();
curl_exec($ch);
$ret_str = ob_get_contents();
curl_close($ch);
ob_end_clean();





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support