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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 101
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 416
  • Total: 416

tp_leftpanel

Started by SNewman, October 29, 2008, 02:15:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SNewman

Hello.

I've searched for a good hour, but can't seem to find the answer.  I'm looking for either the location of the CSS definitions, or the file where <div class="tp_leftpanel"> is outputed, as I am trying to make TinyPortal blend in with my template.  Any help would be greatly appreciated.  Thank you!

-- EDIT --
I've checked tp-style.css and it's not in there.

Ianedres

I'll suggest 'index.template.php' in your theme or default directory as a quick guess to give you somewhere to look; however, you would probably fare better searching for 'tp_leftpanel' rather than entire strings.

However, there are most likely more than one file that may use the function calling the left panel...

And, it should go without saying, make a backup copy of your files before editing...  ;)

SNewman

No such luck...I've searched for 'tp_leftpanel' in every concievable PHP or CSS file in every theme and I still can't find the bugger...

SNewman

Found it.  It was in TPBlocks.template

bloc

TPBlocklayout.template is where you find the actual panels, the css id meant to help you change it from either tpsyle.css or style.css of the theme.

If you need to change the HTML as well, copy over that template to your theme, its made primary for that reason. The TPBlocks.template rather contain all blocktypes, and is not one you need to adjust for changing panels.

This website is proudly hosted on Crocweb Cloud Website Hosting.