Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > Theme Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 10-24-2010, 04:17 PM
CrackBerry Addict
Device(s): HTC Raider
Carrier: Rogers
 
Location: Edmonton, AB
Join Date: Jun 2010
Posts: 839
Likes Received: 3
Thanked 38 Times in 18 Posts
Unhappy Hide Today items

I have read several threads in other places and am trying to utilize code I have found to hide today items in my latest theme. It is being a real pain though. Seems code that works for some, is not working for me. I tried creating a theme, put nothing on it other than a messages today item and created a blank SVG file in Composer. I added the following code to the SVG file:

Code:
<g id="messages">
<set xlink:href="#hs0_line" attributeName="display" to="none" begin="0"/>
<set xlink:href="#hs0" attributeName="display" to="none" begin="0"/>
<set xlink:href="#messages1hotspot" attributeName="display" to="none" begin="0"/>
<set xlink:href="#messages2hotspot" attributeName="display" to="none" begin="0"/>

<set xlink:href="#hs0_line" attributeName="display" to="none" begin="accessKey(z)"/>
<set xlink:href="#hs0" attributeName="display" to="none" begin="accessKey(z)"/>
<set xlink:href="#messages1hotspot" attributeName="display" to="none" begin="accessKey(z)"/>
<set xlink:href="#messages2hotspot" attributeName="display" to="none" begin="accessKey(z)"/>

<set xlink:href="#hs0_line" attributeName="display" to="inline" begin="accessKey(x)"/>
<set xlink:href="#hs0" attributeName="display" to="inline" begin="accessKey(x)"/>
<set xlink:href="#messages1hotspot" attributeName="display" to="inline" begin="accessKey(x)"/>
<set xlink:href="#messages2hotspot" attributeName="display" to="inline" begin="accessKey(x)"/>
</g>
Every time I try to load the SVG file in Theme Builder, I get:

Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined

One for every line of code. Someone help please! I am using pretty much the same code that others apparently are using without issue. I don't get it.
Reply With Quote Tip this Post
    Thread Author   #2  
Old 10-27-2010, 07:21 PM
CrackBerry Addict
Device(s): HTC Raider
Carrier: Rogers
 
Location: Edmonton, AB
Join Date: Jun 2010
Posts: 839
Likes Received: 3
Thanked 38 Times in 18 Posts
Default

There is no one out there that knows how to do this?
Reply With Quote Tip this Post
  #3  
Old 10-28-2010, 10:06 AM
CrackBerry Master
Device(s): 9700 (Bold)
Carrier: T-Mobile
 
Join Date: Jan 2009
Posts: 1,216
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

You can ignore the duration not defined error message. Try it on the simulator and it should work.
Reply With Quote Tip this Post
    Thread Author   #4  
Old 10-28-2010, 05:41 PM
CrackBerry Addict
Device(s): HTC Raider
Carrier: Rogers
 
Location: Edmonton, AB
Join Date: Jun 2010
Posts: 839
Likes Received: 3
Thanked 38 Times in 18 Posts
Default

Yeah. no, it doesn't Won't load the home screen in the sim with the errors for me.
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > Theme Developers   Hide Today items

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes