ClipShare Community Forums  

Go Back   ClipShare Community Forums > ClipShare - Standard & PRO - Version 2 and Previous > Styles / Templates
Register FAQ Bug Tracker Members List Calendar Mark Forums Read

Styles / Templates Use this forum to share or find help on creating CSS style sheets or full ClipShare templates.


Reply
 
Thread Tools Display Modes
Old 04-10-2007, 07:51 AM   #1
-XXX-
Member
|Forum Newbie|
 
Join Date: Apr 2007
Posts: 24
-XXX- is on a distinguished road
Default Creating a custom style))

1.
Quote:
ClipShare is fully template driven so you can easily customize the design layout by modifying the template files or integrate with your existing design.
Strange but I can't find a panel for changing templates. As I have understood there can be only one style at one time. and there is no such feature as in cms or forums as changing the style in the profile.

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...
-XXX- is offline   Reply With Quote
Old 04-10-2007, 09:24 AM   #2
parisdns
ClipShare Customer
|Forum Guru|
 
parisdns's Avatar
 
Join Date: Dec 2006
Location: ParisDNS.com
Posts: 598
parisdns is on a distinguished road
Default

Can you provide your URL, we want to see your works...
parisdns is offline   Reply With Quote
Old 04-10-2007, 11:26 AM   #3
-XXX-
Member
|Forum Newbie|
 
Join Date: Apr 2007
Posts: 24
-XXX- is on a distinguished road
Default

Quote:
Originally Posted by parisdns View Post
Can you provide your URL, we want to see your works...
localhost :mrgreen:
-XXX- is offline   Reply With Quote
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, 14 views)
-XXX- is offline   Reply With Quote
Old 04-10-2007, 03:15 PM   #5
-XXX-
Member
|Forum Newbie|
 
Join Date: Apr 2007
Posts: 24
-XXX- is on a distinguished road
Default

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
-XXX- is offline   Reply With Quote
Old 04-10-2007, 08:10 PM   #6
-XXX-
Member
|Forum Newbie|
 
Join Date: Apr 2007
Posts: 24
-XXX- is on a distinguished road
Default

can anyone advice?
-XXX- is offline   Reply With Quote
Old 04-10-2007, 08:21 PM   #7
-XXX-
Member
|Forum Newbie|
 
Join Date: Apr 2007
Posts: 24
-XXX- is on a distinguished road
Default

To change the rows and colums on the watch page you have to edit video.tpl

Attached Files
File Type: zip video.zip (1.7 KB, 16 views)
-XXX- is offline   Reply With Quote
Old 04-10-2007, 09:29 PM   #8
-XXX-
Member
|Forum Newbie|
 
Join Date: Apr 2007
Posts: 24
-XXX- is on a distinguished road
Default

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.
-XXX- is offline   Reply With Quote
Old 04-11-2007, 04:43 PM   #9
xsteelwolf
Banned
|Forum Newbie|
 
Join Date: Mar 2007
Posts: 47
xsteelwolf is on a distinguished road
Default

please provide us your website to know exactly the error
xsteelwolf is offline   Reply With Quote
Old 04-11-2007, 05:13 PM   #10
-XXX-
Member
|Forum Newbie|
 
Join Date: Apr 2007
Posts: 24
-XXX- is on a distinguished road
Default

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}
The problem is that when there where two separate parts at first it executed
<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?
-XXX- is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
site style kernelsplink Pre-Sales Questions 3 12-11-2006 11:37 PM



All times are GMT +1. The time now is 05:09 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright © 2006-2008 Envient. All Rights Reserved.

An Envient product.