![]() |
|
|||||||
| Styles / Templates Use this forum to share or find help on creating CSS style sheets or full ClipShare templates. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
Member
|Forum Newbie|
![]() Join Date: Apr 2007
Posts: 24
![]() |
1.
Quote:
2.Tryied to find something on the forum but again with no luck. The exceptions was http://forums.scriptxperts.com/13-st...blue-template/ 3.Ok this topic will be about how to create a custom template by yourself for clipshare 1.6 (It will be the same for 2.0 I think) The template consists of three parts: 1.Template 2.Images (for templates) 3.CSS (for web pages) Lets start: 1. Open template folder there you can see a lot of *.tpl files which you can open with notepad or any other webeditor(I used Dreamviewer) Main files are head1.tpl + footer.tpl this is the head(with menu) and the bottom of the files. The others are like index and others you can find according to the site structure 2.Place your own images in the folder with Images 3.Open CSS folder there open style.css to edite the style of your webpages That's all for the beginning :mrgreen: to be continued... |
|
|
|
|
|
|
#2 |
|
ClipShare Customer
|Forum Guru|
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2006
Location: ParisDNS.com
Posts: 598
![]() |
Can you provide your URL, we want to see your works...
|
|
|
|
|
|
#3 |
|
Member
|Forum Newbie|
![]() Join Date: Apr 2007
Posts: 24
![]() |
|
|
|
|
|
|
#4 |
|
Member
|Forum Newbie|
![]() Join Date: Apr 2007
Posts: 24
![]() |
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 |
|
|
|
|
|
#5 |
|
Member
|Forum Newbie|
![]() Join Date: Apr 2007
Posts: 24
![]() |
also trying to change the number of rows and colums on the watch page but cant find the variables responsible for this in view_video.tpl
![]() |
|
|
|
|
|
#6 |
|
Member
|Forum Newbie|
![]() Join Date: Apr 2007
Posts: 24
![]() |
can anyone advice?
|
|
|
|
|
|
#7 |
|
Member
|Forum Newbie|
![]() Join Date: Apr 2007
Posts: 24
![]() |
To change the rows and colums on the watch page you have to edit video.tpl
![]() |
|
|
|
|
|
#8 |
|
Member
|Forum Newbie|
![]() Join Date: Apr 2007
Posts: 24
![]() |
Have no idead about what to do with upload page. Joined it but now the data from the 1st part of upload doesn't writes to the clip-share during the upload.
|
|
|
|
|
|
#9 |
|
Banned
|Forum Newbie|
![]() Join Date: Mar 2007
Posts: 47
![]() |
please provide us your website to know exactly the error
|
|
|
|
|
|
#10 |
|
Member
|Forum Newbie|
![]() Join Date: Apr 2007
Posts: 24
![]() |
I am testing on the localhost. I have placed the upload.tpl in the 4-th post in this topic. You can place it in your templates and the the joined page it uploads the video without verification of data of the 1st step.
we have upload.tpl Code:
{if $secondpage ne "second" and $smarty.request.upload_final eq ""}
<FORM id=theForm name=theForm action="{$baseurl}/upload.php" method=post encType=multipart/form-data>
some code...
<INPUT type=submit value="Continue ->" name=action_upload>
</FORM>
{else}
<FORM id=theForm name=theForm action="{$baseurl}/upload.php" method=post encType=multipart/form-data>
some code...
<input type="hidden" name="field_myvideo_keywords" value="{$smarty.request.field_myvideo_keywords}">
<input type="hidden" name="field_myvideo_title" value="{$smarty.request.field_myvideo_title}">
<input type="hidden" name="field_myvideo_descr" value="{$smarty.request.field_myvideo_descr}">
<input type="hidden" name="listch" value="{$listch}">
<input name="upload_final" type="submit" value="Upload Video" ><!-- onclick='this.disabled = true;' -->
</FORM>
{/if}
then I removed: </FORM> {else} <FORM id=theForm name=theForm action="{$baseurl}/upload.php" method=post encType=multipart/form-data> and now had: Code:
{if $secondpage ne "second" and $smarty.request.upload_final eq ""}
<FORM id=theForm name=theForm action="{$baseurl}/upload.php" method=post encType=multipart/form-data>
some code...
<INPUT type=submit value="Continue ->" name=action_upload>
some code...
<input type="hidden" name="field_myvideo_keywords" value="{$smarty.request.field_myvideo_keywords}">
<input type="hidden" name="field_myvideo_title" value="{$smarty.request.field_myvideo_title}">
<input type="hidden" name="field_myvideo_descr" value="{$smarty.request.field_myvideo_descr}">
<input type="hidden" name="listch" value="{$listch}">
<input name="upload_final" type="submit" value="Upload Video" ><!-- onclick='this.disabled = true;' -->
</FORM>
{/if}
<INPUT type=submit value="Continue ->" name=action_upload> and then goes to page 2 where executed <input name="upload_final" type="submit" value="Upload Video" ><!-- onclick='this.disabled = true;' --> but after the joining of this two parts it doesn't execute the <INPUT type=submit value="Continue ->" name=action_upload> that's why it is possible to upload the videos without fullfiling all the needed data like title tags group and so on. How to fix this any ideas? |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| site style | kernelsplink | Pre-Sales Questions | 3 | 12-11-2006 11:37 PM |