MyBB Community Forums

Full Version: how to automate "jump to content"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a pretty big header at the top of my forum.

When you click on a thread to read it, the page comes up
showing the big header with a little bit of the thread text
viewable. You have to scrool down to the thread text
everytime.

If you go to the bottom of the page, there is a text/link that says
"jump to content" .. when you click this it takes the forum minus
the header and frames it just right.

Could there be some way to have it do this when someone clicks
on a thread to read it ??

thanks
mike
Modify the appropriate forumdisplay_* template (forumdisplay_forumlist_thread ?) so that the link has #content appended to the URL.
(2008-08-19, 07:09 AM)ZiNgA BuRgA Wrote: [ -> ]Modify the appropriate forumdisplay_* template (forumdisplay_forumlist_thread ?) so that the link has #content appended to the URL.

Im a little embarrassed to say, that I'm not sure where to find that.
AdminCP -> Templates & Style -> Templates -> *select templateset* -> Forum Display Templates -> forumdisplay_thread
Find: "{$thread['threadlink']}"
replace with "{$thread['threadlink']}#content"