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

Recent

Welcome to TinyPortal. Please login or sign up.

May 04, 2024, 10:50:32 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,178
  • Total Topics: 21,220
  • Online today: 93
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 45
  • Total: 46
  • tino

<---Content block

Started by reaper2120, June 24, 2006, 05:20:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

reaper2120

is there code on here for a content block like the one on the left? I love the formatting with bullets and all. I searched but couldnt find it.

RoarinRow

I made mine by going to the Menu Manager and creating each Header, Link, and Spacer.


SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

anunlike

Yep. When working with the blocks, look for a 'menubox' type of block. There's one by default and that's the one it is.

You should see one in the upper left entitled "Content" on the home page.

TreetopClimber

The only reference to these I have found so far is in the TPortalBlocks.template.php,
in this section // Tportal userbox
function TPortal_userbox()
{
          global $context, $settings, $options, $scripturl, $txt, $modSettings;

$bullet = '<img src="'.$settings['images_url'].'/TPdivider.gif" alt="" border="0" style="margin:0 2px 0 0;" />';
$bullet2 = '<img src="'.$settings['images_url'].'/TPdivider2.gif" alt="" border="0" style="margin:0 2px 0 0;" />';
$bullet3 = '<img src="'.$settings['images_url'].'/TPdivider3.gif" alt="" border="0" style="margin:0 2px 0 0;" />';
$bullet4 = '<img src="'.$settings['images_url'].'/tpgoto.gif" alt="" border="0" style="margin:0 2px 0 0;" />';
$bullet5 = '<img src="'.$settings['images_url'].'/tpmodule2.gif" alt="" border="0" style="margin:0 2px 0 0;" />';

anunlike

The thing is, if I'm understanding the question correctly, is you don't need code to do this manually. You just go to the blocks page where you normally work with the blocks and it's the 'menubox' type of block that's already there.

Just play around with the features and you'll learn how to create the headers, links, etc.

If you need any more help, just ask.

reaper2120

thanks guys, with this info im sure i can figure it out!

Xarcell

@ reaper

The content menu on this site is a TP default "content block". You add sure by going to your menu manager as mentioned above.

reaper2120

I made it by going in and making a menu block, then using the nice and eays menu manager. Thanks again guys!

RoarinRow

Your thread came at the right time cause I was in the process of re-organizing my menu. 

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0