<?php
defined('_JEXEC') or die('Restricted access');
if ($this->row->title()==""){
// set no end time on by default
$this->row->noendtime(1);
}
// Reset the form
$this->setupEditForm();
include_once(JEV_PATH."/views/icalevent/tmpl/".basename(__FILE__));
Hello,
I'm afraid this isn't an option at present.
Many thanks
Tony
'checked="checked"'
<div class='jevnoeendtime' style="margin:10px 0px 0px 0px ;display:inline-block;">
<?php echo $this->form->getLabel("noendtime"); ?>
<?php echo $this->form->getInput("noendtime"); ?>
</div>
<?php
defined('_JEXEC') or die('Restricted access');
if ($this->row->title()==""){
// set no end time on by default
$this->row->noendtime(1);
}
// Reset the form
$this->setupEditForm();
include_once(JEV_PATH."/views/icalevent/tmpl/".basename(__FILE__));
Create a template override - templates/YOURTEMPLATE/html/com_jevents/icalevent/edit.php with this content
<?php
defined('_JEXEC') or die('Restricted access');
if ($this->row->title()==""){
// set no end time on by default
$this->row->noendtime(1);
}
// Reset the form
$this->setupEditForm();
include_once(JEV_PATH."/views/icalevent/tmpl/".basename(__FILE__));