Former Member
inherit
guest@proboards.com
256971
0
Apr 18, 2024 14:30:05 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Apr 6, 2019 15:38:46 GMT -8
My board is private so I'm not sure how I can go about posting the link privately but the problem I'm having is the legend box *not on the homepage* is not showing up. I went and resetted the board template to default and made sure in the CSS that I didn't have any codes that removes it and I also disabled all the plugins I have installed and still nothing. I just finished this theme on my test board and the legend box was showing up just fine.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,775
January 2015
msg
|
Post by Lynx on Apr 6, 2019 15:55:38 GMT -8
My board is private so I'm not sure how I can go about posting the link privately but the problem I'm having is the legend box *not on the homepage* is not showing up. I went and resetted the board template to default and made sure in the CSS that I didn't have any codes that removes it and I also disabled all the plugins I have installed and still nothing. I just finished this theme on my test board and the legend box was showing up just fine. This is probably not a coding problem, but we'll know for sure after you check this: Go to Admin > Settings > Forum Settings > Forum (tab) > Info Centers (option - may need to scroll down some) and see if you have those enabled (there's a dropdown and 2 Yes/No options in that section).
|
|
Former Member
inherit
guest@proboards.com
256971
0
Apr 18, 2024 14:30:05 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Apr 6, 2019 16:00:52 GMT -8
Lynx - The display legend box is checked. The legend shows up on the homepage but when I go into the forum to view the list of topics is when it doesn't show up. I apologize for posting in the wrong forum.
|
|
Former Member
inherit
guest@proboards.com
256971
0
Apr 18, 2024 14:30:05 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Apr 6, 2019 16:02:26 GMT -8
This is what I got from the board tab in the templates.
{if $[legend]} <div class="container legend"> <div class="title-bar"><center><h2>Legend</h2></center></div> <div class="content"> <center><table> <tr> {foreach $[legend]} <td>$[legend.icon] <span>$[legend.name]</span></td> {/foreach} </tr> </table></center> </div> </div> {/if} {/if}
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,775
January 2015
msg
|
Post by Lynx on Apr 6, 2019 16:11:31 GMT -8
Lynx - The display legend box is checked. The legend shows up on the homepage but when I go into the forum to view the list of topics is when it doesn't show up. I apologize for posting in the wrong forum. I said it probably wasn't a coding issue - but I could very well be wrong on that. Looking at the code snippet you posted, it matches what I see in a vanilla theme. Unfortunately, since your forum is private, I'm not sure what could be wrong. All I would be doing from here would simply be guesswork - and there's no guarantee that any guesses I made would even come close to the issue. Sorry.
|
|
inherit
252032
0
Apr 4, 2024 21:43:14 GMT -8
Retread
Tribbial Pursuit.
5,014
January 2018
retread
|
Post by Retread on Apr 7, 2019 12:24:57 GMT -8
This is what I got from the board tab in the templates. {if $[legend]} <div class="container legend"> <div class="title-bar"><center><h2>Legend</h2></center></div> <div class="content"> <center><table> <tr> {foreach $[legend]} <td>$[legend.icon] <span>$[legend.name]</span></td> {/foreach} </tr> </table></center> </div> </div> {/if} {/if} Hi @coffeelover The <center></center> you've added don't seem to be a problem. You're missing the opening line in that section: {if $[thread_count] > 0} But that's just meant to suppress the legend on boards where there are no threads. So that shouldn't be a problem other than having the final {/if} displayed as text. Make sure you don't have any comments <!-- which aren't closed with a -->That would cause the remainder of the template to be ignored. If you're still having a problem, could you copy/paste your Board template (Board tab) in its entirety?
|
|