MidCOM method dynamic_load
Dynamic Load is a MidCOM method which loads dynamically topics or articles.
Example: loading 5 latest news items with component de.linkm.newsticker :
<?php
$_MIDCOM->dynamic_load("/news/latest/5");
?>
Substyles
Dynamic load can also be used to utilize a substyle for component's output :
<?php
// Using a substyle called 'frontpage'
$_MIDCOM->dynamic_load("/midcom-substyle-frontpage/news/latest/5");
?>
The used substyle is loaded as a child style under the style which is used for the loaded topic.
See also the complete dynamic_load API documentation.
