Задаю тайтлы в соответствующем поле в админке при редактировании и добавлении картинок. Но если пересохранить через фронтенд,, то все слетает и тайтлы пустые.
Вот код элемента отвечающий за админку и фронт: media/zoo/applications/jbuniversal/elements/jbimage/tmpl/submission.php
<?php /** * JBZoo App is universal Joomla CCK, application for YooTheme Zoo component * @package jbzoo * @version 2.x Pro * @author JBZoo App http://jbzoo.com * @copyright Copyright (C) JBZoo.com, All rights reserved. * @license http://jbzoo.com/license-pro.php JBZoo Licence * @coder Denis Smetannikov <denis@jbzoo.com> */ // no direct access defined('_JEXEC') or die('Restricted access'); ?> <div class="<?php echo $this->identifier; ?> jbimage-submission"> <div class="image-select"> <div class="upload"> <input type="text" name="<?php echo $this->getControlName('filename'); ?>" class="filename" readonly="readonly" /> <div class="button-container"> <button class="jbbutton search" type="button"><?php echo JText::_('Select'); ?></button> <input type="file" name="<?php echo $this->getControlName('file'); ?>" class="file-select" /> </div> </div> <?php if (isset($lists['image_select'])) : ?> <span class="select"><?php echo JText::_('ALREADY UPLOADED'); ?></span><?php echo $lists['image_select']; ?> <?php else : ?> <input type="hidden" class="image" name="<?php echo $this->getControlName('image'); ?>" value="<?php echo $image ? 1 : ''; ?>"> <?php endif; ?> </div> <div class="image-preview"> <img src="<?php echo $image; ?>" alt="preview"> <span class="image-cancel" title="<?php JText::_('Remove image'); ?>"></span> </div> <?php if ($trusted_mode) : ?> <div class="more-options"> <div class="trigger"> <div> <div class="link button"><?php echo JText::_('Link'); ?></div> <div class="title button"><?php echo JText::_('Title'); ?></div> </div> </div> <div class="title options"> <div class="row"> <?php echo $this->app->html->_('control.text', $this->getControlName('title'), $this->get('title'), 'maxlength="255" title="' . JText::_('Title') . '" placeholder="' . JText::_('Title') . '"'); ?> </div> </div> <div class="link options"> <div class="row"> <?php echo $this->app->html->_('control.text', $this->getControlName('link'), $this->get('link'), 'size="60" maxlength="255" title="' . JText::_('Link') . '" placeholder="' . JText::_('Link') . '"'); ?> </div> <div class="row"> <strong><?php echo JText::_('New window'); ?></strong> <?php echo $this->app->html->_('select.booleanlist', $this->getControlName('target'), $this->get('target'), $this->get('target')); ?> </div> <div class="row"> <?php echo $this->app->html->_('control.text', $this->getControlName('rel'), $this->get('rel'), 'size="60" maxlength="255" title="' . JText::_('Rel') . '" placeholder="' . JText::_('Rel') . '"'); ?> </div> </div> </div> <?php endif; ?> </div>