TinyPortal
Development => Support => Topic started by: BLueSS on January 03, 2010, 10:30:37 PM
My forum titles have been configured to be "Topic Title - Forum Url" and I'm looking to duplicate that in the article titles as well.
Currently my page titles for Articles are "Forum Url - Article".
I tried looking through the sources/tp* files, but didn't see anything, and I tried looking in the language files. I'm probably missing it somewhere, but I'm not sure where that might be.
Thanks
In TPortal.php you'll find there are two spots for this code. Depending on your frontpage and articles options. I'd suggest changing both if you want to change it. Line 1497 and 1700 should have a line like this:
$context['page_title'] = $context['forum_name']. ' - ' . $context['TPortal']['current_category'];
Just exchange the two variables after the equal sign.
$context['page_title'] = $context['TPortal']['current_category']. ' - ' . $context['forum_name'];
I think that should do it.
That worked perfectly. Thanks, IchBin! Obviously I was looking for the wrong string, so I didn't catch those.