Hi,
To change the layout I have tried the following:
In the default_uploadform.php file I have changed the info from this:
Code: Select all
<table>
<tr>
<td><?php echo JText::_('COM_PHOCAGALLERY_FILENAME');?>:</td>
<td>
<input type="file" id="file-upload" name="Filedata" />
<input type="submit" id="file-upload-submit" value="<?php echo JText::_('COM_PHOCAGALLERY_START_UPLOAD'); ?>"/>
<span id="upload-clear"></span>
</td>
</tr>
<tr>
<td><?php echo JText::_( 'COM_PHOCAGALLERY_IMAGE_TITLE' ); ?>:</td>
<td>
<input type="text" id="phocagallery-upload-title" name="phocagalleryuploadtitle" value="" maxlength="255" class="comment-input" /></td>
</tr>
<tr>
<td><?php echo JText::_( 'COM_PHOCAGALLERY_DESCRIPTION' ); ?>:</td>
<td><textarea id="phocagallery-upload-description" name="phocagalleryuploaddescription" onkeyup="countCharsUpload('<?php echo $this->tmpl['upload_form_id']; ?>');" cols="30" rows="10" class="comment-input"></textarea></td>
</tr>
<tr>
<td> </td>
<td><?php echo JText::_('COM_PHOCAGALLERY_CHARACTERS_WRITTEN');?> <input name="phocagalleryuploadcountin" value="0" readonly="readonly" class="comment-input2" /> <?php echo JText::_('COM_PHOCAGALLERY_AND_LEFT_FOR_DESCRIPTION');?> <input name="phocagalleryuploadcountleft" value="<?php echo $this->tmpl['maxuploadchar'];?>" readonly="readonly" class="comment-input2" />
</td>
</tr>
</table>
to this....:
Code: Select all
<table>
<tr>
<td><?php echo JText::_( 'COM_PHOCAGALLERY_IMAGE_TITLE' ); ?>:</td>
<td>
<input type="text" id="phocagallery-upload-title" name="phocagalleryuploadtitle" value="" maxlength="255" class="comment-input" /></td>
</tr>
<tr>
<td><?php echo JText::_( 'COM_PHOCAGALLERY_DESCRIPTION' ); ?>:</td>
<td><textarea id="phocagallery-upload-description" name="phocagalleryuploaddescription" onkeyup="countCharsUpload('<?php echo $this->tmpl['upload_form_id']; ?>');" cols="30" rows="10" class="comment-input"></textarea></td>
</tr>
<tr>
<td> </td>
<td><?php echo JText::_('COM_PHOCAGALLERY_CHARACTERS_WRITTEN');?> <input name="phocagalleryuploadcountin" value="0" readonly="readonly" class="comment-input2" /> <?php echo JText::_('COM_PHOCAGALLERY_AND_LEFT_FOR_DESCRIPTION');?> <input name="phocagalleryuploadcountleft" value="<?php echo $this->tmpl['maxuploadchar'];?>" readonly="readonly" class="comment-input2" />
</td>
</tr>
<tr>
<td><?php echo JText::_('COM_PHOCAGALLERY_FILENAME');?>:</td>
<td>
<input type="file" id="file-upload" name="Filedata" />
<input type="submit" id="file-upload-submit" value="<?php echo JText::_('COM_PHOCAGALLERY_START_UPLOAD'); ?>"/>
<span id="upload-clear"></span>
</td>
</tr>
</table>
i.e., I moved the upload button.
However, this made no change to my upload page at all. It still looks the same.
Is there another file that I need to change, or different code I need to move/change?
Thanks,
Debbie
p.s. I am very new to this, so simple instructions would be great!
