Remove or customise version page?

edited October 2010 in General
Hi,
I was wondering if it is possible to remove, or customise, the 'version' page on my status.net site? The page is located at:
www.ashleycox.co.uk/chatter/main/version
thanks!
Ashley C

Comments

  • @ashleycox you can keep it from displaying by commenting out the following in /lib/action.php

    //$this->menuItem(common_local_url('version'),
    //TRANS: Secondary navigation menu option leading to version information on the StatusNet site.
    // _('Version'));

    I think that should do it.
  • @jordanc
    Hi,
    I did as you suggested, and indeed the menu items are no-longer there.
    HOwever, i'm getting these 2 errors:
    Warning: Cannot modify header information - headers already sent by (output started at /home/ashleyc5/public_html/chatter/lib/action.php:1) in /home/ashleyc5/public_html/chatter/lib/action.php on line 996

    I don't understand this; I haven't changed these lines!
    ANy ideas?
    If necessary I can send you my action.php file.
    Thankyou for all your help in setting all this up; it's much appreciated!
    Ash

    Warning: Cannot modify header information - headers already sent by (output started at /home/ashleyc5/public_html/chatter/lib/action.php:1) in /home/ashleyc5/public_html/chatter/lib/htmloutputter.php on line 109
  • @jordanc
    SOrry, forgot to say, if you'd like to view the site it's at:
    www.ashleycox.co.uk/chatter
  • @ashleycox Turns out it's actually best to not directly edit the action.php file, it's possible, but not recommended (I'm still the new guy here learning as I go, sorry for the bad advice) The problem with editing core files directly is that it's pretty much guaranteed to break with upgrades. Your best bet is to make a plugin that will prevent that part from being loaded. I'm afraid that's a bit outside my scope of support.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID