1. AngryPIG's Avatar
    @Lopeard in the magnet demo where you can move the magnet,
    is there a way for when you respring the magnet stays where you left it?
    Last edited by AngryPIG; 2011-07-06 at 04:44 AM.
    cydia.myrepospace.com/Real-AngryPIG/
    2011-07-06 02:59 AM
  2. scarflaire's Avatar
    Code:
    <dict>
    	<key>Actions</key>
    	<array>
    		<string>get.vars.cydiavar = 0 ? insertview CydiaSubMenu above Wallpaper, var.cydiavar = 1 : removeview CydiaSubMenu, var.cydiavar = 0</string>
    		<string>removeview SocialSubMenu</string>
    		<string>removeview AllAppsSubMenu</string>
    		<string>removeview GamesSubMenu</string>
    		<string>removeview MediaSubMenu</string>
    	</array>
    	<key>Frame</key>
    	<string>0,70,42,60</string>
    	<key>Image</key>
    	<string>$ROOT/Images/CydiaButton.png</string>
    	<key>ViewType</key>
    	<string>Button</string>
    </dict>
    @PhanaticD or Anyone else

    I tried the code you gave me. (<string>get.vars.cydiavar = 0 ? insertview CydiaSubMenu above Wallpaper, var.cydiavar = 1 : removeview CydiaSubMenu, var.cydiavar = 0</string>) But it seems that when i click the button, i get this popup saying; Runtime Error - Variable not Found for getter: get.var.cydiavar

    Should i get rid of the other removeviews? or is it written in the wrong format...i am trying other possibilities at the moment
    For starters the bolded text should read "vars"
    2011-07-06 03:09 AM
  3. iGamers's Avatar
    i cant figure out that scrollview
    Attached Thumbnails Creating Themes With Dreamboard-img_0016.png  
    Last edited by iGamers; 2011-07-06 at 04:00 AM.
    2011-07-06 03:51 AM
  4. metalliccornflakes's Avatar
    Code:
    		<key>Edit</key>
    			<array>
    				<dict>
    					<key>if</key>
    						<array>
    							<string>get.vars.editing = 0</string>
    						</array>
    					<key>then</key>
    						<array>
    							<string>startediting</string>
    							<string>vars.editing = 1</string>
    							<string>views.Editing.image = /Images/StopEdit.png</string>
    							<string>hide EditPressed</string>
    							<string>hide EditMenu</string>
    							<string>sety EditMenu -189</string>
    							<string>hide Close</string>
    							<string>sety DreamBoard -189</string>
    							<string>sety Clock -189</string>
    							<string>sety WinterBoard -189</string>
    							<string>sety Editing -189</string>
    							<string>sety iPod -189</string>
    							<string>show Edit</string>
    						</array>
    					<key>else</key>
    						<array>
    							<string>stopediting</string>
    							<string>vars.editing = 0</string>
    							<string>views.Editing.image = /Images/EditApp.png</string>
    						</array>
    				</dict>
    			</array>
    now in addition to that scrolling problem my editing button puts my device in safe mode, it works fine without the strings that change the image, but idk why those strings cause safe mode, ive also tried

    Code:
    <string>get.vars.editing = 1 ? views.Editing.image = /Images/StopEdit.png : views.Editing.image = /Images/EditApp.png</string>
    Is the Editing view a button or an image view? because for some reason if you try to change the image of a button it will put you into safe mode. If that's a button then you would need to create an imageview underneath the button and have the image of the button be nothing. Then you could change the image of the image view underneath without a problem
    2011-07-06 03:59 AM
  5. iGamers's Avatar
    well that solves a lot lol, thank you, you solved one of the biggest problems i have, now i just need to figure out how to actually save the changes i make in editing mode

    --- Edit ---

    figured out how to save it lol, just need to fix the scrollview and maybe a lockscreen idk yet
    Last edited by iGamers; 2011-07-06 at 06:36 AM.
    2011-07-06 04:10 AM
  6. sahandii's Avatar
    Is there a way to change the font size of an AppIcon's badge?
    2011-07-06 06:22 AM
  7. metalliccornflakes's Avatar
    well that solves a lot lol, thank you, you solved one of the biggest problems i have, now i just need to figure out how to actually save the changes i make in editing mode

    --- Edit ---

    figured out how to save it lol, just need to fix the scrollview and maybe a lockscreen idk yet
    No problem, I was battling that same problem myself a few weeks ago and took me awhile to figure it out lol
    2011-07-06 07:32 AM
  8. iGamers's Avatar
    is there a way to change the ContentHeight of a ScrollView with dot notation?
    2011-07-06 07:40 AM
  9. kooris's Avatar
    is there a way to change the ContentHeight of a ScrollView with dot notation?
    Nope, exact same thing I was asking a few days ago.

    You have to do a workaround :

    An action on the ScrollView eg. get.vars.scrolllock = 1 ? function scrolllock

    a function called scrolllock

    if get.views.ScrollView.contentOffsetY gt= 960

    then views.ScrollView.contentOffsetY = 960

    Then you need a button that sets the variable "scrolllock to 0 or 1
    2011-07-06 08:57 AM
  10. iGamers's Avatar
    hold on i dont exactly understand, would i give the actual ScrollView an action that gets the scroll lock?
    would the function be that constitutional? exactly like that or would i need to change the 960?
    2011-07-06 10:21 AM
  11. kooris's Avatar
    hold on i dont exactly understand, would i give the actual ScrollView an action that gets the scroll lock?
    would the function be that constitutional? exactly like that or would i need to change the 960?
    Yes, the scrollview itself contain the action, which is the function scrolllock. You can change 960 to whatever you want, its just an example.

    Here's the project I requested that Lopeard made for me:

    locking a page in a scrollview | Lopeard
    2011-07-06 11:34 AM
  12. iGamers's Avatar
    Nope, exact same thing I was asking a few days ago.

    You have to do a workaround :

    An action on the ScrollView eg. get.vars.scrolllock = 1 ? function scrolllock

    a function called scrolllock

    if get.views.ScrollView.contentOffsetY gt= 960

    then views.ScrollView.contentOffsetY = 960

    Then you need a button that sets the variable "scrolllock to 0 or 1
    i tried that and i guess i messed up somewhere along the way, i guess when scrolllock is set to 0 then it locks scrolling, but if its set to 0 and i try to scroll it puts my device into safe mode

    Code:
    <key>setWall</key>
    	<array>
    		<string>get.vars.wall = 1 ? views.Wallpaper.image = /Images/Wallpaper/Plants1.png : nothing</string>
    		<string>get.vars.wall = 2 ? views.Wallpaper.image = /Images/Wallpaper/Plants2.png : nothing</string>
    		<string>get.vars.wall = 3 ? Views.Wallpaper.image = /Images/Wallpaper/Nature1.png : nothing</string>
    		<string>get.vars.wall = 4 ? views.Wallpaper.image = /Images/Wallpaper/Nature2.png : nothing</string>
    		<string>get.vars.wall = 5 ? views.Wallpaper.image = /Images/Wallpaper/Nature3.png : nothing</string>
    		<string>get.vars.wall = 6 ? views.Wallpaper.image = /Images/Wallpaper/Abstract1.png : nothing</string>
    		<string>get.vars.wall = 7 ? views.Wallpaper.image = /Images/Wallpaper/Abstract2.png : nothing</string>
    		<string>get.vars.wall = 8 ? views.Wallpaper.image = /Images/Wallpaper/Abstract3.png : nothing</string>
    		<string>get.vars.wall = 9 ? views.Wallpaper.image = /Images/Wallpaper/Abstract4.png : nothing</string>
    		<string>get.vars.wall = 10 ? views.Wallpaper.image = /Images/Wallpaper/Abstract5.png : nothing</string>
    		<string>get.vars.wall = 11 ? views.Wallpaper.image = /Images/Wallpaper/Abstract6.png : nothing</string>
    		<string>get.vars.wall = 12 ? views.Wallpaper.image = /Images/Wallpaper/Abstract7.png : nothing</string>
    		<string>get.vars.wall = 13 ? views.Wallpaper.image = /Images/Wallpaper/Abstract8.png : nothing</string>
    		<string>get.vars.wall = 14 ? views.Wallpaper.image = /Images/Wallpaper/Abstract9.png : nothing</string>
    		<string>get.vars.wall = 15 ? views.Wallpaper.image = /Images/Wallpaper/Girl1.png : nothing</string>
    		<string>get.vars.wall = 16 ? views.Wallpaper.image = /Images/Wallpaper/Girl2.png : nothing</string>
    		<string>savevar</string>
    	</array>
    also, for some reason this keeps putting me in safe mode too, idk why?
    Figured that out lol, i forgot the else string at the end haha, but wow, its not changing the wallpaper, the variable is changing when i choose the wall paper, so the buttons are working, its just the function that sets them as the image, idk whats wrong with it, the code looks good but its not working, idk whats wrong with it, it doesnt change the image at all


    it seems like every time i post my problem, i solve it almost right after, lol, haha wow
    Last edited by iGamers; 2011-07-06 at 01:50 PM. Reason: updated code
    2011-07-06 11:39 AM
  13. FrightDealer's Avatar
    Code:
    <dict>
    	<key>Actions</key>
    	<array>
    		<string>get.vars.cydiavar = 0 ? insertview CydiaSubMenu above Wallpaper, var.cydiavar = 1 : removeview CydiaSubMenu, var.cydiavar = 0</string>
    		<string>removeview SocialSubMenu</string>
    		<string>removeview AllAppsSubMenu</string>
    		<string>removeview GamesSubMenu</string>
    		<string>removeview MediaSubMenu</string>
    	</array>
    	<key>Frame</key>
    	<string>0,70,42,60</string>
    	<key>Image</key>
    	<string>$ROOT/Images/CydiaButton.png</string>
    	<key>ViewType</key>
    	<string>Button</string>
    </dict>


    For starters the bolded text should read "vars"
    OOOOOHHHHHH! Makes sense... Alright let me fix that. Thanks Scarflaire, Appreciate it!

    *edit*

    Alright i tried the changes you told me, but i still get a black screen. IDK if i did something wrong.

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    	<key>DynamicViews</key>
    	<dict>
    		<key>CydiaSubMenu</key>
    		<dict>
    			<key>AllApps</key>
    			<false/>
    			<key>ScrollingEnabled</key>
    			<true/>
    			<key>Apps</key>
    			<array>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    			</array>
    			<key>UserInteraction</key>
    			<true/>
    			<key>ClipToBounds</key>
    			<true/>
    			<key>Cols</key>
    			<integer>2</integer>
    			<key>Rows</key>
    			<integer>8</integer>
    			<key>Frame</key>
    			<string>78,89,130,358</string>
    			<key>GapX</key>
    			<integer>70</integer>
    			<key>GapY</key>
    			<integer>99</integer>
    			<key>IconHeight</key>
    			<integer>60</integer>
    			<key>IconWidth</key>
    			<integer>60</integer>
    			<key>PageHeight</key>
    			<integer>358</integer>
    			<key>PageWidth</key>
    			<integer>130</integer>
    			<key>ViewType</key>
    			<string>AppGrid</string>
    			<key>id</key>
    			<string>CydiaSubMenu</string>
    		</dict>
    		<key>SocialSubMenu</key>
    		<dict>
    			<key>AllApps</key>
    			<false/>
    			<key>ScrollingEnabled</key>
    			<true/>
    			<key>Apps</key>
    			<array>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    			</array>
    			<key>UserInteraction</key>
    			<true/>
    			<key>ClipToBounds</key>
    			<true/>
    			<key>Cols</key>
    			<integer>2</integer>
    			<key>Rows</key>
    			<integer>8</integer>
    			<key>Frame</key>
    			<string>78,89,130,358</string>
    			<key>GapX</key>
    			<integer>70</integer>
    			<key>GapY</key>
    			<integer>99</integer>
    			<key>IconHeight</key>
    			<integer>60</integer>
    			<key>IconWidth</key>
    			<integer>60</integer>
    			<key>PageHeight</key>
    			<integer>358</integer>
    			<key>PageWidth</key>
    			<integer>130</integer>
    			<key>ViewType</key>
    			<string>AppGrid</string>
    			<key>id</key>
    			<string>SocialSubMenu</string>
    		</dict>
    		<key>GamesSubMenu</key>
    		<dict>
    			<key>AllApps</key>
    			<false/>
    			<key>ScrollingEnabled</key>
    			<true/>
    			<key>Apps</key>
    			<array>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    			</array>
    			<key>UserInteraction</key>
    			<true/>
    			<key>ClipToBounds</key>
    			<true/>
    			<key>Cols</key>
    			<integer>2</integer>
    			<key>Rows</key>
    			<integer>8</integer>
    			<key>Frame</key>
    			<string>78,89,130,358</string>
    			<key>GapX</key>
    			<integer>70</integer>
    			<key>GapY</key>
    			<integer>99</integer>
    			<key>IconHeight</key>
    			<integer>60</integer>
    			<key>IconWidth</key>
    			<integer>60</integer>
    			<key>PageHeight</key>
    			<integer>358</integer>
    			<key>PageWidth</key>
    			<integer>130</integer>
    			<key>ViewType</key>
    			<string>AppGrid</string>
    			<key>id</key>
    			<string>GamesSubMenu</string>
    		</dict>
    		<key>AllAppsSubMenu</key>
    		<dict>
    			<key>AllApps</key>
    			<true/>
    			<key>ScrollingEnabled</key>
    			<true/>
    			<key>UserInteraction</key>
    			<true/>
    			<key>ClipToBounds</key>
    			<true/>
    			<key>Cols</key>
    			<integer>2</integer>
    			<key>Rows</key>
    			<integer>30</integer>
    			<key>Frame</key>
    			<string>78,89,130,358</string>
    			<key>GapX</key>
    			<integer>70</integer>
    			<key>GapY</key>
    			<integer>99</integer>
    			<key>IconHeight</key>
    			<integer>60</integer>
    			<key>IconWidth</key>
    			<integer>60</integer>
    			<key>PageHeight</key>
    			<integer>500</integer>
    			<key>PageWidth</key>
    			<integer>130</integer>
    			<key>ViewType</key>
    			<string>AppGrid</string>
    			<key>id</key>
    			<string>AllAppsSubMenu</string>
    		</dict>
    		<key>MediaSubMenu</key>
    		<dict>
    			<key>AllApps</key>
    			<false/>
    			<key>ScrollingEnabled</key>
    			<true/>
    			<key>Apps</key>
    			<array>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    			</array>
    			<key>UserInteraction</key>
    			<true/>
    			<key>ClipToBounds</key>
    			<true/>
    			<key>Cols</key>
    			<integer>2</integer>
    			<key>Rows</key>
    			<integer>8</integer>
    			<key>Frame</key>
    			<string>78,89,130,358</string>
    			<key>GapX</key>
    			<integer>70</integer>
    			<key>GapY</key>
    			<integer>99</integer>
    			<key>IconHeight</key>
    			<integer>60</integer>
    			<key>IconWidth</key>
    			<integer>60</integer>
    			<key>PageHeight</key>
    			<integer>358</integer>
    			<key>PageWidth</key>
    			<integer>130</integer>
    			<key>ViewType</key>
    			<string>AppGrid</string>
    			<key>id</key>
    			<string>MediaSubMenu</string>
    		</dict>
    	</dict>
    	<key>LabelStyle</key>
            <dict>
                    <key>labelFontSize</key>
                    <integer>11</integer>
                    <key>labelHeight</key>
                    <integer>12</integer>
                    <key>labelWidth</key>
                    <integer>55</integer>
                    <key>labelX</key>
                    <integer>5</integer>
                    <key>labelY</key>
                    <integer>70</integer>
            </dict>
    	<key>MainView</key>
    	<array>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>get.vars.cydiavar = 0 ? insertview CydiaSubMenu above Wallpaper, vars.cydiavar = 1 : removeview CydiaSubMenu, vars.cydiavar = 0</string>
    				<string>removeview SocialSubMenu</string>
    				<string>removeview AllAppsSubMenu</string>
    				<string>removeview GamesSubMenu</string>
    				<string>removeview MediaSubMenu</string>
    			</array>
    			<key>Frame</key>
    			<string>0,70,42,60</string>
    			<key>Image</key>
    			<string>$ROOT/Images/CydiaButton.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>insertview SocialSubMenu above Wallpaper</string>
    				<string>removeview CydiaSubMenu</string>
    				<string>removeview AllAppsSubMenu</string>
    				<string>removeview GamesSubMenu</string>
    				<string>removeview MediaSubMenu</string>
    			</array>
    			<key>Frame</key>
    			<string>0,130,42,60</string>
    			<key>Image</key>
    			<string>$ROOT/Images/SocialButton.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>insertview AllAppsSubMenu above Wallpaper</string>
    				<string>insertview AllAppsSubMenuBG below AllAppsSubMenu</string>
    				<string>removeview SocialSubMenu</string>
    				<string>removeview CydiaSubMenu</string>
    				<string>removeview GamesSubMenu</string>
    				<string>removeview MediaSubMenu</string>
    			</array>
    			<key>Frame</key>
    			<string>0,190,50,90</string>
    			<key>Image</key>
    			<string>$ROOT/Images/AllApps.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>insertview MediaSubMenu above Wallpaper</string>
    				<string>removeview SocialSubMenu</string>
    				<string>removeview AllAppsSubMenu</string>
    				<string>removeview GamesSubMenu</string>
    				<string>removeview CydiaSubMenu</string>
    			</array>
    			<key>Frame</key>
    			<string>0,280,42,60</string>
    			<key>Image</key>
    			<string>$ROOT/Images/MediaButton.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>insertview GamesSubMenu above Wallpaper</string>
    				<string>removeview SocialSubMenu</string>
    				<string>removeview AllAppsSubMenu</string>
    				<string>removeview CydiaSubMenu</string>
    				<string>removeview MediaSubMenu</string>
    			</array>
    			<key>Frame</key>
    			<string>0,340,42,60</string>
    			<key>Image</key>
    			<string>$ROOT/Images/GamesButton.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>launch com.apple.mobilesafari</string>
    			</array>
    			<key>Frame</key>
    			<string>70,412,65,65</string>
    			<key>Image</key>
    			<string>$ROOT/Icons/SafariIcon.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    			<string>SafariIcon</string>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>launch com.apple.mobilemail</string>
    			</array>
    			<key>Frame</key>
    			<string>152,420,65,50</string>
    			<key>Image</key>
    			<string>$ROOT/Icons/MailIcon.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    			<string>MailIcon</string>
    		</dict>
    		<dict>
    			<key>Frame</key>
    			<string>0,0,320,480</string>
    			<key>Image</key>
    			<string>$ROOT/Wallpaper.png</string>
    			<key>ViewType</key>
    			<string>ImageView</string>
    			<key>id</key>
    			<string>Wallpaper</string>
    		</dict>
    	</array>
    	<key>Variables</key>
    	<dict>
    		<key>cydiavar</key>
    		<integer>0</integer>
    	</dict>
    </dict>
    </plist>
    I think it is the part where i added <key>Variables</key> at the end. Mayb it doesn't go there? Or i wrote something wrong? Help? Right now i only added the get.vars to the CydiaButton. Nothing else yet, i want to try it out only on that button before i add it to the others...To make sure it works. I highlighted the CydiaButton and Variables section for easier reference...

    TIA
    Last edited by FrightDealer; 2011-07-06 at 04:01 PM.
    2011-07-06 03:56 PM
  14. iGamers's Avatar
    OOOOOHHHHHH! Makes sense... Alright let me fix that. Thanks Scarflaire, Appreciate it!

    *edit*

    Alright i tried the changes you told me, but i still get a black screen. IDK if i did something wrong.

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    	<key>DynamicViews</key>
    	<dict>
    		<key>CydiaSubMenu</key>
    		<dict>
    			<key>AllApps</key>
    			<false/>
    			<key>ScrollingEnabled</key>
    			<true/>
    			<key>Apps</key>
    			<array>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    			</array>
    			<key>UserInteraction</key>
    			<true/>
    			<key>ClipToBounds</key>
    			<true/>
    			<key>Cols</key>
    			<integer>2</integer>
    			<key>Rows</key>
    			<integer>8</integer>
    			<key>Frame</key>
    			<string>78,89,130,358</string>
    			<key>GapX</key>
    			<integer>70</integer>
    			<key>GapY</key>
    			<integer>99</integer>
    			<key>IconHeight</key>
    			<integer>60</integer>
    			<key>IconWidth</key>
    			<integer>60</integer>
    			<key>PageHeight</key>
    			<integer>358</integer>
    			<key>PageWidth</key>
    			<integer>130</integer>
    			<key>ViewType</key>
    			<string>AppGrid</string>
    			<key>id</key>
    			<string>CydiaSubMenu</string>
    		</dict>
    		<key>SocialSubMenu</key>
    		<dict>
    			<key>AllApps</key>
    			<false/>
    			<key>ScrollingEnabled</key>
    			<true/>
    			<key>Apps</key>
    			<array>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    			</array>
    			<key>UserInteraction</key>
    			<true/>
    			<key>ClipToBounds</key>
    			<true/>
    			<key>Cols</key>
    			<integer>2</integer>
    			<key>Rows</key>
    			<integer>8</integer>
    			<key>Frame</key>
    			<string>78,89,130,358</string>
    			<key>GapX</key>
    			<integer>70</integer>
    			<key>GapY</key>
    			<integer>99</integer>
    			<key>IconHeight</key>
    			<integer>60</integer>
    			<key>IconWidth</key>
    			<integer>60</integer>
    			<key>PageHeight</key>
    			<integer>358</integer>
    			<key>PageWidth</key>
    			<integer>130</integer>
    			<key>ViewType</key>
    			<string>AppGrid</string>
    			<key>id</key>
    			<string>SocialSubMenu</string>
    		</dict>
    		<key>GamesSubMenu</key>
    		<dict>
    			<key>AllApps</key>
    			<false/>
    			<key>ScrollingEnabled</key>
    			<true/>
    			<key>Apps</key>
    			<array>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    			</array>
    			<key>UserInteraction</key>
    			<true/>
    			<key>ClipToBounds</key>
    			<true/>
    			<key>Cols</key>
    			<integer>2</integer>
    			<key>Rows</key>
    			<integer>8</integer>
    			<key>Frame</key>
    			<string>78,89,130,358</string>
    			<key>GapX</key>
    			<integer>70</integer>
    			<key>GapY</key>
    			<integer>99</integer>
    			<key>IconHeight</key>
    			<integer>60</integer>
    			<key>IconWidth</key>
    			<integer>60</integer>
    			<key>PageHeight</key>
    			<integer>358</integer>
    			<key>PageWidth</key>
    			<integer>130</integer>
    			<key>ViewType</key>
    			<string>AppGrid</string>
    			<key>id</key>
    			<string>GamesSubMenu</string>
    		</dict>
    		<key>AllAppsSubMenu</key>
    		<dict>
    			<key>AllApps</key>
    			<true/>
    			<key>ScrollingEnabled</key>
    			<true/>
    			<key>UserInteraction</key>
    			<true/>
    			<key>ClipToBounds</key>
    			<true/>
    			<key>Cols</key>
    			<integer>2</integer>
    			<key>Rows</key>
    			<integer>30</integer>
    			<key>Frame</key>
    			<string>78,89,130,358</string>
    			<key>GapX</key>
    			<integer>70</integer>
    			<key>GapY</key>
    			<integer>99</integer>
    			<key>IconHeight</key>
    			<integer>60</integer>
    			<key>IconWidth</key>
    			<integer>60</integer>
    			<key>PageHeight</key>
    			<integer>500</integer>
    			<key>PageWidth</key>
    			<integer>130</integer>
    			<key>ViewType</key>
    			<string>AppGrid</string>
    			<key>id</key>
    			<string>AllAppsSubMenu</string>
    		</dict>
    		<key>MediaSubMenu</key>
    		<dict>
    			<key>AllApps</key>
    			<false/>
    			<key>ScrollingEnabled</key>
    			<true/>
    			<key>Apps</key>
    			<array>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    				<string>NO ICON PLACEHOLDER</string>
    			</array>
    			<key>UserInteraction</key>
    			<true/>
    			<key>ClipToBounds</key>
    			<true/>
    			<key>Cols</key>
    			<integer>2</integer>
    			<key>Rows</key>
    			<integer>8</integer>
    			<key>Frame</key>
    			<string>78,89,130,358</string>
    			<key>GapX</key>
    			<integer>70</integer>
    			<key>GapY</key>
    			<integer>99</integer>
    			<key>IconHeight</key>
    			<integer>60</integer>
    			<key>IconWidth</key>
    			<integer>60</integer>
    			<key>PageHeight</key>
    			<integer>358</integer>
    			<key>PageWidth</key>
    			<integer>130</integer>
    			<key>ViewType</key>
    			<string>AppGrid</string>
    			<key>id</key>
    			<string>MediaSubMenu</string>
    		</dict>
    	</dict>
    	<key>LabelStyle</key>
            <dict>
                    <key>labelFontSize</key>
                    <integer>11</integer>
                    <key>labelHeight</key>
                    <integer>12</integer>
                    <key>labelWidth</key>
                    <integer>55</integer>
                    <key>labelX</key>
                    <integer>5</integer>
                    <key>labelY</key>
                    <integer>70</integer>
            </dict>
    	<key>MainView</key>
    	<array>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>get.vars.cydiavar = 0 ? insertview CydiaSubMenu above Wallpaper, vars.cydiavar = 1 : removeview CydiaSubMenu, vars.cydiavar = 0</string>
    				<string>removeview SocialSubMenu</string>
    				<string>removeview AllAppsSubMenu</string>
    				<string>removeview GamesSubMenu</string>
    				<string>removeview MediaSubMenu</string>
    			</array>
    			<key>Frame</key>
    			<string>0,70,42,60</string>
    			<key>Image</key>
    			<string>$ROOT/Images/CydiaButton.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>insertview SocialSubMenu above Wallpaper</string>
    				<string>removeview CydiaSubMenu</string>
    				<string>removeview AllAppsSubMenu</string>
    				<string>removeview GamesSubMenu</string>
    				<string>removeview MediaSubMenu</string>
    			</array>
    			<key>Frame</key>
    			<string>0,130,42,60</string>
    			<key>Image</key>
    			<string>$ROOT/Images/SocialButton.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>insertview AllAppsSubMenu above Wallpaper</string>
    				<string>insertview AllAppsSubMenuBG below AllAppsSubMenu</string>
    				<string>removeview SocialSubMenu</string>
    				<string>removeview CydiaSubMenu</string>
    				<string>removeview GamesSubMenu</string>
    				<string>removeview MediaSubMenu</string>
    			</array>
    			<key>Frame</key>
    			<string>0,190,50,90</string>
    			<key>Image</key>
    			<string>$ROOT/Images/AllApps.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>insertview MediaSubMenu above Wallpaper</string>
    				<string>removeview SocialSubMenu</string>
    				<string>removeview AllAppsSubMenu</string>
    				<string>removeview GamesSubMenu</string>
    				<string>removeview CydiaSubMenu</string>
    			</array>
    			<key>Frame</key>
    			<string>0,280,42,60</string>
    			<key>Image</key>
    			<string>$ROOT/Images/MediaButton.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>insertview GamesSubMenu above Wallpaper</string>
    				<string>removeview SocialSubMenu</string>
    				<string>removeview AllAppsSubMenu</string>
    				<string>removeview CydiaSubMenu</string>
    				<string>removeview MediaSubMenu</string>
    			</array>
    			<key>Frame</key>
    			<string>0,340,42,60</string>
    			<key>Image</key>
    			<string>$ROOT/Images/GamesButton.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>launch com.apple.mobilesafari</string>
    			</array>
    			<key>Frame</key>
    			<string>70,412,65,65</string>
    			<key>Image</key>
    			<string>$ROOT/Icons/SafariIcon.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    			<string>SafariIcon</string>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>launch com.apple.mobilemail</string>
    			</array>
    			<key>Frame</key>
    			<string>152,420,65,50</string>
    			<key>Image</key>
    			<string>$ROOT/Icons/MailIcon.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    			<string>MailIcon</string>
    		</dict>
    		<dict>
    			<key>Frame</key>
    			<string>0,0,320,480</string>
    			<key>Image</key>
    			<string>$ROOT/Wallpaper.png</string>
    			<key>ViewType</key>
    			<string>ImageView</string>
    			<key>id</key>
    			<string>Wallpaper</string>
    		</dict>
    	</array>
    	<key>Variables</key>
    	<dict>
    		<key>cydiavar</key>
    		<integer>0</integer>
    	</dict>
    </dict>
    </plist>
    I think it is the part where i added <key>Variables</key> at the end. Mayb it doesn't go there? Or i wrote something wrong? Help? Right now i only added the get.vars to the CydiaButton. Nothing else yet, i want to try it out only on that button before i add it to the others...To make sure it works. I highlighted the CydiaButton and Variables section for easier reference...

    TIA
    I think your problem is with the cydia button, you opened up the id key, but never put a value
    Code:
    <dict>
    			<key>Actions</key>
    			<array>
    				<string>get.vars.cydiavar = 0 ? insertview CydiaSubMenu above Wallpaper, vars.cydiavar = 1 : removeview CydiaSubMenu, vars.cydiavar = 0</string>
    				<string>removeview SocialSubMenu</string>
    				<string>removeview AllAppsSubMenu</string>
    				<string>removeview GamesSubMenu</string>
    				<string>removeview MediaSubMenu</string>
    			</array>
    			<key>Frame</key>
    			<string>0,70,42,60</string>
    			<key>Image</key>
    			<string>$ROOT/Images/CydiaButton.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    		</dict>
    try putting the value in and let me know, it should fix it but im not positive
    2011-07-06 08:08 PM
  15. PhanaticD's Avatar
    @sahandii not currently

    yea u cant just have open tags, u need a value for the id key
    2011-07-06 09:23 PM
  16. FrightDealer's Avatar
    @sahandii not currently

    yea u cant just have open tags, u need a value for the id key
    OOoooOoOhHhHhHhH! Alright, i didnt kno that, thanks iGamers and PhanaticD!
    2011-07-06 09:35 PM
  17. iGamers's Avatar
    no problem, its an easy mistake, i cant even count how many times i did something similar like not closing values the right way lol, and thats why i learn to check my code after ever section
    2011-07-06 09:59 PM
  18. FrightDealer's Avatar
    no problem, its an easy mistake, i cant even count how many times i did something similar like not closing values the right way lol, and thats why i learn to check my code after ever section
    Yea! I always do tht! And i hav the bad ability of being lazy! i don't double check i start doing code. Thts y i failed English. But thanks alot
    2011-07-06 10:15 PM
  19. iGamers's Avatar
    Yea! I always do tht! And i hav the bad ability of being lazy! i don't double check i start doing code. Thts y i failed English. But thanks alot
    haha im lazy too, thats why i didnt do have the crap i wanted to do on my theme, and thats prolly why i failed school all together haha
    2011-07-06 10:27 PM
  20. iGamers's Avatar
    is it possible to animate the <string>hidestatusbar</string> like <string>hidestatusbar animate:1.0</string> or something like that?
    2011-07-06 11:28 PM
2,599 ... 41495051525361101 ...
LINK TO POST COPIED TO CLIPBOARD