TinyPortal

Development => Feedback => Bugs/Errors => Topic started by: supportingactors on May 22, 2008, 05:07:38 PM

Title: [bugtracker] Front page website title not showing up
Post by: supportingactors on May 22, 2008, 05:07:38 PM
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.
Title: Re: [bugtracker] Front page website title not showing up
Post by: G6Cad on May 22, 2008, 05:42:52 PM
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.
Title: Re: [bugtracker] Front page website title not showing up
Post by: supportingactors on May 22, 2008, 06:36:02 PM
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."
Title: Re: [bugtracker] Front page website title not showing up
Post by: Zetan on May 23, 2008, 02:28:42 PM
You will need to edit the Meta tags in the index.template.php file and put the forum title where <title> is.
Title: Re: [bugtracker] Front page website title not showing up
Post by: supportingactors on May 24, 2008, 12:47:31 AM
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?
Title: Re: [bugtracker] Front page website title not showing up
Post by: IchBin on June 01, 2008, 07:04:41 AM
If I remember right the frontpage title is generated in the TPortal.php file in the sources directory.
Title: Re: [bugtracker] Front page website title not showing up
Post by: bloc on June 01, 2008, 12:53:06 PM
- corrected to show forumname + category/article name in 1.0.5 beta2
Title: Re: [bugtracker] Front page website title not showing up
Post by: zarej on September 09, 2008, 04:09:02 PM
How to fix that until beta2 gets released?