[ RENZ ]
New Member
site almost opened & want to create another site too. see profile signature.
Posts: 140
inherit
206290
0
May 17, 2021 20:23:53 GMT -8
[ RENZ ]
site almost opened & want to create another site too. see profile signature.
140
March 2014
katiriot5
|
Post by [ RENZ ] on Sept 30, 2017 18:58:01 GMT -8
I know you're supposed to remove a specific section of coding, but mine is different in appearance to what you're supposed to remove.
You're SUPPOSED to remove this:
{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}
However MINE looks like this:
<br><br>{if $[board.sub_board]} Sub-board{if $[board.sub_board] != 1}s{/if}: {foreach $[board.sub_board]}<a href="$[board.sub_board.href]" style="color: teal;">$[board.sub_board.name]</a>$[board.sub_board.comma] {/foreach} {/if} </td>
I'm wondering if I already moved the section required? Because when I remove the section I just pasted above, it DOES remove the sub-board links from the main page's boards. However in place of those sub-board links it puts a small gray box that states 32 x 32 within.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,781
January 2015
msg
|
Post by Lynx on Sept 30, 2017 19:21:35 GMT -8
[ RENZ ], Can you post the entire template code? I ask this because I'm seeing a closing </td> in the 2nd code snippet you posted. Not sure what's all in that <td>, so seeing the whole code will help to know if there's something else that may need to be removed, or if that </td> needs to be added back in.
|
|
[ RENZ ]
New Member
site almost opened & want to create another site too. see profile signature.
Posts: 140
inherit
206290
0
May 17, 2021 20:23:53 GMT -8
[ RENZ ]
site almost opened & want to create another site too. see profile signature.
140
March 2014
katiriot5
|
Post by [ RENZ ] on Oct 4, 2017 16:36:08 GMT -8
Lynx I didn't even realize that. I don't even remember editing any of this so it must have been edited by the creator of the skin. <table class="list" role="grid"> <tbody> {foreach $[board]} {if !$[board.is_redirect]} <tr id="$[board.content_id]" class="$[board.content_class]"> <td class="main clickable"> <span class="bfblink">$[board]</span>{if $[board.num_viewing]}<span class="viewing"> - $[board.num_viewing] Viewing</span>{/if}<br /> <p class="bfdesc">$[board.description] <br><br>{if $[board.sub_board]} Sub-board{if $[board.sub_board] != 1}s{/if}: {foreach $[board.sub_board]}<a href="$[board.sub_board.href]" style="color: teal;">$[board.sub_board.name]</a>$[board.sub_board.comma] {/foreach} {/if} </td> <td class="threads"><div class="bfcount">{if $[board.threads] == -1}N/A{else}$[board.threads]<br /> <div class="bftcount">topics</div>{/if}</div></td> <td class="posts"><div class="bfcount">{if $[board.posts] == -1}N/A{else}$[board.posts]<br /> <div class="bftcount">posts</div>{/if}</div></td></tr><tr><td> <div class="bfnewest"> {if $[board.posts] > 0} {if $[board.last_thread]} $[board.last_thread.recent_link]<br /> <span class="date">$[board.last_thread.last_post.created_on]</span> by $[board.last_thread.last_post.created_by] {/if} {else} No posts have been made on this board. {/if} </div> </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>
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,781
January 2015
msg
|
Post by Lynx on Oct 5, 2017 14:44:03 GMT -8
[ RENZ ], Try removing ONLY the part in red - as it looks like that </td> needs to be there:
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Oct 8, 2017 0:11:13 GMT -8
[ RENZ ] . Did MSG's suggestion work so we can tag this as "Completed". Also I notice you have a lot of threads here in Coding Help but nearly all of them, you don't respond back so would you mind going through your threads and letting us know if the problems are fixed. Thanks.
|
|
[ RENZ ]
New Member
site almost opened & want to create another site too. see profile signature.
Posts: 140
inherit
206290
0
May 17, 2021 20:23:53 GMT -8
[ RENZ ]
site almost opened & want to create another site too. see profile signature.
140
March 2014
katiriot5
|
Post by [ RENZ ] on Oct 19, 2017 16:45:19 GMT -8
Tumbleweed I check when I'm able to get on the site and edit. No point in checking replies here if I don't have the time or am on my phone and unable to test out the suggestion. Lynx I must have given you the wrong code. When I went back I couldn't find what you asked me to. However I have figured something out and believe I will be leaving the sub-board links where they are at the moment. Thank you for your help anyways!
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,781
January 2015
msg
|
Post by Lynx on Oct 19, 2017 18:42:44 GMT -8
Tumbleweed I check when I'm able to get on the site and edit. No point in checking replies here if I don't have the time or am on my phone and unable to test out the suggestion. Lynx I must have given you the wrong code. When I went back I couldn't find what you asked me to. However I have figured something out and believe I will be leaving the sub-board links where they are at the moment. Thank you for your help anyways! Were you on the correct theme when you went back and checked? You might have been working on a different theme.
|
|