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!
[size=x-small]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)[/size]

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');
[size=x-small]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)[/size]

Login

Who's Online

252 user(s) are online (182 user(s) are browsing Support Forums)


Members: 0


Guests: 252


more...

Donat-O-Meter

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

Latest GitHub Commits