Circular Helix Array

 From:  Michael Gibson
1519.36 In reply to 1519.32 
Hi Pilou,

Yup, you've got the right idea there - you would keep the top stuff the same, and edit the stuff that is inside of the <moi:PushButton> tags - each of those is one of those big buttons.

For each command, you would add the command name inside the command="" part, so for example for the Pipe plugin, you would put:

<moi:PushButton command="pipe">
....


Now pushing that particular big button will call the Pipe plugin command.

For changing the images or text, you can find the <img> tags, and change the src="" paramter to point to your own bitmap file - this can be a file on your local hard drive instead of on the web if you want, for those use the file:// address, like <img src="file://C:/images/MyImage.jpg">

To edit the text, find the areas inside the <td> tags that currently say stuff like "Some other command" and "Notes: Some notes here", and change those to say whatever you would like to have as text instead.

You can use copy and paste to insert new <moi:PushButton> elements as you wish.

If you look at the file you will see that there is a <tr> </tr> for each row of buttons (tr stands for table row), and then a <td> </td> around each button (td stands for table data cell) - if you are familiar with HTML this is all the same as that.

I found that I made a kind of error in the previous one - I had copy/pasted 3 tables in there instead of putting things all in one single bit outer table, I have attached an updated version (PluginGallery_fixed.zip) that has just one big outside table.

Of course there are also a lot of other possible ways to arrange this, I have attached an alternate version (PluginGallery2.zip) that is more like a single column vertical list. One thing that is nice about this arrangement is it is easier to add items to the end of it since you don't have to worry about any <table> <tr> or <td> stuff in it.


Note that after you edit these file you need to exit and restart MoI to see your changes applied (this is because MoI internally caches these files in memory to speed up subsequent loading, so it once it caches one version of a file it won't see any changes to the file during the same run).

- Michael