Skip to main content

Site Navigation

Your Account

Choose Language

Changes to Step #4

Edit by Bradley Meck

Edit approved by Bradley Meck

Before
After
Unchanged

Step Lines

[* black] Now we need to create our base files for our new plugin. The easiest way to do this it to clone an existing plugin. I recommend starting with /src/plugins/example folder in to a new one called /src/plugins/visualation3d./src/plugins/visualization3d. [br][code]cp -r src/plugins/example src/plugins/visualization3d[/code]
[* black] Inside the new folder, the convention is to name your javascript file that runs in the browser with the same name as your folder. So rename /src/plugins/visualation3d/public/js/example.js/src/plugins/visualization3d/public/js/example.js to visualation3d.jsvisualization3d.js [br][code]mv src/plugins/visualization3d/public/js/example.js src/plugins/visualization3d/public/js/visualation3d.js[/code]
[* black] Now we need to create our base files for our new plugin. The easiest way to do this it to clone an existing plugin. I recommend starting with /src/plugins/example folder in to a new one called /src/plugins/visualation3d./src/plugins/visualization3d. [br][code]cp -r src/plugins/example src/plugins/visualization3d[/code]
[* black] Inside the new folder, the convention is to name your javascript file that runs in the browser with the same name as your folder. So rename /src/plugins/visualation3d/public/js/example.js/src/plugins/visualization3d/public/js/example.js to visualation3d.jsvisualization3d.js [br][code]mv src/plugins/visualization3d/public/js/example.js src/plugins/visualization3d/public/js/visualation3d.js[/code]