New plugin is named after directory

Bug #671202 reported by jsherk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PHPDevShell
Invalid
Undecided
Unassigned

Bug Description

v3.0.0-b3

When you create your own new plugin, and then go to the Plugins Admin page, it will show (in large letters) the name of the plugin, but it displays the directory name as the plugin name instead of using the name in the plugin.config.xml file.

EXAMPLE:
/plugins/my_plugin/config/plugin.config.xml has name tag set to <name>My Great Plugin</name>

When you go to Plugins Admin it will show the name as "my_plugin" instead of "My Great Plugin".

Thanks

Revision history for this message
TitanKing (titan-phpdevshell) wrote :

This is actually a very important feature and not really a limitation. a Plugin is a unique object, a plugin name is the same as this object which is the same as the folder and directory. a Plugin cannot have the same name and is safe from odd characters. It allows users to easily locate and maintain plugins not written by them, it also allows various other factors where files are called inside plugins. Basicly the whole system depends on a reliable plugin name and folder which is the same.

Changed in phpdevshell:
status: New → Invalid
Revision history for this message
jsherk (jeff-forerunnertv) wrote :

So then the name specified in the plugin.config.xml file under <name> should match exactly the folder name?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.