Language

Български

Who's Online

В момента има 4 посетителя в сайта

Statistics

Членове : 2
Съдържание : 127
Връзки : 25
Брой прегледи на съдържанието : 135130

Joomla Newsflash

The one thing about a Web site, it always changes! Joomla! makes it easy to add Articles, content, images, videos, and more. Site administrators can edit and manage content 'in-context' by clicking the 'Edit' link. Webmasters can also edit content through a graphical Control Panel that gives you complete control over your site.

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 messages

Warning: 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

Solution

Thanks 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.


blog comments powered by Disqus
 

© Copyright 2008-2011 Oltrans. Translation Agency Recourse Portal.
All rights reserved. Various trademarks held by their respective owners.

Oltrans, 152, 6-ti septemvri Bul., Plovdiv 4000 Bulgaria
General Inquiries: (Bulgaria) +359 32 511 272 | skype: Oltrans.org My status