Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

separator? ...i don't know what to call this, but please help

Aloittaja Stampie, marraskuu 18, 2013, 01:55:35 IP

« edellinen - seuraava »

Stampie

hi, can you guys help me with this?



that path is supposed to be: Manchester United - MAnchester United FC Talks - First Team Talks - Ngomongin Squad 2013/2014

it has no "separator" in every section with the Theme i am using, i want to add ">>" or something to be the separator

Many thanks for your help :)

kat

As you get that as you want it, I assume, when you use the SMF default theme, I would think that you'd need to ask in the theme's support topic, for this, Stampie.

Kindred

I believe that this issue lies in the linktree CSS for that theme
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Illori

the css does not call the separator

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


that is from the default theme, but best would be to ask the theme author for help.

Stampie

Thanks guys :)

- [email protected] my mistake :)

- Kindred... it's solved, actually it's from the index.template.php (d'oh)

- illori... Thanks ..i actually have to change:


after a long looks and comparing the Default theme and my current theme

my current theme index.template.php


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

      echo '
         </li>';
   }


and replacing with this one from the Default theme


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

      echo '
         </li>';
   }


the line echo ' &#187;'; was not present in my current theme index.template.php , i wonder why it was missing... d'oh

and thank you guys for helping, it means a lot :)

warm regards

kat

No sweat, mate! Thanks for posting the solution, too, coz it might-well help others. :)

Advertisement: