View Single Post
Old 04-10-2007, 02:52 PM   #4
-XXX-
Member
|Forum Newbie|
 
Join Date: Apr 2007
Posts: 24
-XXX- is on a distinguished road
Default

actually I am more interested in changing some features then yhe design.
Right now I am working on:
- add/remove comments to the video
- set 4x6 table for viewing video
- join the upload page



1.Changing upload page I want both steps 1 nad 2 be on one page
So I opened upload.tpl

there are
{if $secondpage ne "second" and $smarty.request.upload_final eq ""}
<form>
... this is form 1

<INPUT type=submit value="Continue ->" name=action_upload>

</form>
{else}
<form>
... this is form 2

<input name="upload_final" type="submit" value="Upload Video" >
</form>
{/if}

I removed "</form> {else} <form>" from the middle of the page, but no I can upload video without the check of fullfilled data in the first form. How to make it so that before uploading video the formed checked if all the fields are set up
Attached Files
File Type: zip upload.zip (1.9 KB, 13 views)
-XXX- is offline   Reply With Quote