Forums | Mahara Community

Developers /
Don't add "Copy of" in page title


anonymous profile picture
Account deleted
Posts: 6

02 February 2012, 15:03

Hi,

Is there a way to skip adding "Copy of" in the page title for pages/collections that have been copied? 

Regards
Alex Contis 

03 February 2012, 4:51

Hello,

The simple way to do that, without touching the php code, would be to change the string in the lang pack.

For example "Copy of " is in the file "lang/en.utf8/mahara.php" near line 889

$string['Copyof'] = 'Copy of %s';

You could change this or create a new langpack with only this string changed.

Or if you have programming skil you could change the php code, which I won't recommend because you will lose the benefit of simple upgrade in the future.

HTH

-dajan

anonymous profile picture
Account deleted
Posts: 6

03 February 2012, 17:08

Thank you!

 

I created a new language pack with the edited string, it works great.

 

Regards
Alex contis

Kristina Hoeppner's profile picture
Posts: 4744

05 February 2012, 19:47

Hi Alex,

In Mahara 1.5 you will be able to make this change in the config file: https://bugs.launchpad.net/mahara/+bug/905067

Cheers

Kristina

4 results