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,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 728
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 470
  • Total: 471
  • @rjen

[bugtracker] Front page website title not showing up

Started by supportingactors, May 22, 2008, 05:07:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

supportingactors

After upgrading to TP 1.0.5 beta 1 from TP .97, it appeared that  the front page TITLE was based on a category, rather than the SMF website name. I deleted all the categories, and recreated them; thereafter the TITLE became blank.

G6Cad

The title of your forum ?  / you mean what the browser tabs shows when you enter the pages with in your forum ? )

They are following the related pages you currently visit. if you want your frontpage to show the forum name in the broswer tab you need to name the article category you show on your frontpage to your forum name and that will then show the mane in the browser tab.

supportingactors

#2
Yes, the webpage <TITLE>. The front page has no single "article category"; it just has articles from multiple categories-- as my name implies, based on specific actors. Previously, it used to show the website name taken from the SMF data.

A bit more checking reveals that the TITLE is being taken from the category of the last article added to the page -- so it changes depending on how many articles are on the front, etc. This probably was not an intended "feature."

Zetan

You will need to edit the Meta tags in the index.template.php file and put the forum title where <title> is.

supportingactors

Thanks for the suggestion. I considered setting it to be:

<title>', $context['forum_name'], ' </title>';

but then it would change all the pages to the fixed title -- and I liked having context-based titles.

The variable that's being used is "page_title" -- can someone find where it's being set when the front page is generated?

IchBin

If I remember right the frontpage title is generated in the TPortal.php file in the sources directory.

bloc

- corrected to show forumname + category/article name in 1.0.5 beta2

zarej


This website is proudly hosted on Crocweb Cloud Website Hosting.