* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\CMS\MVC\View\GenericDataException; /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->document->getWebAssetManager(); $wa->useScript('keepalive') ->useScript('form.validate'); if (empty($this->item->tour_id)) { throw new GenericDataException("\nThe Tour id was not set!\n", 500); } $lang = $this->getLanguage()->getTag(); ?>
item->id != 0 && strpos($this->item->title, 'GUIDEDTOUR') !== false) : ?>
form->setFieldAttribute('title_translation', 'label', Text::sprintf('COM_GUIDEDTOURS_STEP_TITLE_TRANSLATION', $lang)); ?> form->renderField('title_translation'); ?>
'details', 'recall' => true, 'breakpoint' => 768]); ?> item->id) ? Text::_('COM_GUIDEDTOURS_STEP_NEW_STEP') : Text::_('COM_GUIDEDTOURS_STEP_EDIT_STEP')); ?>
form->renderField('description'); ?> item->id != 0 && strpos($this->item->description, 'GUIDEDTOUR') !== false) : ?> form->setFieldAttribute('description_translation', 'label', Text::sprintf('COM_GUIDEDTOURS_STEP_DESCRIPTION_TRANSLATION', $lang)); ?> form->renderField('description_translation'); ?>
fields = [ 'published', 'language', 'position', 'target', 'type', 'url', 'interactive_type', 'note', ]; $this->hidden_fields = [ 'tour_id', ]; echo LayoutHelper::render('joomla.edit.global', $this); ?>
fields = []; $this->hidden_fields = []; echo LayoutHelper::render('joomla.edit.publishingdata', $this); ?>
form->getInput('tour_id'); ?>