Hey man I just saw your theme and was curious if you would be willing to help a noob out. I am trying to create a theme for my 9530 and can't seem to do if I change the svg for the ring. Someone on PimpMyBerry told me to modify the SVG txt and it would solve my problems, but it has not helped anything. I was told this...
Look for the following string in the ring.svg
<loadScene xlink:href="x-exec://net_rim_bb_messaging_ app.Messages" begin="Button0.activa te"/>
This is for button 0. This part - "x-exec://net_rim_bb_messaging_ app.Messages" is the code that tells the blackberry which application to launch when the button is activated.
Change it to "x-exec://slot0" to make the button launch the first app in the application order. slot1 for the second, slot2 for the third etc.
This section -
<image id="Button_normal_png 0"
x="-40" y="-40" width="80" height="80"
xlink:href="Images/messages.png"
/>
<g id="Button_focus_png_ g_0">
<image id="Button_focus_png0 "
x="-40" y="-40" width="80" height="80"
xlink:href="Images/messages_focus.png" visibility="hidden"
/>
tells which images to use for button0. replace "Images/messages.png" with the path to your icon you would like to use for the normal state, and "Images/messages_focus.png" with the path to the icon you want to use for the focus state.
If you use my example above to make it user customizable, place the default application icon you will define in theme builder in the Images folder in your theme. Name it whatever you would like, and change the referenced name and path above to the new one for the default. Do the same for the default focus icon.
If you would like to use predefined app buttons instead of user defined, fire up composer and place the buttons you want to use on a blank project and export it to an svg. This file will tell you the internal application name for each one and you simply replace the first string example with the correct application name, and replace the second string example with the path to the correct icons.
and
For the ring, it's much easier to edit the .svg than to try to recreate it in composer. You can edit the .svg file in a text editor, such as notepad.
Of course, always make a copy of the sample svg you're using and edit your copy, so you don't lose the original.
WARNING: The ring is NOT the easiest way to start editing svg. It's probably the most complicated of the examples provided in Plazmic.
That said, I will expand on gbhil's explanation...
Editing the .svg in the manner gbhil described will change the theme to use the applications depending on your device application order; however, understand that the icons will be based on the images you select and not the application icons in your theme.
I have used this method for these themes:
Custom Theme Coffee Mug Ring & Coffee Cup Ring (2 versions) - Bold 9000 - PimpMyBerry!
Custom Theme Bath Ring Girly - 9000 - PimpMyBerry!
Custom Theme Bath Ring Unisex - 9000 - PimpMyBerry!
This works great because I have specified a specific image for slot0, slot1, slot2, etc. For example, if I assign the image of a paperclip to be the first application (slot0), no matter what order I place my applications, the paperclip will always correspond to the first application. (It could be messages, calendar, camera, etc. or even a 3rd party application.
BUT if you would like to use the application's specific icons (message icon for messages, calendar icon for calendar, etc.), you must hard-code the applications in the .svg, instead of using the device application order and assign copy those images to your \images folder and assign them accordingly. A weather application would NOT work well in a ring theme, because the icon is constantly updated by the application - but you have already defined a fixed icon in the svg.
You can connect the applications to the slots, but don't assign the icons (button image id) to the slots because they will not resize as they move around the ring.
Unfortunately each time I try to edit and save then load in theme builder, theme builder shuts down saying unknown errors.
Any thing you can suggest?
