HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Extrapage

Hi

Thanks for this addon. I´m having problems to change the "Link name"

According to instructions on the readme file:

"To modify your own link name

in ExtraPage/locale/en-CA see definitions.php

on the right hand side you will see this:

$Definition['ExtraPage'] = 'New Page'; you can change it to this.

$Definition['ExtraPage'] = 'This is where you change it

- My New Page';

 if you have a different language e.g. zh-CHthen you would make a directory called

Extrapage/locale/zh-CH

and copy the defintions php from ExtraPage/locale/en-CA

into Extrapage/locale/zh-CH

 and make the change in that directory."


In the plugin directory (ExtraPage/locale/en-CA see definitions.php) I changed the php to:


<?php if (!defined('APPLICATION')) exit();

$Definition['ExtraPage'] = 'New Page';

$Definition['ExtraPage A'] = 'teste A';

$Definition['ExtraPage B'] = 'teste B';

$Definition['ExtraPage C'] = 'teste C';

?>

And created a Extrapage/locale/vf_pt and copied the new definitions.php

Any suggestions to change the link names?


Vanilla Version 3.0.2

Thanks.

Comments

Sign In or Register to comment.