Post by dut on Feb 5, 2023 3:03:51 GMT -8
Hi!
Okay, so I may have been messing around with things I might not have been wise enough to mess with. Trying to get board descriptions to work the way I want, with the 'image in board descriptions' plugin, I may have deleted some code in the templates that has resulted in the link between a board and the list of subboards, gone missing. So, when I click on the board, it directs me to at page that says: "We couldn't find the page you are trying to access. Return to the forum's homepage."
Anyone who can help me?
Board template:
Okay, so I may have been messing around with things I might not have been wise enough to mess with. Trying to get board descriptions to work the way I want, with the 'image in board descriptions' plugin, I may have deleted some code in the templates that has resulted in the link between a board and the list of subboards, gone missing. So, when I click on the board, it directs me to at page that says: "We couldn't find the page you are trying to access. Return to the forum's homepage."
Anyone who can help me?
Board template:
{if $[board.sub_board_list]}
<div class="container boards">
<div class="title-bar"><h2>Sub-Boards</h2></div>
<div class="content cap-bottom">
$[board.sub_board_list]
</div>
</div>
{/if}
{if $[display_thread_list]}
<div{if $[viewing_bookmarks]} id="bookmarks"{/if} class="container threads">
<div class="title-bar">
{if $[create_thread_button]}
<ul class="controls"><li>$[create_thread_button]</li></ul>
{/if}
<h1>$[board.display_name]</h1>
</div>
<div class="control-bar ui-helper-clearfix $[scroll_class]">
$[search]
<div class="controls">
$[selection_menu]
$[action_menu]
</div>
$[pagination]
</div>
<div class="content cap-bottom">
<table class="list">
<thead>
<tr class="head">
<th class="checkbox"> </th>
<th class="main">Subject</th>
<th class="created-by">Created By</th>
<th class="replies">Replies</th>
<th class="views">Views</th>
<th class="latest last">Last Post</th>
</tr>
</thead>
<tbody class="$[list_class]">
$[thread_list]
</tbody>
</table>
</div>
</div>
{/if}
{if $[thread_count] > 0}
{if $[legend]}
<div class="container legend">
<div class="title-bar"><h2>Legend</h2></div>
<div class="content">
<table>
<tr>
{foreach $[legend]}
<td>$[legend.icon] <span>$[legend.name]</span></td>
{/foreach}
</tr>
</table>
</div>
</div>
{if $[board.id]}{if $[show_stats]}
<div class="container stats">
<div class="title-bar"><h2>Board Information & Statistics</h2></div>
<div class="content">
<table>
<tbody>
{if $[board.description]}
<tr>
<td colspan="2">
<table>
<tr>
<td class="icon">$[image.description]</td>
<td class="info last">
<div class="board-name">$[board.name]</div>
<div class="board-description">$[board.description]</div>
</td>
</tr>
</table>
</td>
</tr>
{/if}
</tbody>
</table>
</div>
</div>
{/if}{/if}