navigate_before Prev Next navigate_next
It is not enough to just supply the graphic files. You need to tell the EMCCV when and where to draw them! Or... even if you wanted all images to be displayed in the top left corner, you would still somehow have to tell the EMCCV which images to import at all! Because the EMCCV directory will be full of images of multiple modules, extensions and modifications... Alright. So you can't get around it.
You also need to tell the EMCCV what items to list in the menu and in what order. We use the config.xml file to do that.
Simply put: XML is a language for storing data. Those who already know html will recognize the syntax (grammar): We use so-called "tags" to describe our data. A tag starts with a pointy opening bracket (or the "less than" symbol), ends with a closing bracket and contains a word or letter in between. Html has tags such as <b>, but with XML it is possible to define your own tags, and that's what we did for the EMCCV.
I recommend the following tutorial (you only need to read it up to the page about "Attributes"), which is what I used to learn XML: http://www.w3schools.com/xml/default.asp
We use the attribute id to uniquely identify ...everything! (Well, except files, but we get to that later.) An id consists of letters and numbers of your choosing.
EMCCV Community members will have an id. That's the username. Modules, extensions and modifications have an id. No two modules can have the same id. No two extensions can have the same id, etc. And no two elements of any kind can have the same id within a config file!
Now that you are familiar with the principles of XML, let's take a look at the tags you'll be using for the EMCCV!