1
Cuidiu
CBB 3.08 Title Question
  • 2007/7/6 19:20

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


In the title of the page the module name appears as such:
[Forum] (I've renamed newbb to "Forum"). So if I'm viewing a post, the page title looks like this:
Post Title [Forum - Name of Forum] Site Name

How can I remove the brackets [] from the title?

Thanks so much!
Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)

2
Cuidiu
[Solved] Re: CBB 3.08 Title Question
  • 2007/7/6 23:13

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


Found it. In case anyone else wants to know - search for this bit of code:
$xoops_pagetitle =

in the following pages of modules/newbb/
index.php
viewforum.php
viewtopic.php

remove the [] from the code. For example in index.php:
Original (brackets in red:
$xoops_pagetitle = $category_obj->getVar('cat_title') . " [" .$xoopsModule->getVar('name')."]";
Brackets removed:
$xoops_pagetitle = $category_obj->getVar('cat_title') . " " .$xoopsModule->getVar('name');
Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)

Login

Who's Online

148 user(s) are online (115 user(s) are browsing Support Forums)


Members: 1


Guests: 147


heyula

more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jul 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits