Created
June 7, 2014 08:10
-
-
Save esedic/ac658bac0670079da22b to your computer and use it in GitHub Desktop.
Inject data into a Joomla module position
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Inject data from your component into the right module position | |
JFactory::getDocument()->setBuffer($data, 'modules', 'right'); | |
// Note: Data will not be shown unless there are "real" modules present in position right |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment