Top anchor after each post.

Started by rakuli, March 30, 2005, 06:31:41 AM

Previous topic - Next topic

rakuli

Hi,
I am pretty sure someone would have done this before but I think it makes it a tad easier to navigate the forum.

in display.template.php I found
// Show the post itself, finally!
echo '
</td>
       </tr></table>
<hr width="100%" size="1" class="hrcolor" />', $message['body'],  '
</td>
</tr>';

And added
<br /><br /><a href="#">Top</a>
after
$message['body'].
It just adds a nice simple anchor to the top after each post. My forum has max 15 posts per page and if they are long posts it can take a bit of scrolling to get to the buttons on the forum.

Hope someone finds it useful.  :D

husmen73 (Gulhin)

-Kurumsal Kimlik Web Tasarım Hizmeti.
Gülhin Portal Sistemi hakkında yorumlarınızı bekliyorum.
SMF
Referanslar --> http://www.gulhin.com/referanslar-portfoy/
-Web Tasarımı ve Tema Tasarımı Sitesi www.gulhin.com
-TOPLU MAİL GÖNDERİMİ --> http://www.toplumailsms.com
E-Ticaret Sistemi yaptırmak mı istiyorsunuz?

Vinspire


nitecrawler


rakuli

Image??

I'm not sure what you mean. You want a screenshot?

nitecrawler

Maybe they meant an icon similar to that showing various messenger IDs, email, website etc instead of a textual top link. Not sure!

onijin

works great~

however, I changed the location to under the post date and changed the "#" to "#top"


thanx for this tid bit.  Never thought of it.

Jade Elizabeth

how can i make this work with 1.1.4? cause i did try it but it doesnt work, and i played with it for a bit but it still wont work :(
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Advertisement: