On the Recent Posts section of the board index, is there a way to make it an option to expand or collapse? Thank you.
Collapse the information center on index? (http://www.simplemachines.org/community/index.php?topic=27250.0)
I keep getting parse error on line 252, with expecting "," or ";" from the link above.
dliw is a staff/helper (or whatever he chooses) of the site/forum I own.
2 heads are better then one. :)
Edit; Add.
Exact error
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /usr/home/williamm/public_html/forum/Themes/default/BoardIndex.template.php on line 252
Can you post three lines above and three lines below?
-[Unknown]
Not exactly 3 lines above and below, sorry.
// This is the "Recent Posts" bar.
if (!empty($settings['number_recent_posts']))
{
echo '
<tr>
<td class="catbg" colspan="2"><a href="javascript:boardIndexCollapse('recent');"><img src="', $settings['images_url'], '/collapse.gif" alt="" border="0" id="collapse_recent" />', $txt[214], '</a></td>
</tr>
<tr id="row_recent">
<td class="windowbg" width="20" valign="middle" align="center">
<a href="', $scripturl, '?action=recent">
<img src="', $settings['images_url'], '/post/xx.gif" alt="', $txt[214], '" border="0" /></a>
</td>
<td class="windowbg2">';
Find:
javascript:boardIndexCollapse('recent');
Replace:
javascript:boardIndexCollapse(\'recent\');
-[Unknown]
Lainaus käyttäjältä: [Unknown] - helmikuu 27, 2005, 04:41:00 AP
Find:
javascript:boardIndexCollapse('recent');
Replace:
javascript:boardIndexCollapse(\'recent\');
-[Unknown]
Thank you, that worked.
Thank you [Unknown].
Actually, I'm the staff helper helping the staff. :D