 |
 Thread Author
# 1

03-30-2011, 05:12 AM
| | CrackBerry User Device(s): 9800 and 9780 now Carrier: AT&T/Cingular | | Join Date: Nov 2010 Posts: 27 Likes Received: 0
Thanked 0 Times in 0 Posts
| | id name of time for non-touch devices
do anybody know the id name of time for non touch devices (9700,8500 ...) ?? if not, how to manipulate it to hide the time, because i want to use custom font for the time.
i have tested to hide the time/clock using the svg code, but they are not working for 9700. i got invalid id name of " bannerTime-Home" when i load them in simulator.
but when i tested on 9500, it works. the time is hidden with the svg code. i think that below codes are working for 9500 only.
<set xlink:href="#bannerTime-Home" attributeName="display" to="none" begin="0"/>
<set xlink:href="#bannerTime-homescreen__Landscape" attributeName="display" to="none" begin="0"/>
i know i can hide the time using Theme Builder, just uncheck the visibility and then adding this code in svg to create it again
x-object:/CurrentDateTime?clocktype=time
but this is not what i meant, because if we know the id name of somes objects, they can let us easily modify it, just like the Today with id name hs#
Thank you
| 
03-30-2011, 07:20 AM
| | | CrackBerry Genius Device(s): iPhone 4s Carrier: Verizon | | Join Date: Nov 2009 Posts: 2,310 Likes Received: 88
Thanked 169 Times in 112 Posts
| |
if memory serves... the clock has no id for the 9700. so if you want to manipulate it, you have to hide and create your own
|
 Thread Author
# 3

03-30-2011, 11:33 AM
| | CrackBerry User Device(s): 9800 and 9780 now Carrier: AT&T/Cingular | | Join Date: Nov 2010 Posts: 27 Likes Received: 0
Thanked 0 Times in 0 Posts
| |
hi staticfx, thank you very much for your respond!
so how do we hide it if we dont know its id name? using theme builder?
i know i can hide the clock using Theme Builder, just uncheck the visibility and then adding this code in svg to create it again
x-object:/CurrentDateTime?clocktype=time
but we cant use custom font right?
any idea?
Thank you |
 Thread Author
# 4

