0.00
Рейтинг
0.00
Сила
Спасибо помогло.
Может быть в Z:\home\test1.ru\www\plugins\aceblockmanager\classes\blocks\BlockTemplate.class.php нужно что то поменять у меня сейчас там вот что прописано
class PluginAceBlockManager_BlockTemplate extends Block {

public function Exec() {
$sBlockContent = $this->GetParam('text');
$sFileName = $this->GetParam('file');
if ($sFileName) {
// if not url and not filepath then file in config/blocks
if ((strpos($sFileName, '\\')===false) && (strpos($sFileName, '/')===false))
$sFileName = admFilePath(HelperPlugin::GetPluginPath().'/config/blocks/'.$sFileName);
if (($sText = file_get_contents($sFileName))) {
$sBlockContent .= $sText;
}
}
$sBlockTitle = $this->GetParam('title');
$sBlockFooter = $this->GetParam('footer');

$this->Viewer_Assign('sBlockTitle', $sBlockTitle);
$this->Viewer_Assign('sBlockContent', $sBlockContent);
$this->Viewer_Assign('sBlockFooter', $sBlockFooter);
Тоже самое пишет
Пробовал как вы советовали теперь пишет вот что
Warning: file_get_contents() [function.file-get-contents]: failed to open stream: Invalid argument in Z:\home\test1.ru\www\plugins\aceblockmanager\classes\blocks\BlockTemplate.class.php on line 25

Прописал я следующее

$config['blocks'][]=array(
'block'=>'template', // название блока
'position'=>'right', // позиционирование блока
'priority'=>0,
'params'=>array(
'plugin'=>'aceblockmanager', //
'title'=>'title of template block',
'file'=>'',
),
Можете на примере показать как и что нужно писать?
Видимо да.
Все уже сделал, я просто в файлике конфиг отредактировал простым блокнотом, после того как заново переустановил движок и отредактировал файлик с помощью нотепада все стало норм.