LISE, adapt item template for enduser
Posted: Sun Dec 30, 2018 6:34 pm
I want to adapt the item template for my users.
At the begin of the template the user is given the following options:
* Alias:
* Choose a custom URL for this item or accept the generated one:
* Use time control:
I don't want the user to fill out these things. Can I just remove the following code in edititem.tpl, or is it possible that I will create an Error?
At the begin of the template the user is given the following options:
* Alias:
* Choose a custom URL for this item or accept the generated one:
* Use time control:
I don't want the user to fill out these things. Can I just remove the following code in edititem.tpl, or is it possible that I will create an Error?
Code: Select all
<div class="pageoverflow">
<p class="pagetext">{$mod->ModLang('alias')}:</p>{$alias|default:''}
<p class="pageinput">{$input_alias}</p>
</div>
<div class="pageoverflow">
<p class="pagetext">{$mod->ModLang('url')}:</p>{$url|default:''}
<p class="pageinput">{$input_url}</p>
</div>
<div class="pageoverflow">
<p class="pagetext">{$mod->ModLang('time_control')}:</p>
<p class="pageinput">{$input_time_control}</p>
</div>
<div id="expiryinfo"{if $use_time_control != true} style="display:none;"{/if}>
<div class="pageoverflow">
<p class="pagetext">{$mod->ModLang('start_time')}:</p>
<p class="pageinput">{$input_start_time}</p>
</div>
<div class="pageoverflow">
<p class="pagetext">{$mod->ModLang('end_time')}:</p>
<p class="pageinput">{$input_end_time}</p>
</div>
</div>