Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: nanoarray - helmikuu 25, 2005, 05:35:49 AP

Otsikko: modify tree links & page numbers
Kirjoitti: nanoarray - helmikuu 25, 2005, 05:35:49 AP
When I go to each forum, the top and bottom of the table show both tree links and page numbers.

I want to get rid of the page number on the top of the table and the tree links at the bottom of the table.  How do I do it?
Otsikko: Re: modify tree links & page numbers
Kirjoitti: A.M.A - helmikuu 25, 2005, 07:03:08 AP
in your Themes/default/MessageIndex.template.php look for and remove:
line#109
<b>', $txt[139], ':</b> ', $context['page_index'], $modSettings['topbottomEnable'] ? $context['menu_separator'] . '<a href="#bot">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/go_down.gif" alt="' . $txt['topbottom5'] . '" border="0" align="top" />' : $txt['topbottom5']) . '</a>' : '', '
line#286
', theme_linktree(), '
Otsikko: Re: modify tree links & page numbers
Kirjoitti: nanoarray - helmikuu 25, 2005, 05:11:01 IP
Thanks.  Ok, now I want to do the same thing after I click individual postings.  Where can I find the code?
Otsikko: Re: modify tree links & page numbers
Kirjoitti: Oldiesmann - helmikuu 26, 2005, 01:08:39 IP
Display.template.php

Find (Line 170)
<b>', $txt[139], ':</b> ', $context['page_index'];

Replace
';

Find and remove (Lines 566-568)
if ($settings['linktree_inline'])
echo '
<td valign="top" align="left">', theme_linktree(), '</td> ';