Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Custom Thread Style
Grey Ghost Offline
Junior Member
**
Posts: 10
Joined: Nov 2014
Post: #17
RE: Custom Thread Style
Hey all, im trying to add thread title colours to my theme I am using for 1.8. Adding However the template is different than the standard 1.8 theme and im not too sure where to put ['xtcstyle_tc'].

Experimenting as lead to weird results that breaks the layout of threads.

Again here is the 1.8 theme forumdisplay_thread template:

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<tr class="inline_row">
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
	<td class="{$bgcolor}{$thread_type_class}">
		{$attachment_count}
		<div>
          <span>{$prefix} {$gotounread}{$thread['threadprefix']}<span class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}"><a href="{$thread['threadlink']}">{$thread['subject']}</a></span></span><br />
          {$threadfields['desc']}<span class="smalltext">{$lang->xstyled_startedby} {$thread['profilelink']}</span>
		</div>
	</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['multipage']}</td>
    {$rating}
	<td align="left" class="{$bgcolor}{$thread_type_class}" style="width: 70px; padding-right: 20px;">
      	<i style="font-size: 14px;" class="fa fa-comments fa-fw" title="{$lang->xstyled_replies}"></i> {$thread['replies']}</a>{$unapproved_posts}<br />
		<i style="font-size: 14px;" class="fa fa-eye fa-fw" title="{$lang->xstyled_views}"></i> {$thread['views']}
	</td>
	<td class="{$bgcolor}{$thread_type_class}" style="width: 200px; text-align: left;">
      	{$lastposterlink} <a class="effect" href="{$thread['lastpostlink']}" title="{$lang->xstyled_golastpost}"><i style="font-size: 14px;" class="fa fa-toggle-right fa-fw"></i></a><br />
      	<span class="smalltext">{$lastpostdate}</span>
	</td>
{$modbit}
</tr>


[Image: TVGF_signature.png]
06-18-2015 08:44 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Custom Thread Style - RateU - 11-24-2010, 05:28 AM
RE: Custom Thread Style - ZiNgA BuRgA - 11-24-2010, 09:37 AM
RE: Custom Thread Style - Skiilz - 11-24-2010, 10:13 AM
RE: Custom Thread Style - Imran - 11-24-2010, 04:39 PM
RE: Custom Thread Style - 1master1 - 11-25-2010, 10:44 AM
RE: Custom Thread Style - RateU - 11-26-2010, 06:48 AM
RE: Custom Thread Style - RateU - 11-28-2010, 05:41 AM
RE: Custom Thread Style - ZiNgA BuRgA - 11-28-2010, 02:46 PM
RE: Custom Thread Style - Imran - 11-28-2010, 03:05 PM
RE: Custom Thread Style - RateU - 11-29-2010, 03:05 AM
RE: Custom Thread Style - Sama34 - 12-01-2011, 06:21 PM
RE: Custom Thread Style - ZiNgA BuRgA - 12-02-2011, 09:08 AM
RE: Custom Thread Style - Sama34 - 12-02-2011, 11:25 AM
RE: Custom Thread Style - ZiNgA BuRgA - 12-02-2011, 01:18 PM
RE: Custom Thread Style - Sama34 - 12-02-2011, 01:47 PM
RE: Custom Thread Style - Grey Ghost - 04-17-2015, 09:12 AM
RE: Custom Thread Style - Grey Ghost - 06-18-2015 08:44 PM
RE: Custom Thread Style - ZiNgA BuRgA - 06-19-2015, 11:12 AM
RE: Custom Thread Style - leefish - 06-21-2015, 08:07 AM

 Standard Tools
Forum Jump: