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
Did you clear cache?
Thank you Kaspar for your reply. Yes I did.
The way locales are handled has changed. I suggest you simply try "pt.php" (assuming "pt" is your country code, whatever that stands for 😉 )
Thanks a R_l I for your reply found a solution with https://open.vanillaforums.com/addon/basicpages-plugin