Jump to content

Recommended Posts

Guest DeFacto
Posted

After finding out how similar xml is to HTML I had a crack at tweaking my homescreen. I've been playing around with various plugins, adding and moving them like crazy.

I was wondering if there was an yway to have more than one pluging on a line? I read somewhere that xml is only read from topto bottom but it would be great if it was possible.

Guest nickcornaglia
Posted

It is possible to do with an Orange e200 I believe using the Orange Plugin. This plugin is not available on other phones.

Guest nickcornaglia
Posted

If I knew how, I would.

Your best bet is to open the e200's Orange XML and look at the code there.

DrBlow may be able to offer insight as he uses the plugin in his homescreens....but I'm not volunteering his services. Send him a PM. He knows alot more about this than I.

Guest crafty
Posted

You need to do this [when i say Plugin77 i mean clsid="{A2536C57-6AC2-4c31-9542-B144B0E9D077}" aka the Orange plugin]:

<plugin77 total width & height the two plugins will fit onto>

    <shortcut - define width & height of the first (left) plugin>

         <plugin - the 1st one, define width this should be and height>

         </plugin>

    </shortcut>

    <shortcut - define width & height of the second (right) plugin>

         <plugin - the 2nd one, again width and height this should use>

         </plugin>

    </shortcut>

</plugin77>[/code]

The two defined widths should sum to 176 or i think that they can be less.

Hope that this helps you!

Guest bolasz
Posted

@crafty:

Unfortunately it's not working this way. Tha first shortcut on the left was the profiles, the second on the right was the alarm. What I've got was a selectable row without any text and when I pressed action I landed in messages(!).

Guest crafty
Posted

@bolasz

post your xml and i'll take a look. That method worked for me, i'm in the middle of designing a pretty complicated homescreen that uses multiple plugins in the same rows.

Guest drblow
Posted

@ bolasz -

you can only do 2 or more plugins per row using the e200 Orange plugin. I don't see you using that plugin anywhere in your xml!! Am I mad?? :D

Guest crafty
Posted

hmmmmmmmm - i've had a look and i'm not really sure what you're tryin to do! Also I think the way that the Orange plugin works is first it specifies a set of icons (and gives them a group id) and then you can subsequently specify rows that follow on depending upon which icon at the top is specified. I'm not really sure if you can just use the orange plugin to wrap up two different plugins in the middle of your homescreen without using the icons at the top.

