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,964
  • Latest: stylix
Stats
  • Total Posts: 195,935
  • Total Topics: 21,311
  • Online today: 1,147
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 499
  • Total: 499

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.

IchBin

It would be best to do what g6cad suggested.

Nokonium

It can be simpler than that. In TPortal.english.php find

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

Replace with

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

Prasad007

lol :P now i dunno wat to do...
should i do all three? :P

anunlike

#13
Since, TP uses the string:
$txt['tp-home'] = 'Home';
for the other two listed, all you have to do is change this one and the other two will be changed as well.

G6Cad

You only need to alter the code thats been called by the scripts to load.
I think if you have another language installed to your forum, the manipulation to the TPortal.english.php vill leed to that you have to change in two or more places anyway?

The file always loaded no matter what you install or alter is the index.portal.php

The files for 6 themes took 3 or 4 min to change :D

Nokonium

 >:D Of course  >:D

No do which ever one suits you. They will all work.



But mine works best  8)

G6Cad

hahahaha, i love this forum.
I get pretty good laughters here sometime.
i love you guys :) :2funny:

misjka

Hmmm, but the correct code is:

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

...isn't it? I got a template error leaving that $ out...

G6Cad

I think nokonium just missed that.
but you are right, you need that to there

Nokonium

Oops! copy and paste error








Sorry  :'(

This website is proudly hosted on Crocweb Cloud Website Hosting.