Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

ExtraPage 3.1 menu title in definitions not changing; vanilla 2.1.6

edited December 2014 in Vanilla 2.0 - 2.8

This seems to be so straight forward.
Followed all instructions (the ones on the plugin page are newer and quite different than Read Me file).
Embed-Friendly 3.0 theme while I work out gliches in custom theme upon upgrading from 2.0

Doesn't matter what theme I change to.

After setting the menu title in ExtraPage/locale/en-CA/definitions.php to:

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

All appears to work except that the menu still says - ExtraPage A

In Settings >> Routes

Route Expression box shows ^extrapagea(/.*)?$

Target box shows vanilla/ExtraPageA$1

Type box shows Internal

URL goes to

//makebelieve.com/testforum/extrapagea

instead of

//makebelieve.com/testforum/downloads

Entire domain always under SSL / https set at the domain registrar dns but don't believe logically for this internal setup that it matters.

Those Routes all appeared after re-enabling the plugin before creation as per Plugin Page

http://vanillaforums.org/addon/1008

What's missing?

Thank you @peregrine‌

Comments

  • does it go to the extra page?

    the Definition doesn't change the url, nor is it meant to.

    the definition changes the menu title.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Yes, it functioned - it goes to the proper page.

    okay on it not having url/downloads type ending.

    Understand, but definitions isn't changing the menu title.

  • try putting definition in /conf/locale.php

    if you don't have conf/locale.php add it.

    <?php if (!defined('APPLICATION')) exit();
    $Definition['ExtraPage A'] = 'Downloads';
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • edited December 2014

    Worked PERFECTLY. [yes, there was a locale.php file there already, but beyond your line 1. - it was empty.]

    Thank you.

Sign In or Register to comment.