A potential fix would be to specify a one icon wide plugin at the top (i guess you could make the height of it =1 or something and set the icon to "-2" [= no icon] so it doesn't show up) and then use the plugin to wrap the two plugins that you want to appear on the same line.

I hope you understood all that! Think that we are still trying to unravel the mysteries of the Orange Uber Plugin! Have a look at my MG2 homescreen here for an example of using two plugins per line i.e. i put the analogue clock plugin on the right of the first column of each row to make it seem like it was staying in the same place.

Guest bolasz
Posted

I understood, at least I think so! :D

I'll give it a go, and we'll see what happens...

I'll post the result, maybe we can learn a bit from it.

Guest bolasz
Posted

So... I've made a few steps forward: the plugins are on the same line, both selectable, but for some reason it doesn't want to show the time of the alarm although it's set. Could be somebody please so kind and take a look on my xml?

Thanks in advance!

Bolasz.home.zip

Guest bolasz
Posted

Finally I've got what I wanted. :D

Here's the code for everyone who'd like to do something similar:

<?xml version="1.0"?>


<home>


	<author>Bolasz</author>


	<contacturl>[email protected]</contacturl>


	<title>Bolasz</title>


	<version>1.0</version>




	<default font-face="Comic Sans MS" font-size="18" valign="center" padding-left="4" padding-right="4" b-border-width="0" border="0" bgcolor="transparent" fgcolor="COLOR_HOMETEXT">


  <format state="selected" valign="center" fgcolor="COLOR_HOMEHIGHLIGHTTEXT" bgcolor="transparent"/>


  <background bgcolor="transparent"/>


	</default>




	<background bgimage="BolaszWindowsMobile.jpg" valign="bottom" halign="center"/>




	<scheme>


  <color name="COLOR_WINDOW" value="#FFFFFF"/>


    <color name="COLOR_WINDOWTEXT" value="#000000" /> 


  <color name="COLOR_STATIC" value="#FFFFFF"/>


  <color name="COLOR_STATICTEXT" value="#000000"/>


  <color name="COLOR_GRAYTEXT" value="#808080"/>


  <color name="COLOR_WINDOWFRAME" value="#000000"/>


  <color name="COLOR_HIGHLIGHT" value="#003B8F"/>


  <color name="COLOR_HIGHLIGHTTEXT" value="#FFFFFF"/>


  <color name="COLOR_MENU" value="#C4E7FF"/>


  <color name="COLOR_MENUTEXT" value="#000000"/>


  <color name="COLOR_GRADLEFT" value="#FFFFFF"/>


  <color name="COLOR_GRADRIGHT" value="#C5E3F5"/>


  <color name="COLOR_INTGRADLEFT" value="#FFFFFF"/>


  <color name="COLOR_INTGRADRIGHT" value="#A1D6F5"/>


  <color name="COLOR_HIGHGRADLEFT" value="#004196"/>


  <color name="COLOR_HIGHGRADRIGHT" value="#004196"/>


  <color name="COLOR_TRAYGRADLEFT" value="#5382CE"/>


  <color name="COLOR_TRAYGRADRIGHT" value="#69C4EF"/>


  <color name="COLOR_TRAYTEXT" value="#000000"/>


  <color name="COLOR_BTNFACE" value="#8ED4F7"/>


  <color name="COLOR_BTNTEXT" value="#000000"/>


  <color name="COLOR_SCROLLBAR" value="#2E97E3"/>


  <color name="COLOR_alertWINDOW" value="#C4E7FF"/>


  <color name="COLOR_alertTITLE" value="#004196"/>


  <color name="COLOR_alertRULE" value="#000000"/>


  <color name="COLOR_HOMERULE" value="#003B8F"/>


  <color name="COLOR_HOMETEXT" value="#000000"/>


  <color name="COLOR_HOMEHIGHLIGHTTEXT" value="#FFFFFF"/>


  <color name="COLOR_HOMEHIGHLIGHT" value="#003B8F"/>


	</scheme>




	<!-- iconbar -->


	<plugin clsid="{837FC251-FE69-43ad-84E0-EBCEDEBA0884}" name="iconbar" height="10">


  <iconbar fgcolor="COLOR_STATICTEXT"/>


  <background bgcolor="transparent"/>


	</plugin>




	<!-- carrier -->


	<plugin clsid="{E09043DF-510E-4841-B652-388316977A7A}" height="30">


  <label>


 	 <text font-size="22" font-weight="bold" halign="left">


    <carrier/>


 	 </text>


  </label>


  <clock>


 	 <time font-size="22" font-weight="bold" halign="right" mode="24" />


  </clock>


	</plugin>




	<plugin clsid="{A2536C57-6AC2-4c31-9542-B144B0E9D077}" height="20" width="100%" handlekeys="CHILD">


  <format padding-left="0" padding-right="0" />


  <format state="selected" padding-left="0" padding-right="0" bgcolor="transparent"/>


  <background b-border-width="0" bgcolor="transparent" />




  <shortcut width="100%" height="20">


 	 <plugin clsid="{A2536C57-6AC2-4c31-9542-B144B0E9D077}" height="20" width="100%" handlekeys="FOCUS">


 	 <format state="selected" padding-left="0" padding-right="0" bgcolor="transparent" />


 	 <format padding-left="0" padding-right="0" />


 	 <background b-border-width="0" bgcolor="transparent"/>




    <!-- profile -->


    <shortcut width="82">


   	 <plugin clsid="{95976968-45D5-40c9-9779-2B859B1C2FEC}" height="20">


      <label>


     	 <text><profile /></text>


      </label>


   	 </plugin>


    </shortcut>




    <!-- alarm -->


    <shortcut width="81">


   	 <plugin clsid="{A2536C59-6AC2-4C31-9542-B144B0E9D077}" height="20">


      <format state="selected" padding-left="0" padding-right="0" bgcolor="transparent" />


      <format padding-left="0" padding-right="0" />


      <background b-border-width="0" bgcolor="transparent"/>


      <label>


     	 <text><status off="Off" /></text>


      </label>


   	 </plugin>


    </shortcut>


 	 </plugin>


  </shortcut>


	</plugin>




	<!-- missed calls -->


	<plugin clsid="{0BA8ABB8-1F1D-417f-88C6-DA8530E2E7A6}" autohide="1" height="20">


  <label>


 	 <text halign="left">


    Missed calls (<calls/>)


 	 </text>


  </label>


	</plugin>




	<!-- messaging -->


	<plugin clsid="{A2536C54-6AC2-4c31-9542-B144B0E9D077}" autohide="1" height="20">


  <format state="selected" fgcolor="COLOR_HOMEHIGHLIGHTTEXT" bgcolor="transparent"/>


  <label>


 	 <text>


    <sms/><email/><mms/>


 	 </text>


  </label>


	</plugin>




	<!-- calendar -->


	<plugin clsid="{A2536C55-6AC2-4c31-9542-B144B0E9D077}" autohide="1" autoheight="1" height="20">


  <format state="selected" bgcolor="transparent"/>


  <label>


 	 <text>


    <time/><endtime/> <subject/><location/>


 	 </text>


  </label>


	</plugin>




	<!-- RJTasks -->


	<plugin clsid="{EE1DEFE4-6301-4510-9DE4-DF7333F4D4FB}" autohide="1" height="20">


  <action target="StorageWindowsStart MenuTasks+.lnk"/>


  <label>


 	 <text>Tasks: Pending (<pendingTasks/>) Past (<overdueTasks/>)</text>


  </label>


	</plugin>




	<!-- all day -->


	<plugin clsid="{A2536C55-6AC2-4C31-9542-B144B0E9D077}" autohide="1" autoheight="1" height="20">


  <label>


 	 <text>All day: <event/></text>


  </label>


	</plugin>


</home>

But .tThere is an issue I just can't figure out. I don't want the plugins to have a background (I want them transparent) even when they are selected, I just want to change the font color. For some reason all builtin plugins work like that, only the orange plugins (alarm, messaging & calendar) not, they display a colored background for the length of the text. Any idea why are they ignoring the bgcolor="transparent"?

Guest drblow
Posted

Aha! Have you apoplied the e200 update? There was actually a bug in the original version which meant the bgtext value was ignored. If you apply the update, you will be able to add bgtext="transparent" to your code.

Guest bolasz
Posted

Yes, I've applied the update and tried what you suggested, I've put bgtext="transparent" in every tag but it's still displaying the background. :D

<plugin clsid="{A2536C57-6AC2-4c31-9542-B144B0E9D077}" height="20" width="100%" handlekeys="CHILD">


  <format padding-left="0" padding-right="0" />


  <format state="selected" padding-left="0" padding-right="0" bgcolor="transparent"/>


  <background b-border-width="0" bgcolor="transparent" bgtext="transparent" />




  <shortcut width="100%" height="20">


 	 <plugin clsid="{A2536C57-6AC2-4c31-9542-B144B0E9D077}" height="20" width="100%" handlekeys="FOCUS">


 	 <format state="selected" padding-left="0" padding-right="0" bgcolor="transparent" />


 	 <format padding-left="0" padding-right="0" />


 	 <background b-border-width="0" bgcolor="transparent" bgtext="transparent" />




    <!-- profile -->


    <shortcut width="82">


   	 <plugin clsid="{95976968-45D5-40c9-9779-2B859B1C2FEC}" height="20">


      <label>


     	 <text><profile /></text>


      </label>


   	 </plugin>


    </shortcut>




    <!-- alarm -->


    <shortcut width="81">


   	 <plugin clsid="{A2536C59-6AC2-4C31-9542-B144B0E9D077}" height="20">


      <format state="selected" padding-left="0" padding-right="0" bgcolor="transparent" />


      <format padding-left="0" padding-right="0" />


      <background b-border-width="0" bgcolor="transparent" bgtext="transparent" />


      <label>


     	 <text><status off="Off" /></text>


      </label>


   	 </plugin>


    </shortcut>


 	 </plugin>


  </shortcut>


	</plugin>

ss003.jpg

ss002.jpg

ss001.jpg

ss000.jpg

Guest bolasz
Posted

Silly me! It has to go in the tag! :D

Good man, thanks for the tip mate!

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.