Forums | Mahara Community

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


anonymous profile picture
Deleted user
Posts: 6

02 February 2012, 3:03 PM

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 AM

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
Deleted user
Posts: 6

03 February 2012, 5:08 PM

Thank you!

 

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

 

Regards
Alex contis

Kristina Hoeppner's profile picture
Posts: 3866

05 February 2012, 7:47 PM

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