03-30-2011, 11:36 AM
| | CrackBerry User Device(s): 9800 and 9780 now Carrier: AT&T/Cingular | | Join Date: Nov 2010 Posts: 27 Likes Received: 0
Thanked 0 Times in 0 Posts
| |
hi staticfx, thank you very much for your respond!
so how do we hide it if we dont know its id name? using theme builder?
i know i can hide the clock using Theme Builder, just uncheck the visibility and then adding this code in svg to create it again
x-object:/CurrentDateTime?clocktype=time
but we cant use custom font right?
any idea?
Thank you | 
03-30-2011, 08:26 PM
| | | CrackBerry Genius Device(s): iPhone 4s Carrier: Verizon | | Join Date: Nov 2009 Posts: 2,310 Likes Received: 88
Thanked 169 Times in 112 Posts
| |
you can but its difficult and not worth it in my opinion....
| 
03-31-2011, 12:07 PM
| | | CrackBerry Abuser Device(s): Every Blackberry! Carrier: World Wide | | Location: Waterloo, Ontario, Canada Join Date: Oct 2008 Posts: 129 Likes Received: 2
Thanked 1 Time in 1 Post
| |
I'm trying to achieve this as well with no luck.
StaticFX, would you care to explain your method to removing the **** via SVG code?
would really appreciate it!
| 
04-07-2011, 11:58 AM
| | | CrackBerry Genius Device(s): 8310(Curve)/9530(Storm)/Iphone 4S 16gb Carrier: Verizon | | Location: AL Join Date: Feb 2009 Posts: 1,698 Likes Received: 1
Thanked 61 Times in 32 Posts
| |
Here is an example of the clock svg using custom fonts.
<text id="banner_Time1" x="140" y="-115" font-family="theme_BuufDeuce_9700_OS6-10" font-size="30" fill="#ffffff" text-anchor="middle"/>
<image id="banner_Time2" x="140" y="-115" width="250" height="30"
xlink:href="x-object:/CurrentDateTime?clocktype=time&width=250&h eight=35&font-family=theme_BuufDeuce_9700_OS6-10&font-style=plain&font-size=30&fill=ffffff&enclosing=()&targe t=banner_Time1&align=middle"/>
__________________ OS 5.0.0.230->.328 | 
04-07-2011, 03:18 PM
| | | CrackBerry Abuser Device(s): Every Blackberry! Carrier: World Wide | | Location: Waterloo, Ontario, Canada Join Date: Oct 2008 Posts: 129 Likes Received: 2
Thanked 1 Time in 1 Post
| |
In order to use a custom font for your SVG clock you must first,
select your custom font in the Time field of Theme Builder, take note of the px size,
then uncheck the visibility of the clock in TB,
add your svg file to your home screen and export the theme with the proper name you referenced in your svg.
Note that you must name your font in the .svg code the same as your theme name. for example, if your theme name is "stylish" then your code within the svg that references the time font must be "Theme_stylish-0".
there is another thread on the forum that details how to create the Large Flip Clock, http://forums.crackberry.com/f115/tu...-clock-550702/
Read that and you'll have a better understanding of what i mean. I also had to play with the number at the end of the font name to get the proper font to show up, it seems that you can use more than one custom font if you know the order TB stores them in.
I could not find away to remove the TB clock via SVG code, I don't think it's possible.
Last edited by motekmobile; 04-07-2011 at 03:22 PM.
| 
04-08-2011, 09:14 AM
| | | CrackBerry Genius Device(s): 8310(Curve)/9530(Storm)/Iphone 4S 16gb Carrier: Verizon | | Location: AL Join Date: Feb 2009 Posts: 1,698 Likes Received: 1
Thanked 61 Times in 32 Posts
| | Quote:
Originally Posted by motekmobile In order to use a custom font for your SVG clock you must first,
select your custom font in the Time field of Theme Builder, take note of the px size,
then uncheck the visibility of the clock in TB,
add your svg file to your home screen and export the theme with the proper name you referenced in your svg.
Note that you must name your font in the .svg code the same as your theme name. for example, if your theme name is "stylish" then your code within the svg that references the time font must be "Theme_stylish-0".
there is another thread on the forum that details how to create the Large Flip Clock, http://forums.crackberry.com/f115/tu...-clock-550702/
Read that and you'll have a better understanding of what i mean. I also had to play with the number at the end of the font name to get the proper font to show up, it seems that you can use more than one custom font if you know the order TB stores them in.
I could not find away to remove the TB clock via SVG code, I don't think it's possible. | Yes it is possible to remove the TB clock via svg, all you have to do is remove the clock code and the clock is gone.
Yes you can use all the custom fonts you want in your svg as long as you place theme in TB first then extract the theme to get the correct name of your font like in my example above. I have also found out that you can use custom fonts from other themes in another theme as long as you supply the resources for the theme to use you can basically accomplish anything you want.
__________________ OS 5.0.0.230->.328 | 
04-08-2011, 10:51 AM
| | | CrackBerry Abuser Device(s): Every Blackberry! Carrier: World Wide | | Location: Waterloo, Ontario, Canada Join Date: Oct 2008 Posts: 129 Likes Received: 2
Thanked 1 Time in 1 Post
| | Quote:
Originally Posted by guzzl3r Yes it is possible to remove the TB clock via svg, all you have to do is remove the clock code and the clock is gone.
Yes you can use all the custom fonts you want in your svg as long as you place theme in TB first then extract the theme to get the correct name of your font like in my example above. I have also found out that you can use custom fonts from other themes in another theme as long as you supply the resources for the theme to use you can basically accomplish anything you want. | Not sure i understand, Where would that clock code be in the svg and what does it look like? If you're creating a custom svg then the only clock code you would have is your own custom clock, There would be no TB code to "remove"... Pretty certain you must know the ID name of the TB clock to remove it.
Personally, i would just uncheck the TB clock and add my own. i don't see any issues with this method and the results are the same anyway.
| 
04-09-2011, 10:35 AM
| | | CrackBerry User Device(s): 8100 (Pearl) Carrier: T-Mobile | | Join Date: Aug 2009 Posts: 60 Likes Received: 0
Thanked 1 Time in 1 Post
| | Quote:
Originally Posted by guzzl3r Here is an example of the clock svg using custom fonts.
<text id="banner_Time1" x="140" y="-115" font-family="theme_BuufDeuce_9700_OS6-10" font-size="30" fill="#ffffff" text-anchor="middle"/>
<image id="banner_Time2" x="140" y="-115" width="250" height="30"
xlink:href="x-object:/CurrentDateTime?clocktype=time&width=250&h eight=35&font-family=theme_BuufDeuce_9700_OS6-10&font-style=plain&font-size=30&fill=ffffff&enclosing=()&targe t=banner_Time1&align=middle"/> | Just a quick question Guzzl3er: am I suppose to add the "amp" after the "&" ? My blackberry usually adds a "amp" after a "&" anywaysin some emails and websites, and I wasn't sure if its suppose to be there or not. Hope I didn't confuse anyone
Posted from my CrackBerry at wapforums.crackberry.com
| 
04-13-2011, 08:52 AM
| | | CrackBerry Genius Device(s): 8310(Curve)/9530(Storm)/Iphone 4S 16gb Carrier: Verizon | | Location: AL Join Date: Feb 2009 Posts: 1,698 Likes Received: 1
Thanked 61 Times in 32 Posts
| | Quote:
Originally Posted by pearlthemes Just a quick question Guzzl3er: am I suppose to add the "amp" after the "&" ? My blackberry usually adds a "amp" after a "&" anywaysin some emails and websites, and I wasn't sure if its suppose to be there or not. Hope I didn't confuse anyone
Posted from my CrackBerry at wapforums.crackberry.com | Yes, I would leave it there because I've been told it has something to do with the svg being embedded in an XHML document.
__________________ OS 5.0.0.230->.328 | 
04-13-2011, 09:13 AM
| | | CrackBerry Genius Device(s): 8310(Curve)/9530(Storm)/Iphone 4S 16gb Carrier: Verizon | | Location: AL Join Date: Feb 2009 Posts: 1,698 Likes Received: 1
Thanked 61 Times in 32 Posts
| | Quote:
Originally Posted by motekmobile Not sure i understand, Where would that clock code be in the svg and what does it look like? If you're creating a custom svg then the only clock code you would have is your own custom clock, There would be no TB code to "remove"... Pretty certain you must know the ID name of the TB clock to remove it.
Personally, i would just uncheck the TB clock and add my own. i don't see any issues with this method and the results are the same anyway. | That's the point I leave the clock checked in theme builder so I can manipulate it the way I want to via the svg. That way I can see what custom font name I have to use also. If you uncheck it in theme builder you will limit yourself to using theme builder fonts this way you've already assigned a custom font to your clock in TB.
You don't have to know the ID of the clock with the non touch devices you just have to know the part of code that controls it. Which should look something like this Quote:
<image
id="banner_Time"
x="140"
y="-115"
width="250"
height="30"
xlink:href="x-object:/CurrentDateTime?clocktype=time& amp;width=250&h eight=35&font-family=theme_BuufDeuce_9700_OS6-10&font-style=plain&font-size=30&fill=ffffff&align=left&altFont =BBMillbank&ampmSize=25"/>
| You can leave it checked or unchecked it's up to you I just wanted to share an easier way of using your own fonts for custom clocks. Hope it helps a few people out.
__________________ OS 5.0.0.230->.328 |  | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | | |