Joomla! Main Menu
| How to Show Article in Module |
|
|
|
Написано от myOltrans
Вторник, 28 Юли 2009 12:48
This is useful if you want to apply some of the content plugins to a custom HTML module. In Joomla! 1.5 the content plugins does not tale effect on custom modules. Download and install CustomContent plugin - CustomContent plugin in Joomla! Extensions or CustomContent Plugin Development page. This plugin will allow you to show an article in a module position.
You may see one of these error messagesWarning: Missing argument 3 for plgContentAvreloaded::onPrepareContent() in C:\xampp\htdocs\pulp68\plugins\content\avreloaded.php on line 88 Warning: Missing argument 3 for plgContentJwsigpro::onPrepareContent() in C:\xampp\htdocs\pulp68\plugins\content\jwsigpro.php on line 58 Warning: Missing argument 3 for plgContentJwts::onPrepareContent() in /home/savage/savindutry/demo/deskgodsite/plugins/content/jwts.php on line 28 SolutionThanks to Brian Shaughnessy in this discussion. In the helper.php file, line 36, change the array to: array (& $item, & $params, $limitstart )) onPrepareContent can carry a third argument, which is used by many plugins. This appears to fix the problem. |


