ClipShare Community Forums  

Go Back   ClipShare Community Forums > ClipShare PRO - Version 4 > 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 05-30-2009, 05:13 PM   #1
Ronaldo1981
ClipShare Customer
|Forum Regular|
 
Ronaldo1981's Avatar
 
Join Date: Mar 2009
Posts: 105
Ronaldo1981 is on a distinguished road
Default Feature, new videos on index in Darkmatter

In the normal clipshare template i can click new videos or most commented etc from the index.

Darkmatter doesnt have this option. I allready copy and paste the clipshare code (long code) on the darkmatter that worked. Only problem is the style is completed out of bounce someone know how to put in the code so it looks like the original darkmatter featured containers? So i can place the tabs above must see?
__________________

PannaFootballTube.com

Need custom work?
Try the best and affordable
Click here
Ronaldo1981 is offline   Reply With Quote
Old 05-31-2009, 09:11 PM   #2
Ronaldo1981
ClipShare Customer
|Forum Regular|
 
Ronaldo1981's Avatar
 
Join Date: Mar 2009
Posts: 105
Ronaldo1981 is on a distinguished road
Default tabs

Wat can i use of this code to put in my darkmatter index.tpl ?
Code:
<div id="subcontent">
            	<div id="tab-featured">
                        {section name=i loop=$answers }
                            {assign var=looprecord value=$smarty.section.i.index}
                            {if $looprecord%2 eq 0}
                                {assign var=colorLoop value=""}	
                            {else}
                                {assign var=colorLoop value="class='blue'"}	
                            {/if}
                                <p {$colorLoop}>
                                    <a href="{seourl rewrite="video/`$answers[i].VID`" url="view_video.php?viewkey=`$answers[i].vkey`" clean=$answers[i].title}"><img class="moduleFeaturedThumb" height="90" src="{$tmburl}/{$answers[i].thumb}_{$answers[i].VID}.jpg" width="120" id="rotate_{$answers[i].VID}_featured" /></a>
                                    <a href="{seourl rewrite="video/`$answers[i].VID`" url="view_video.php?viewkey=`$answers[i].vkey`" clean=$answers[i].title}"><span class="title">{$answers[i].title|escape:'html'}</span></a>
                                    <br/>
                                    {insert name=duration assign=duration duration=$answers[i].duration}
									<span class="duration">{$duration}</span><br/>
                                    {if $answers[i].featuredesc ne ""}
                                        {$answers[i].featuredesc}
                                    {/if}{$answers[i].description} 
                                    <br/>
                                    <img src="{$baseurl}/images/tpl_icon_tags.png" align="absbottom" />  {insert name=video_keyword assign=keyword vid=$answers[i].VID}
                                    {section name=j loop=$keyword}
                                    <a href="{seourl rewrite="tags/`$keyword[j]`" url="search_result.php?search_id=`$keyword[j]`"}"><span class="tags">{$keyword[j]}</span></a>&nbsp;
                                    {/section}<br/>
                                    <span class="info">{translate item='global.added'}:</span> {insert name=time_range assign=rtime field=addtime IDFR=VID id=$answers[i].VID tbl=video}{$rtime} by 
                                    <a href="{seourl rewrite="users/`$answers[i].username`" url="uprofile.php?UID=`$answers[i].UID`"}">{$answers[i].username}</a>
                                    <span class="info">{translate item='global.views'}:</span> {$answers[i].viewnumber} 
                                    {insert name=comment_count assign=commentcount vid=$answers[i].VID}
                                    <span class="info">{translate item='global.comments'}:</span> {$commentcount}
                                    <br/>
                                    {if $answers[i].ratedby gt "0"}
                                        {insert name=show_rate assign=rate rte=$answers[i].rate}
                                        {$rate}
                                        <span class="info">({$answers[i].ratedby} {translate item='global.rated'})</span>
                                    {else}
                                        <span class="info">( {translate item='global.not_yet_rated'} )</span>
                                    {/if}
                                    
                            </p>
                      {/section}
                      {insert name=advertise assign=adv group='index_feature'}
                      {$adv}
              	</div>
                <div id="tab-toprated" style="display:none">
                	{section name=i loop=$answersTopRated }
                            {assign var=looprecord value=$smarty.section.i.index}
                            {if $looprecord%2 eq 0}
                                {assign var=colorLoop value=""}	
                            {else}
                                {assign var=colorLoop value="class='blue'"}	
                            {/if}
                                <p {$colorLoop}>
                                    <a href="{seourl rewrite="video/`$answersTopRated[i].VID`" url="view_video.php?viewkey=`$answersTopRated[i].vkey`" clean=$answersTopRated[i].title}"><img class="moduleFeaturedThumb" height="90" src="{$tmburl}/{$answersTopRated[i].thumb}_{$answersTopRated[i].VID}.jpg" width="120" id="rotate_{$answersTopRated[i].VID}_toprated" /></a>
                                    <a href="{seourl rewrite="video/`$answersTopRated[i].VID`" url="view_video.php?viewkey=`$answersTopRated[i].vkey`" clean=$answersTopRated[i].title}"><span class="title">{$answersTopRated[i].title|escape:'html'}</span></a>
                                    <br/>
                                    {insert name=duration assign=duration duration=$answersTopRated[i].duration}
									<span class="duration">{$duration}</span><br/>
                                    {if $answersTopRated[i].featuredesc ne ""}
                                        {$answersTopRated[i].featuredesc}
                                    {/if}{$answersTopRated[i].description} 
                                    <br/>
                                    <img src="{$baseurl}/images/tpl_icon_tags.png" align="absbottom" />  {insert name=video_keyword assign=keyword vid=$answersTopRated[i].VID}
                                    {section name=j loop=$keyword}
                                    <a href="{seourl rewrite="tags/`$keyword[j]`" url="search_result.php?search_id=`$keyword[j]`"}"><span class="tags">{$keyword[j]}</span></a>&nbsp;
                                    {/section}<br/>
                                    <span class="info">{translate item='global.added'}:</span> {insert name=time_range assign=rtime field=addtime IDFR=VID id=$answersTopRated[i].VID tbl=video}{$rtime} by 
                                    <a href="{$baseurl}/{seourl rewrite="users/`$answersTopRated[i].username`" url="uprofile.php?UID=`$answersTopRated[i].UID`"}">{$answersTopRated[i].username}</a>
                                    <span class="info">{translate item='global.views'}:</span> {$answersTopRated[i].viewnumber} 
                                    {insert name=comment_count assign=commentcount vid=$answersTopRated[i].VID}
                                    <span class="info">{translate item='global.comments'}:</span> {$commentcount}
                                    <br/>
                                    {if $answersTopRated[i].ratedby gt "0"}
                                        {insert name=show_rate assign=rate rte=$answersTopRated[i].rate}
                                        {$rate}
                                        <span class="info">({$answersTopRated[i].ratedby} {translate item='global.rated'})</span>
                                    {else}
                                        <span class="info">( {translate item='global.not_yet_rated'} )</span>
                                    {/if}
                                    
                            </p>
                      {/section}
                                     
              	</div>
               
            <div class="clear"></div>
            </div> <!-- end div subcontent -->
    </div> <!-- end div submenu -->
Allready got the tabs insert but keep having a problem with this code
__________________

PannaFootballTube.com

Need custom work?
Try the best and affordable
Click here
Ronaldo1981 is offline   Reply With Quote
Old 06-22-2009, 10:32 PM   #3
spaceman
Member
|Forum Newbie|
 
Join Date: Mar 2009
Posts: 35
spaceman is on a distinguished road
Default

take a look at my site for some hints ;-P

www.youloseface.com
spaceman 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
[MOD] Change Videos on Index Alanihse Bug Fixes / Addons / Mods 2 01-10-2007 09:56 PM



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


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

An Envient product.