Jump to content

Email plugin


Guest Wizard

Recommended Posts

I have successfully created a custom home page in XML, but I've a question I can't find an answer to. I have the email plugin and although it works fine I want to change the format a little, so I added tags like this:

Email SMS MMS

What I'm finding is that the spaces are being stripped so I end up with:

0Email0SMS0MMS

rather than

0 Email 0 SMS 0 MMS

I tried using ASCII 255, no joy. I also tried using the XML numeric entity equivalent xxx (I forget the character code) and no joy there either.

Spaces seem to be treated fine by text tags in other plugins, so what's the deal here?

Wizard

Link to comment
Share on other sites

Guest alexknight

this is the layout they use as standard for the msgcount plugin - i have edited this before and it seems to work

<plugin clsid="{FC0658FA-388E-45d3-9C23-957496F4775B}" name="msgcount" height="20">


  <background>


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


  </background>


  <label>


 	 <text lang="0x0409">SMS (<unreadSMS/>), MMS(<unreadMMS/>)</text>


 	 <text lang="0x0809">SMS (<unreadSMS/>), MMS(<unreadMMS/>)</text>


 	 <text lang="0x040c">SMS (<unreadSMS/>), MMS(<unreadMMS/>)</text>


 	 <text lang="0x0407">SMS (<unreadSMS/>), MMS(<unreadMMS/>)</text>


 	 <text lang="0x0410">SMS (<unreadSMS/>), MMS(<unreadMMS/>)</text>


 	 <text lang="0x0816">SMS (<unreadSMS/>), MMS(<unreadMMS/>)</text>


 	 <text lang="0x040a">SMS (<unreadSMS/>), MMS(<unreadMMS/>)</text>


 	 <text lang="0x0804">SMS (<unreadSMS/>), MMS(<unreadMMS/>)</text>


  </label>


	</plugin>

i notice you had no brackets and no comma's - i wonder if the brackets are the bit you need?

Alex

Link to comment
Share on other sites

The brackets are the bit I want to remove, so I hope that's not the case. But I'd forgotten the default setup does actually have spaces in it, so it seems I'm doing something that means the spaces are being ignored. :shock:

Wizard

Link to comment
Share on other sites

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.