SMFHacks.com

Downloads System Pro => Support => Topic started by: jacci on May 06, 2009, 04:37:33 am

Title: Layout changes
Post by: jacci on May 06, 2009, 04:37:33 am
Would it be possilbe to move the upload file box to immediately under the category dropdown box? I have a very short screen and it means scrolling down a lot to get the upload file options and since i still have about 4000 things to upload, to have it immediately under the filename box or category dropdown would be most convenient.

I tried to do this when i had the lite version in and couldnt figure it out, all i ever managed to do was break it.
thanks
Title: Re: Layout changes
Post by: jacci on May 06, 2009, 08:49:03 pm
Just realised, that it would need the Add Download button moved as well, to somewhere up the top, preferably just under the filename box.  ;D
Title: Re: Layout changes
Post by: jacci on May 08, 2009, 03:23:21 am
PS, i didnt mean to alter the software for everyone (which i just realised is how it might have sounded lol)
, just if you could help me with code, so i could customise this for my own layout. thanks
Title: Re: Layout changes
Post by: SMFHacks on May 08, 2009, 09:27:08 pm
It can be done with Downloads.template.php file edit but if you make changes you are going to have to redo them when future downloads pro editions are released.
Title: Re: Layout changes
Post by: jacci on May 09, 2009, 02:28:47 am
I have been playing around in Downloads.template.php

i have located what i am guessing to be the code to control the upload file box and trying to move it, but it doesnt seemt to change anything, no matter what I change

Code: [Select]
<tr class="windowbg2">

  <td align="right"><b>', $txt['downloads_form_uploadfile'], '</b>&nbsp;</td>



    <td><input type="file" size="48" name="download" />


    </td>

  </tr>
but that wasnt it

Then i thought if i just made the height of the ccomment box smaller, to 1 row instead of 6, that might suffice so i don't have to scroll on every upload, but nothing i did there seemed to take effect either.

A further nudge in the right direction would be very helpful, thanks