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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,965
  • Latest: boruko
Stats
  • Total Posts: 195,980
  • Total Topics: 21,320
  • Online today: 281
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 296
  • Total: 296

Inline links are not links!

Started by ScousePete, October 09, 2006, 02:00:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ScousePete

SMF 1.1RC3
TP 0.9.5
Babylon theme

Not sure when exactly this happened, as I have been tinkering all day, but my inline links are no longer html links they are just text. I've switched from inline to tree mode and it is still the same.

Anyone able to help?

jacortina

Have you 'tinkered' with 'function theme_linktree()' in your index.template.php?

ScousePete

Quote from: jacortina on October 09, 2006, 02:17:33 AM
Have you 'tinkered' with 'function theme_linktree()' in your index.template.php?


Yes, it was the first thing I checked. I checked it against a vanilla install and it is the same.

Jpg

Change the theme then check again.

jacortina

#4
Is it ALL of them? Is the very first one (or two, with TP) also only text?

$context['linktree'] gets built (mostly) in function loadBoard() in Sources/Load.php. But the 'Forum' link is pretty much loaded unconditionally (can't really be sidestepped unless you blank out the $context['linktree'] array after that).

EDIT:
If you view the page source, are there 'malformed' links there (partial <a href strings)?

Xarcell

I would imagine that it is a theme issue. Not  a TP issue.

ScousePete

Quote from: Xarcell on October 09, 2006, 03:10:39 AM
I would imagine that it is a theme issue. Not  a TP issue.

Thank you everyone for your help. It was indeed a SMF issue, well more of an idiot issue, with me being the idiot. It turns out I had unchecked the Admin / Current Theme / Show current position in forum as link instead of text.

Live and learn!

This website is proudly hosted on Crocweb Cloud Website Hosting.