Closed (fixed)
Project:
Conditional text
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Major
Category:
Feature request
Assigned:
Reporter:
Created:
9 Aug 2011 at 12:47 UTC
Updated:
31 Aug 2011 at 19:21 UTC
When you are adding an additional module for the Modules Installed plugin, you should be able to supply a display name for your additional module. It should default to the capitalized machine name.
So for instance if I enter
search_by_page-7.x-1.2
the display name should default to "Search by page", but I should be able to change it to "Search by Page" if I want to.
Comments
Comment #1
tamasd commentedPushed: b93fbbba669fd35e9d58147c2550b43593bb5080.
Note, that this will erase the previous settings of the "enabled" plugin.
Comment #2
jhodgdonI cannot save my Text Filter settings now. I entered:
bogus_7.x-3.2
And I got a validation error:
Invalid module name or version.
This was independent of whether I had a display name or I didn't have a display name entered.
Comment #3
tamasd commentedThe validation is the same as before. However you have to write bogus-7.x-3.2 instead of bogus_7.x-3.2.
Comment #4
jhodgdonDuh! Sorry about the false alarm.
So the machine name is working now... but I think the default should be changed.
If I enter (in a condition or in the additional modules area in the text format) a module name like long_module_name, and I don't provide a machine name, I think the default should be either "Long Module Name" or "Long module name" (i.e., replace the underscores with spaces). It is currently defaulting to "Long_module_name".
Comment #5
tamasd commentedFixed: b3d28fef54938c7fce48e6cd737bdf7ee2ab16ee.
Comment #6
jhodgdonThanks, this is now working fine.