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,973
  • Latest: NonStop
Stats
  • Total Posts: 196,230
  • Total Topics: 21,353
  • Online today: 446
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 116
  • Total: 116

ADD PANEL

Started by ahrasis, April 19, 2010, 04:28:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ahrasis

Is it possible to add panel to current available panel of TinyPortal? I need to add a place like the global header & footer mod in smf. How do I do that? Thank you in advance.

IchBin

TP only gives you panels to alter, it doesn't give you a way to add panels. If you want to put something in the header you'll have to alter your theme or use the global header/footer mod.

ahrasis

In that case, can I change the bottom panel to position to the place I want i.e. on the very top of the page instead of its current position on bottom of the forum. I can just replace it position in index.template.php right?

IchBin

No, TP adds the panels as layers. Layers can only be put between the SMF template_above and template_below layers. Which means between the head and foot of the page.

bloc

#4
Look at TPBlockLayout.template.php file inside Themes/default, there you see how its laid out. It still around the content..but you could for example move the bottom panel call out of that file altogheter, to right after body tag inside the index.template.php.

That should put it right at the top, before any markup(well, BODY markup anyway ;) )

Note that you should copy over TPBlockLayout file to your custom theme when you change it and of course it will still be named "bottom" panel inside admin.

In future TP these panels may be placed as you like and brand new ones added as well - but not for TP v1.0.

This website is proudly hosted on Crocweb Cloud Website Hosting.