4
irmtfan,
Something about the above code just didn't look right to me so I didn't bother trying it until much later into other checks and tests.
Eventually, I found out where to change this value. I was curious so I checked the above info and found that this only affects the main article page, in fact after a lot of different checks, some testing and some common sense, I took my non php skills to a new level and decided to pour over the code with some level of determination.
I have been rather annoyed with the way it displays because after posting a new article, it does not always update in the browser title, so I just took a chomp on the bit and made the following change after looking around the code for couple hours. (This code is so clean that even a novice like me can understand whats going on, great Job!)
Eventually, I ended up in the main index.php on line 163:
Look for:
$xoopsTpl->assign('xoops_pagetitle', $myts->makeTboxData4Show($xoopsModule->name()) . ' - ' . $myts->makeTboxData4Show($firsttitle));
Change to:
$xoopsTpl->assign('xoops_pagetitle', $myts->makeTboxData4Show($xoopsModule->name()));
It works without errors in php debug and seems to hold up well. The only other result I noticed was that when on the actual article page, the title of the article is lost, but not the topic of the category. I can't remember if the story ID was shown in the story page before the changes or not. Makes little difference to me, I got the results I wanted and hope you do as well.
Good Luck!