|
  Remository is a highly capable file repository for use within one of the supported CMSs (Content Management Systems - currently Joomla! or Mambo or Aliro). It can organise files into folders (described in the system using the generic word "containers") that can be nested to an arbitrary depth. Files can be uploaded or downloaded by site visitors, subject to constraints configured by the site administrator.  www.joomlavm.com is use this component for download files,but there are blank content when i use the lastest editon plugin -- "quickdown" in the joomla1.5, so i check those files of Remository's quickdown plugin,i found that the core codes out of time,then i chang the core file as follow(plugins\content\quickdown.php): 1
2
3
4
5
6
7
8
9
|
//global $_MAMBOTS; //delete the old global variable
//$_MAMBOTS->registerFunction('onPrepareContent', 'botQuickdown'); //delete the old regist method
$mainframe->registerEvent( 'onPrepareContent', 'botQuickdown' ); //add the new regist method
function botQuickdown(&$row, &$params, $page=0) {
global $database, $mosConfig_live_site, $mosConfig_absolute_path, $mosConfig_lang, $mosConfig_sitename;
|
test it ok now! Â |