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:
le="color: #000000"><?php <title>Article - Category - Publisher : XOOPS Site</title>
* Since you've already looked for Title and couldn't find it, I looked for the other element right above it:
le="color: #000000"><?php <!-- Metas, Titles, and Style Sheets -->
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:
le="color: #000000"><?php <{includeq file="$theme_name/xometas.html"}>
* Looking at xometas.html, the line of interest was:
le="color: #000000"><?php <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:
le="color: #000000"><?php 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:
le="color: #000000"><?php 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:
<title>Article - Category - Publisher : XOOPS Site</title>
we needed to comment out these two parts from the code above:
le="color: #000000"><?php // 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:
le="color: #000000"><?php <title>Article : XOOPS Site</title>
Which I hope, it's what you wanted.