Welcome, Guest
Username: Password: Remember me
Pleas keep in mind that SPAM will be deleted instantly
  • Page:
  • 1


Just an interesting Info for all users 11 years 4 months ago #131

  • Tom
  • Tom's Avatar Topic Author
Hi folks,
I just found this great component and as a professionall composer I will use it for my songs-database.
To make it possible to use plugins like the 1PixelOut-Player within the JooDatabase-Views, you may need to manually modify the index.php of your Joomla installation. How to to that is described right here:
You just have to add some lines of code to your Joomla-index.php and everything works fine:

"Update (11 Jan 2009)

This is a small core hack for Joomla 1.5 to allow plugins to be loaded into a custom module.
/*  * // Allow plugins to be loaded into modules. (Rostislav Palivoda) */ JPluginHelper::importPlugin('content'); $tmp_row->text = JResponse::getBody(); $tmp_params = new JParameter(null); $mainframe->triggerEvent('onMap', array( &$tmp_row,  &$tmp_params ), true ); $mainframe->triggerEvent('onPrepareContent', array( &$tmp_row,  &$tmp_params ), true ); JResponse::setBody($tmp_row->text);

Place the code snippet into index.php file. This file can be found in the root of your installed Joomla 1.5. The snippet should be copied and pasted just after (line 82):
// trigger the onAfterRender events JDEBUG ? $_PROFILER->mark('afterRender') : null; $mainframe->triggerEvent('onAfterRender');

Remember to apply this each time you upgrade Joomla 1.5.x
Big thanks to Rostislav Palivoda for the core hack.!"

I hope some of you may find this little info usefull.


Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: Dirkjoest