Recent Topics

Members
Stats
  • Total Posts: 10,749
  • Total Topics: 1,374
  • Online today: 484
  • Online ever: 879
  • (Jan 21, 20, 05:49:15 PM)
Users Online
Users: 0
Guests: 470
Total: 470

Flagrant_alt | Linktree

Started by Linda, Nov 06, 10, 11:30:52 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Linda

Hello Crip,

I updated my forum to 2.0 RC4, also the theme Flagrant_alt and the SimplePortal 2.3.3 but I have 2 little problems:

How can I change ?? in the linktree?
Haw can I fix the blue colour in the SimplePortal? (I don't have this problem under Curve, Core)


Crip

#1
hi,
I have saw many themes like that , it must be SP..? Padding: ? ..
QuoteHow can I change ?? in the linktree?
Find & Add this in your indextemplate.php needs all of it ..

// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree($force_show = false)
{
   global $context, $settings, $options, $shown_linktree;

   // If linktree is empty, just return - also allow an override.
   if (empty($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))
      return;

   echo '
   <div class="navigate_section">
      <ul>';

   // Each tree item has a URL and name. Some may have extra_before and extra_after.
   foreach ($context['linktree'] as $link_num => $tree)
   {
      echo '
         <li', ($link_num == count($context['linktree']) - 1) ? ' class="last"' : '', '>';

      // Show something before the link?
      if (isset($tree['extra_before']))
         echo $tree['extra_before'];

      // Show the link, including a URL if it should have one.
      echo $settings['linktree_link'] && isset($tree['url']) ? '
            <a href="' . $tree['url'] . '"><span>' . $tree['name'] . '</span>[/url]' : '<span>' . $tree['name'] . '</span>';

      // Show something after the link...?
      if (isset($tree['extra_after']))
         echo $tree['extra_after'];

      // Don't show a separator for the last one.
      if ($link_num != count($context['linktree']) - 1)
         echo ' »';

      echo '
         </li>';
   }
   echo '
      </ul>
   </div>';

   $shown_linktree = true;
}
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

Linda

Oké, thx for your answer and help Crip  ;)