Linktree

From Online Manual

Revision as of 17:32, 1 February 2014 by Emanuele (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is that thing that shows "My Community | General Category | General Discussion"..

Create a linktree

SMF nearly always loads a linktree. Usually you would add an item to it.

Definitions

// Load up the linktree!
$context['linktree'][] = array(
  'extra_before' => $txt['calendar'],
  'url' => $scripturl . '?action=calendar',
  'name' => $txt['calendar'],
  'extra_after' => $txt['calendar'],
);