Thanks, Tatane, that was helpful.
That's what I did:
* The text for Tab was coming from the "Title", and I could see it viewing the page's source:
<title>Article - Category - Publisher : XOOPS Sitetitle>
* Since you've already looked for Title and couldn't find it, I looked for the other element right above it:
I couldn't find it in /publisher, but it had to come from somewhere, so I searched the whole XOOPS installation, and I found it in each theme.html file.
* The title had to be generated from this line:
<{includeq file="$theme_name/xometas.html"}>
* Looking at xometas.html, the line of interest was:
<title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> : <{/if}><{$xoops_sitename}>title>
Obviously,
$xoops_pagetitle was the variable that was creating the "title"
* So the next step was to search for "xoops_pagetitle", to see how it is being generated. It is in /class/metagen.php
* The line of interest was:
if ($this->_title != '') {$xoopsTpl->assign('xoops_pagetitle', $this->_title);
}
where $xoops_pagetitle was assigned the value of "this->title".
* Now the question was how the "title" was created?
The answer was in the function:
function setTitle($title) {
$this->_title = $this->html2text($title);
$this->_original_title = $this->_title;
$titleTag = array();
$titleTag['module'] = $this->publisher->getModule()->getVar('name');
if (isset($this->_title) && ($this->_title != '') && (strtoupper($this->_title) != strtoupper($titleTag['module']))) {
$titleTag['title'] = $this->_title;
}
if (isset($this->_categoryPath) && ($this->_categoryPath != '')) {
$titleTag['category'] = $this->_categoryPath;
}
$ret = isset($titleTag['title']) ? $titleTag['title'] : '';
if (isset($titleTag['category']) && $titleTag['category'] != '') {
if ($ret != '') {
$ret .= ' - ';
}
$ret .= $titleTag['category'];
}
if (isset($titleTag['module']) && $titleTag['module'] != '') {
if ($ret != '') {
$ret .= ' - ';
}
$ret .= $titleTag['module'];
}
$this->_title = $ret;
}
* Since you didn't want to have the "category" and "Publisher" (as module name):
Quote:
Article - Category - Publisher : XOOPS Site
we needed to comment out these two parts from the code above:
// if (isset($titleTag['category']) && $titleTag['category'] != '') {
// if ($ret != '') {
// $ret .= ' - ';
// }
// $ret .= $titleTag['category'];
// }
//
// if (isset($titleTag['module']) && $titleTag['module'] != '') {
// if ($ret != '') {
// $ret .= ' - ';
// }
// $ret .= $titleTag['module'];
// }
and as a result you have now:
<title>Article : XOOPS Sitetitle>
Which I hope, it's what you wanted.