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

Recent

Welcome to TinyPortal. Please login or sign up.

April 18, 2024, 04:30:33 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 192
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 143
  • Total: 143

BlocZone Theme?

Started by loveacrossborders, January 11, 2005, 05:34:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sudden

what are those extra lines?

is it difficult to add those 'extra lines (for portal blocks)' in SMF theme?

Bjørn

No , its not too hard.. look in the tinyportal.mod file and scroll down to when it starts on index.template.php.

Basically you get by with adding the include of TPortalBlocks.template.php and adding the extra <td>'s to have columns to show left,right and centerblock. They do that in the <table> that starts just at the end of template_main_above() and just at the start template_main_below.

Then there is the adding of 2 new buttons , one to "take-over" the forum start page, since now "home" goes to the portal startpage, and one for the TinyPortal admin part.Done in template_menu , also in index.template.php.

I wanted to keep TPadmin separate from usual admin, to have a clear difference between the 2. Also, with added modules in the future, the admin section would be overcrowded if I were to put TP stuff in there as well.