remove fields
-
- Phoca Newbie
- Posts: 2
- Joined: 15 Apr 2019, 15:10
remove fields
How do I remove fields from the upload page that I don't want like License and Version? I apologize if this was posted before but I couldn't find a way to search the forum except the google thing up top which searches too broadly.
Tags:
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: remove fields
Hi,
Make a backup of this file:
components\com_phocadownload\site\views\user\tmpl\default_files.php
Open the one on your server and remove everything
FROM line 318 (beginning with <tr>)
TO line 326 (ending with </tr>) and save the file.
(If you want this modification will be not overwritten when updating, copy this file to your template:
templates/your_template/html/layouts/com_phocadownload/user/ folder)
Kind regards
Christine
Make a backup of this file:
components\com_phocadownload\site\views\user\tmpl\default_files.php
Open the one on your server and remove everything
FROM line 318 (beginning with <tr>)
TO line 326 (ending with </tr>) and save the file.
Code: Select all
<tr>
<td><strong><?php echo JText::_( 'COM_PHOCADOWNLOAD_LICENSE' ); ?>:</strong></td>
<td><input type="text" id="phocadownload-upload-license" name="phocadownloaduploadlicense" value="<?php echo $this->t['formdata']->license ?>" maxlength="255" class="comment-input" /></td>
</tr>
<tr>
<td><strong><?php echo JText::_( 'COM_PHOCADOWNLOAD_VERSION' ); ?>:</strong></td>
<td><input type="text" id="phocadownload-upload-version" name="phocadownloaduploadversion" value="<?php echo $this->t['formdata']->version ?>" maxlength="255" class="comment-input" /></td>
</tr>
templates/your_template/html/layouts/com_phocadownload/user/ folder)
Kind regards
Christine
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: remove fields
Hi,
You're welcome!
Kind regards
Christine
You're welcome!
Kind regards
Christine