Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // To include a modul position in your component view and to load modules there, you just have to add
- echo JHtml::_('content.prepare', '{loadposition yourmodulposition}');
- // to the view
- /* The second string with the load position short tag can be replaced with a var which contains more html if you need that. You don't have to write that line for every new modul position*/
- $outputModules = '<strong>Some Html</strong>'
- '{loadposition yourmodulposition1}'
- .'{loadposition yourmodulposition2}';
- echo JHtml::_('content.prepare', $outputModules);
Add Comment
Please, Sign In to add comment