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,971
  • Latest: camgear
Stats
  • Total Posts: 196,072
  • Total Topics: 21,338
  • Online today: 277
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 209
  • Total: 210
  • @rjen

Portal Title

Started by Prasad007, February 06, 2006, 02:55:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Xarcell

Quote from: nokonium on February 06, 2006, 06:20:12 PM
It can be simpler than that. In TPortal.english.php find

$txt['tp-home'] = 'Home';

Replace with

txt['tp-home'] = $context['forum_name'];

May ruin your "Home button" depending on theme, or if you change your settinsg to "text only" instead of image buttons.

I could be wrong, but haven't checked.

Nokonium

$context['forum_name'] is used several times in index.english.php, including the text in notification e-mails.

bloc

Its really a bug...   :o

The suggestion IchBin mentions is what should go into TPortal.php, but does not presently....  :buck2: While all 3 things work, the language string is used when turning off images, and the setting in the template is actually used for all pages..so then you will have the forum name regardless where you are...and not the nice : Bloczone - Re:Portal title ( for this thread)....

Prasad007

neither of the ways worked :(

akalaze

Everything works fine as long as you use text  instead for an image.

I have the problem that I am using in the default theme the option
of a logo instead of the forum name.

Quote
if (empty($settings['header_logo_url']))
      echo '
               <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>';
   else
      echo '
               <img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';

Everything works fine as long as you are on the frontpage and when you click on
Forum, the logo shows up as it should be.

But as soon as you go into a board the logo disapears and I have a brocken link
showing. When clciking on the properties of the brocken link I get:
Quote
http://my.server.com/index.php/logomain.jpg
as opposed on the start page
Quote
http://my.server.com/ilogomain.jpg
Any suggestions how I could fix that?

Any help is highly apreciated.

Thanks

Axel

Quote from: Prasad007 on February 07, 2006, 02:24:53 PM
neither of the ways worked :(
I don't understand which is the solution... :o

xinnek

#26
 ???   my forum www.eosownersclub.com works fine and I never changed anything. But my www.ridgelineclub.com frontpage still has the "HOME" Is there anyway to fix this bug and still have the other pages display the proper heading?

Oh Great Bloc..... Please help this poor innocent newbie.

ps.... Thanks for such a great and easy portal. tinyportals ROCKS! O0

bloc

Yes, wait for the updated files I will post either tonight or tomorrow. :) I will fix the bug there.

Axel


Nokonium


This website is proudly hosted on Crocweb Cloud Website Hosting.