blueriver / MuraConfiguratorExample

A very simple example of a Mura plugin with a per instance display object configurator.
http://getmura.com
Apache License 2.0
4 stars 3 forks source link

hard-coded plugin folder name in configurator.js #3

Closed azadisaryev closed 12 years ago

azadisaryev commented 12 years ago

How/why is it that when I install the example plugin, the created plugin folder is named 'ConfiguratorExample', but when I create my own plugin based on the example and deploy it to a Mura site, the created folder name has a numeric suffix appended to it?

How can I prevent this, so the hard-coded 'url' path in configurator.js works properly? Currently I have to open up and modify the url var in configurator.js after plugin installation for it to work - obviously far from ideal.

Thanks,

Azadi

stevewithington commented 12 years ago

Check your config.xml.cfm file to make sure you have this:

<directoryFormat>packageOnly</directoryFormat>
azadisaryev commented 12 years ago

Doh! Totally missed that. Awesome - Thanks, Steve!