|
Board Mod
POST CREATED Mar 9, 2014 18:34:11 GMT -8
Post by heroin on Mar 9, 2014 18:34:11 GMT -8
So I'm feeling pretty defeated right now. I fought the board template and it won. I have an idea of what to do but I'm still coming to a blank. Its all ending in me more frustrated than anything. I'm pretty sure I need to put it into a table as I was doing but I just couldn't get it to work. Um. I have what I want it to look like all planned out as I even went into photoshop and did a pretty little layout example. webdesign pls I for the most part need a push and nudge in the right direction to get it all nice and in order. I want it to end up looking like this. Help would be much appreciated. --Heroin
|
|
the greatest general under the heavens
|
Board Mod
POST CREATED Mar 10, 2014 5:33:12 GMT -8
Post by Egao, Egao Everywhere on Mar 10, 2014 5:33:12 GMT -8
What board mode are you using? And this might sound like a big duh, but is it for proboards? I'm only familiar with jcink so worth a shot xD
Could you give to use the code you were working on too?
And it's okay. /patpat Don't worry. The code might have won the battle, but you will win the war.
|
|
|
Board Mod
POST CREATED Mar 10, 2014 15:49:48 GMT -8
Post by heroin on Mar 10, 2014 15:49:48 GMT -8
Oh, well it seems that I forgot to mention that bit. I'm a V5 coder. Uh. I feel awkward now >.> But the code is just the one that is in the board list area of proboards layout templates. I'll still provide that code just in case its of use to you? I mean I've never coded Jcink but how different could it be. XD wants to learn coding for jcink <table class="list" role="grid"> <thead> <tr> <th class="icon"></th> <th class="main">Board</th> <th class="threads">Threads</th> <th class="posts">Posts</th> <th class="latest last">Last Post</th> </tr> </thead> <tbody> {foreach $[board]} {if !$[board.is_redirect]} <tr id="$[board.content_id]" class="$[board.content_class]"> <td class="icon">$[board.icon]</td> <td class="main clickable"> <span class="link">$[board]</span>{if $[board.num_viewing]}<span class="viewing"> - $[board.num_viewing] Viewing</span>{/if}<br /> <p class="description">$[board.description]</p> {if $[board.num_mods]} <p class="moderators"> Moderator{if $[board.num_mods] != 1}s{/if}: {foreach $[board.moderator_group]}$[board.moderator_group.comma_before] $[board.moderator_group]{/foreach}{if $[board.moderator]}{if $[board.moderator_group]}, {/if}{/if} {foreach $[board.moderator]}$[board.moderator]$[board.moderator.comma] {/foreach} </p> {/if} {if $[board.sub_board]} <p class="sub-boards"> Sub-board{if $[board.sub_board] != 1}s{/if}: {foreach $[board.sub_board]}<a href="$[board.sub_board.href]">$[board.sub_board.name]</a>$[board.sub_board.comma] {/foreach} </p> {/if} </td> <td class="threads">{if $[board.threads] == -1}N/A{else}$[board.threads]{/if}</td> <td class="posts">{if $[board.posts] == -1}N/A{else}$[board.posts]{/if}</td> <td class="latest last"> {if $[board.posts] > 0} {if $[board.last_thread]} $[board.last_thread.recent_link]<br /> by $[board.last_thread.last_post.created_by]<br /> <span class="date">$[board.last_thread.last_post.created_on]</span> {/if} {else} No posts have been made on this board. {/if} </td> </tr> {else} <tr id="$[board.content_id]" class="$[board.content_class]"> <td class="icon">$[board.icon]</td> <td class="main clickable redirect last" colspan="4"> <span class="link">$[board]</span><br /> <p class="description">$[board.description]</p> </td> </tr> {/if} {/foreach} {if !$[board]} <tr class="last"><td class="last center" colspan="5">No boards were found.</td></tr> {/if} </tbody> </table>
|
|