Author Topic: how to change page title?  (Read 2836 times)

sinbad

  • Freshman
  • *
  • Posts: 31
    • View Profile
how to change page title?
« on: January 13, 2010, 04:21:04 am »
how do I change the page title on Feng Office?
I changed application/layouts/html.php but doesn't seem to change as expected :)

anyone have an idea where to look?

sinbad

  • Freshman
  • *
  • Posts: 31
    • View Profile
Re: how to change page title?
« Reply #1 on: January 17, 2010, 03:12:03 pm »
We print reports sometimes for clients so I wanted to mask the Feng Office part from the titles.

the place to change it will be in init.php (opengoo root dir) around line 64


shaiss

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Email
Re: how to change page title?
« Reply #2 on: April 14, 2010, 02:50:02 pm »
Line 65 in my case change:
define('PRODUCT_NAME', 'Feng Office');
to
define('PRODUCT_NAME', 'whatever-you-want');

the only thing I don't like about this approach is now it says "Shai Inc. - Collaborate" which is fine.  But the footer says "Powered by Collaborate 1.7-beta2".  I want to give credit to Feng Office and would rather it says the original "Powered by Feng Office 1.7-beta2"

Is there a better way to do this?

There is this option, but it doesn't seem the cleanest way to do it:
http://forums.fengoffice.com/index.php?topic=3900.msg14418#msg14418
« Last Edit: April 14, 2010, 02:53:49 pm by shaiss »