Jump to content

Recommended Posts

  • 7 months later...
Posted

Is it possible yet to do this?

 

The way to do this is set the name via the language files and then just put the name in each language but hey "let's all say no".

 

Example:

	 /**
	 * Returns the name of this plugin
	 *
	 * @return string The common name of this plugin
	 */
	public function getName() {
		return Language::_("SharedLoginPlugin.name", true);	
	}
Posted

 

The way to do this is set the name via the language files and then just put the name in each language but hey "let's all say no".

 

Example:

	 /**
	 * Returns the name of this plugin
	 *
	 * @return string The common name of this plugin
	 */
	public function getName() {
		return Language::_("SharedLoginPlugin.name", true);	
	}

 

after gateway installation , the gateway name has no relation with languages files . so edit delete has no impact of the displayed name .

 

the only solution i see now is to hack gateway-manager.php model , to make it fetch the name from file and not from database . is not so hard , i will share my solution in the next minutes .

Posted

after gateway installation , the gateway name has no relation with languages files . so edit delete has no impact of the displayed name .

 

the only solution i see now is to hack gateway-manager.php model , to make it fetch the name from file and not from database . is not so hard , i will share my solution in the next minutes .

 

Ah never knew that.

Posted

 

The way to do this is set the name via the language files and then just put the name in each language but hey "let's all say no".

 

Example:

	 /**
	 * Returns the name of this plugin
	 *
	 * @return string The common name of this plugin
	 */
	public function getName() {
		return Language::_("SharedLoginPlugin.name", true);	
	}

 

I think I tried that and also forced a gateway upgrade by changing the version number, but the gateway name showed to clients is determined by what's stored on the database (which doesn't change).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...