TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 343
  • Total: 343

Center Block Articlebox "jumps" to top when viewed with a forum board

Started by Bryan, January 24, 2008, 07:41:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bryan

Using a Center block articlebox that’s set to “Show when inside this board”, I’m having the following problem.  When you click on a board topic below the articlebox, the new page opens at the top of the articlebox instead of at the top of the topic, requiring the user to scroll back down to view the first post in the topic.  Is there a way to change this?  I’m using the DilberMC theme for TP.

IchBin

Not much you can do about that. The page loads to the top based on the template files.

Bryan

Is there a way to have the Center Block articlebox show only when the board topic list is displayed but not when a topic is open?

IchBin

That is not available as a setting in TP, but you could use some custom code. If you'd like to do that let me know and I'll type up some code for you.

Bryan

Thanks IchBin,

I'm not in a big hurry to figure this out, so I'll try to mess with it a bit to see if I can make it work.  I'll yelp if I need more help.

Bryan

Any chance you know what template file puts the article the thread?  Extra kudos for linenumbers!

IchBin

Sorry, but I don't understand what you're asking. Could you be a bit more specific?

Bryan

The Center Block articlebox displays as desired in the board I’ve specified in the topic list view:      /index.php/board,24.0.html

It also displays when you open a topic (undesirable):      /index.php/topic,96.0.html

Which file(s) controls this behavior?


IchBin

There are multiple files that keep this stuff together. Thats why I didn't give you the code to add the option. Also, why I said you can do it with custom code. Not much you can do about it at this time except to use some custom php code. All the stuff you're looking for exists in the TPortal files.

This website is proudly hosted on Crocweb Cloud Website Hosting.