✨ Исправление путей к папкам проектов в Nextcloud + создание файлов из CRM
🔧 Исправления: - Исправлены пути к папкам проектов: теперь /Documents/Project/{Name}_{Id} - Исправлена функция openProjectFolder() во всех JS файлах - Добавлены кнопки создания Word/Excel/PowerPoint из CRM (10 модулей) - Создание файлов напрямую в S3 с автоиндексацией через Redis - Исправлена ошибка 'Class Redis not found' (использован Predis) 📁 Изменённые файлы: - layouts/v7/lib/nextcloud-editor.js - crm_extensions/nextcloud_editor/js/nextcloud-editor.js - layouts/v7/lib/nextcloud-editor-v3.js - crm_extensions/file_storage/api/create_nextcloud_file.php - layouts/v7/modules/*/DetailViewHeaderTitle.tpl (10 модулей) - layouts/v7/modules/Documents/*.tpl (кнопки редактирования) 🎯 Результат: - Кнопка 'Папка в Nextcloud' открывает правильную папку - Создание файлов работает молниеносно (прямо в S3) - Redis события публикуются корректно - OnlyOffice открывается для редактирования Проект 391552 теперь открывается по правильному пути!
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-10-31 22:47:41
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-01 12:18:42
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/DetailViewHeader.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:8996106936905125dba7be9-28288296%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
<?php /*%%SmartyHeaderCode:10441773636905d072577354-78959006%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -11,7 +11,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '8996106936905125dba7be9-28288296',
|
||||
'nocache_hash' => '10441773636905d072577354-78959006',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
@@ -21,9 +21,9 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6905125dba9f5',
|
||||
'unifunc' => 'content_6905d07257a35',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6905125dba9f5')) {function content_6905125dba9f5($_smarty_tpl) {?>
|
||||
<?php if ($_valid && !is_callable('content_6905d07257a35')) {function content_6905d07257a35($_smarty_tpl) {?>
|
||||
<div class=" detailview-header-block"><div class="detailview-header"><div class="row"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("DetailViewHeaderTitle.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("DetailViewActions.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</div></div><?php }} ?>
|
||||
Reference in New Issue
Block a user