<?php echo $preHtml; ?> <jdoc:include type="component" /> <?php echo $postHtml; ?>
- string $preHtml: (optional) A string that gets added to the markup before the component is loaded. This can be any HTML string.
- string $postHtml: (optional) A string that gets added to the markup after the component is loaded. This can be any HTML string.
Example:
<?php component('<div id="component">', '</div>'); ?>
