1. CMartins's Avatar
    errm that last quote I made doesn't really correspond to the one before, with the actions. Anyway, what you are saying PD is that the functions, the onload thingy and the variable is nicely set, yea? Going to test it.
    2011-06-11 11:22 PM
  2. FrightDealer's Avatar
    I got a few more questions...im a newb, so yea...kinda might be dumb questions

    1) Do i need IconMask.png, IconOverlay.png, IconShadow.png in the folders? Is it even necessary?

    Well, that really it. Cause i don't see the point in it....well, just taking this from PhanaticD's Ubuntu Beta...since he doesn't have any of these....just want to kno...
    2011-06-11 11:24 PM
  3. PhanaticD's Avatar
    you dont need it but its there. and please dont base anything off that, i started to make that when dreamboard came out, it is very outdated and incomplete
    2011-06-11 11:26 PM
  4. CMartins's Avatar
    u should be doing setvar <value> <variable>

    setvar 1 fencething
    <?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>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>
    <key>Variables</key>
    <dict>
    <key>fences</key>
    <real>1</real>
    </dict>
    <key>Onload</key>
    <array>
    <string>function loadvariables</string>
    </array>
    <key>Functions</key>
    <dict>
    <key>loadvariables</key>
    <array>
    <string>get var fences = 0 ? show Springboard : nothing</string>
    <string>show fencesoff</string>
    <string>get var fences = 1 ? hide Springboard : nothing</string>
    <string>show fenceson</string>
    </array>

    </dict>
    <dict>
    <key>FrameHeight</key>
    <integer>17</integer>
    <key>FrameWidth</key>
    <integer>55</integer>
    <key>FrameX</key>
    <integer>23</integer>
    <key>FrameY</key>
    <integer>32</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/applicationsicon.png</string>
    <key>ViewType</key>
    <string>Button</string>
    <key>id</key>
    <string>applicationsicon</string>
    </dict>
    <dict>
    <key>FrameHeight</key>
    <integer>14</integer>
    <key>FrameWidth</key>
    <integer>36</integer>
    <key>FrameX</key>
    <integer>140</integer>
    <key>FrameY</key>
    <integer>35</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/foldersicon.png</string>
    <key>ViewType</key>
    <string>Button</string>
    <key>id</key>
    <string>foldersicon</string>
    </dict>
    <dict>
    <key>FrameHeight</key>
    <integer>15</integer>
    <key>FrameWidth</key>
    <integer>40</integer>
    <key>FrameX</key>
    <integer>245</integer>
    <key>FrameY</key>
    <integer>35</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/settingsicon.png</string>
    <key>ViewType</key>
    <string>Button</string>
    <key>id</key>
    <string>settingsicon</string>
    </dict>
    <dict>
    <key>FrameHeight</key>
    <integer>18</integer>
    <key>FrameWidth</key>
    <integer>10</integer>
    <key>FrameX</key>
    <integer>98</integer>
    <key>FrameY</key>
    <integer>33</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/topseparator.png</string>
    <key>ViewType</key>
    <string>ImageView</string>
    <key>id</key>
    <string>topseparatorleft</string>
    </dict>
    <dict>
    <key>FrameHeight</key>
    <integer>18</integer>
    <key>FrameWidth</key>
    <integer>10</integer>
    <key>FrameX</key>
    <integer>205</integer>
    <key>FrameY</key>
    <integer>33</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/topseparator.png</string>
    <key>ViewType</key>
    <string>ImageView</string>
    <key>id</key>
    <string>topseparatorright</string>
    </dict>
    <dict>
    <key>FrameHeight</key>
    <integer>106</integer>
    <key>FrameWidth</key>
    <integer>320</integer>
    <key>FrameX</key>
    <integer>0</integer>
    <key>FrameY</key>
    <integer>20</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/topgradient.png1</string>
    <key>ViewType</key>
    <string>ImageView</string>
    <key>id</key>
    <string>topgradient</string>
    </dict>
    <dict>
    <key>FrameHeight</key>
    <integer>386</integer>
    <key>FrameWidth</key>
    <integer>21</integer>
    <key>FrameX</key>
    <integer>0</integer>
    <key>FrameY</key>
    <integer>65</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/leftsideline.png</string>
    <key>ViewType</key>
    <string>ImageView</string>
    <key>id</key>
    <string>leftside</string>
    </dict>
    <dict>
    <key>FrameHeight</key>
    <integer>386</integer>
    <key>FrameWidth</key>
    <integer>21</integer>
    <key>FrameX</key>
    <integer>298</integer>
    <key>FrameY</key>
    <integer>65</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/rightsideline.png</string>
    <key>ViewType</key>
    <string>ImageView</string>
    <key>id</key>
    <string>rightside</string>
    </dict>
    <dict>
    <key>FrameHeight</key>
    <integer>460</integer>
    <key>FrameWidth</key>
    <integer>22</integer>
    <key>FrameX</key>
    <integer>298</integer>
    <key>FrameY</key>
    <integer>20</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/rightsides.png</string>
    <key>ViewType</key>
    <string>ImageView</string>
    <key>id</key>
    <string>rightside</string>
    </dict>
    <dict>
    <key>Actions</key>
    <array>
    <string>hide Springboard</string>
    <string>hide fenceson</string>
    <string>show fencesoff</string>
    <string>setvar 1 fences</string>
    <string>savevar</string>
    </array>
    <key>FrameHeight</key>
    <integer>31</integer>
    <key>FrameWidth</key>
    <integer>54</integer>
    <key>FrameX</key>
    <integer>258</integer>
    <key>FrameY</key>
    <integer>442</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/fenceson.png</string>
    <key>ViewType</key>
    <string>Button</string>
    <key>id</key>
    <string>fenceson</string>
    </dict>
    <dict>
    <key>Actions</key>
    <array>
    <string>show Springboard</string>
    <string>hide fencesoff</string>
    <string>show fenceson</string>
    <string>setvar 0 fences</string>
    <string>savevar</string>
    </array>
    <key>FrameHeight</key>
    <integer>31</integer>
    <key>FrameWidth</key>
    <integer>54</integer>
    <key>FrameX</key>
    <integer>258</integer>
    <key>FrameY</key>
    <integer>442</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/fencesoff.png</string>
    <key>ViewType</key>
    <string>Button</string>
    <key>id</key>
    <string>fencesoff</string>
    </dict>
    <dict>
    <key>Actions</key>
    <array>
    <string>hide shortcut</string>
    <string>set y 430 menu YES 0.5</string>
    <string>set y 422 ipod YES 0.5</string>
    <string>set y 420 phone YES 0.5</string>
    <string>set y 420 sms YES 0.5</string>
    <string>show menuclose</string>
    </array>
    <key>FrameHeight</key>
    <integer>50</integer>
    <key>FrameWidth</key>
    <integer>50</integer>
    <key>FrameX</key>
    <integer>134</integer>
    <key>FrameY</key>
    <integer>440</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/shortcut.png</string>
    <key>ViewType</key>
    <string>Button</string>
    <key>id</key>
    <string>shortcut</string>
    </dict>
    <dict>
    <key>Actions</key>
    <array>
    <string>hide menuclose</string>
    <string>set y 485 menu YES 0.5</string>
    <string>set y 470 ipod YES 0.5</string>
    <string>set y 470 phone YES 0.5</string>
    <string>set y 470 sms YES 0.5</string>
    <string>show shortcut</string>
    </array>
    <key>FrameHeight</key>
    <integer>50</integer>
    <key>FrameWidth</key>
    <integer>80</integer>
    <key>FrameX</key>
    <integer>123</integer>
    <key>FrameY</key>
    <integer>400</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/menuclose.png</string>
    <key>ViewType</key>
    <string>Button</string>
    <key>id</key>
    <string>menuclose</string>
    </dict>
    <dict>
    <key>Actions</key>
    <array>
    <string>launch com.apple.mobileipod-MediaPlayer</string>
    </array>
    <key>FrameHeight</key>
    <integer>80</integer>
    <key>FrameWidth</key>
    <integer>80</integer>
    <key>FrameX</key>
    <integer>63</integer>
    <key>FrameY</key>
    <integer>470</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/ipod.png</string>
    <key>ViewType</key>
    <string>Button</string>
    <key>id</key>
    <string>ipod</string>
    </dict>
    <dict>
    <key>Actions</key>
    <array>
    <string>launch com.apple.mobilephone</string>
    </array>
    <key>FrameHeight</key>
    <integer>80</integer>
    <key>FrameWidth</key>
    <integer>80</integer>
    <key>FrameX</key>
    <integer>120</integer>
    <key>FrameY</key>
    <integer>470</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/phone.png</string>
    <key>ViewType</key>
    <string>Button</string>
    <key>id</key>
    <string>phone</string>
    </dict>
    <dict>
    <key>Actions</key>
    <array>
    <string>launch com.bitesms</string>
    </array>
    <key>FrameHeight</key>
    <integer>80</integer>
    <key>FrameWidth</key>
    <integer>80</integer>
    <key>FrameX</key>
    <integer>178</integer>
    <key>FrameY</key>
    <integer>470</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/sms.png</string>
    <key>ViewType</key>
    <string>Button</string>
    <key>id</key>
    <string>sms</string>
    </dict>
    <dict>
    <key>FrameHeight</key>
    <integer>49</integer>
    <key>FrameWidth</key>
    <integer>190</integer>
    <key>FrameX</key>
    <integer>68</integer>
    <key>FrameY</key>
    <integer>485</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/menu2.png</string>
    <key>ViewType</key>
    <string>Button</string>
    <key>id</key>
    <string>menu</string>
    </dict>

    <dict>
    <key>ClipToBounds</key>
    <true/>
    <key>ContentHeight</key>
    <integer>480</integer>
    <key>ContentOffsetX</key>
    <integer>0</integer>
    <key>ContentOffsetY</key>
    <integer>0</integer>
    <key>ContentWidth</key>
    <integer>640</integer>
    <key>FrameHeight</key>
    <integer>480</integer>
    <key>FrameWidth</key>
    <integer>320</integer>
    <key>FrameX</key>
    <integer>0</integer>
    <key>FrameY</key>
    <integer>0</integer>
    <key>HorizontalScrollBars</key>
    <false/>
    <key>Paging</key>
    <true/>
    <key>ScrollingEnabled</key>
    <true/>
    <key>Subviews</key>
    <array>
    <dict>
    <key>Actions</key>
    <array>
    <string>launch com.bitesms</string>
    </array>
    <key>FrameHeight</key>
    <integer>90</integer>
    <key>FrameWidth</key>
    <integer>102</integer>
    <key>FrameX</key>
    <integer>108</integer>
    <key>FrameY</key>
    <integer>90</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/istudiez.png</string>
    <key>ViewType</key>
    <string>Button</string>
    <key>id</key>
    <string>istudiez</string>
    </dict>
    <dict>
    <key>Actions</key>
    <array>
    <string>launch com.bitesms</string>
    </array>
    <key>FrameHeight</key>
    <integer>90</integer>
    <key>FrameWidth</key>
    <integer>102</integer>
    <key>FrameX</key>
    <integer>182</integer>
    <key>FrameY</key>
    <integer>90</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/weekcalender.png</string>
    <key>ViewType</key>
    <string>Button</string>
    <key>id</key>
    <string>weekcalender</string>
    </dict>
    <dict>
    <key>BundleID</key>
    <string>com.wynd.dreamboard</string>
    <key>FrameHeight</key>
    <integer>85</integer>
    <key>FrameWidth</key>
    <integer>65</integer>
    <key>FrameX</key>
    <integer>400</integer>
    <key>FrameY</key>
    <integer>330</integer>
    <key>ViewType</key>
    <string>AppIcon</string>
    </dict>
    <dict>
    <key>BundleID</key>
    <string>com.wynd.DBStore</string>
    <key>FrameHeight</key>
    <integer>85</integer>
    <key>FrameWidth</key>
    <integer>65</integer>
    <key>FrameX</key>
    <integer>350</integer>
    <key>FrameY</key>
    <integer>330</integer>
    <key>ViewType</key>
    <string>AppIcon</string>
    </dict>
    <dict>
    <key>FrameHeight</key>
    <integer>100</integer>
    <key>FrameWidth</key>
    <integer>150</integer>
    <key>FrameX</key>
    <integer>85</integer>
    <key>FrameY</key>
    <integer>415</integer>
    <key>URL</key>
    <string>DreamBoard/cristiano/Widgets/LiveClock/Widget.html**deleteifyouwannauseit**</string>
    <key>UserInteraction</key>
    <false/>
    <key>ViewType</key>
    <string>WebView</string>
    </dict>
    </array>
    <key>UserInteraction</key>
    <true/>
    <key>VerticalScrollBars</key>
    <false/>
    <key>ViewType</key>
    <string>ScrollView</string>
    <key>id</key>
    <string>Springboard</string>
    </dict>
    <dict>
    <key>FrameHeight</key>
    <integer>460</integer>
    <key>FrameWidth</key>
    <integer>320</integer>
    <key>FrameX</key>
    <integer>0</integer>
    <key>FrameY</key>
    <integer>20</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/contentj.png</string>
    <key>ViewType</key>
    <string>ImageView</string>
    <key>id</key>
    <string>BG</string>
    </dict>
    <dict>
    <key>FrameHeight</key>
    <integer>460</integer>
    <key>FrameWidth</key>
    <integer>320</integer>
    <key>FrameX</key>
    <integer>0</integer>
    <key>FrameY</key>
    <integer>20</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/BG10.png</string>
    <key>ViewType</key>
    <string>ImageView</string>
    <key>id</key>
    <string>BG</string>
    </dict>
    </array>
    </dict>
    </plist>
    The full code with the actions and the setvar X fences thingy on, went to safe mode again.
    2011-06-11 11:27 PM
  5. PhanaticD's Avatar
    backtrack till u get it working again then move slowly piece by piece till it stops working then u will see where ur problem is
    2011-06-11 11:31 PM
  6. FrightDealer's Avatar
    you dont need it but its there. and please dont base anything off that, i started to make that when dreamboard came out, it is very outdated and incomplete
    Oh, really sorry bro. Didn't mean to. Even if it is incomplete, it is working nice on my iTouch. Really good work. But, sorry. I needed at least a theme based off from you. And i think that was the only DB theme you have. Just needed one theme of yours to sort of base some images and dimensions off.

    Thanks for the help
    2011-06-11 11:36 PM
  7. PhanaticD's Avatar
    endroid would probably be the best it has mostly everything, except rotation i suppose
    2011-06-11 11:37 PM
  8. FrightDealer's Avatar
    endroid would probably be the best it has mostly everything, except rotation i suppose
    Rotation? What is that? Well, yea i guess Endroid would be best. But it doesn't have lik sub-menus for Categoriezed folders...(Apps, Games, etc.)

    Only one All Apps button grid thing...(sorry, don't know terms for this...newb here) But, i guess it would be best....Thanks
    2011-06-11 11:41 PM
  9. PhanaticD's Avatar
    hmm yea it doesnt have that true, the ubuntu one just the way the menus work with the buttons etc is outdated, the groups would still be normal
    2011-06-11 11:43 PM
  10. FrightDealer's Avatar
    hmm yea it doesnt have that true, the ubuntu one just the way the menus work with the buttons etc is outdated, the groups would still be normal
    Alright, i will see what i can do. Thanks for the help man! Really appreciate it.
    2011-06-11 11:49 PM
  11. falcon212's Avatar
    Anyone know who I can contact to, to change the title of the thread ?
    iPhone Themes: FlatNeue - Apex One - FlowBoard - Kassou HD - BoxorHD Widescreen - BoxorHD - BoxorHD Ceramic White - Bookshelf - AsymmetricHD
    iPad Themes: Honeypad Pro - HoneyPad Pro Retina - BoxorHD - BoxorHD Retina - Bookshelf - BoxorHD Ceramic White
    - All my themes in one Cydia website - open the link from your iDevice

    PayPal Donation: [email protected] | Twitter: changroy | HoneyPad Pro
    2011-06-12 06:02 AM
  12. PhanaticD's Avatar
    Whats wrong with title of this thread? If ur talking about in general id go to blkcaldi shes extremely helpful
    2011-06-12 06:50 AM
  13. TheWarlu's Avatar
    The full code with the actions and the setvar X fences thingy on, went to safe mode again.
    I see you have 2 views with the same ID "BG". You shouldn't do that, try diff. name for each view.

    also, Variables, OnLoad, Functions should be Outside the MainView Array. At the moment they are in it.

    try this
    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>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>Variables</key>
    	<dict>
    		<key>fences</key>
    		<real>1</real>
    	</dict>
    	<key>Onload</key>
    	<array>
    		<string>function loadvariables</string>
    	</array>
    	<key>Functions</key>
    	<dict>
    		<key>loadvariables</key>
    		<array>
    			<string>get var fences = 0 ? show Springboard : nothing</string>
    			<string>show fencesoff</string>
    			<string>get var fences = 1 ? hide Springboard : nothing</string>
    			<string>show fenceson</string>
    		</array>
    	</dict> 
    	<key>MainView</key>
    	<array>
    		<dict>
    			<key>FrameHeight</key>
    			<integer>17</integer>
    			<key>FrameWidth</key>
    			<integer>55</integer>
    			<key>FrameX</key>
    			<integer>23</integer>
    			<key>FrameY</key>
    			<integer>32</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/applicationsicon.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    			<string>applicationsicon</string>
    		</dict>
    		<dict>
    			<key>FrameHeight</key>
    			<integer>14</integer>
    			<key>FrameWidth</key>
    			<integer>36</integer>
    			<key>FrameX</key>
    			<integer>140</integer>
    			<key>FrameY</key>
    			<integer>35</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/foldersicon.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    			<string>foldersicon</string>
    		</dict>
    		<dict>
    			<key>FrameHeight</key>
    			<integer>15</integer>
    			<key>FrameWidth</key>
    			<integer>40</integer>
    			<key>FrameX</key>
    			<integer>245</integer>
    			<key>FrameY</key>
    			<integer>35</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/settingsicon.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    			<string>settingsicon</string>
    		</dict>
    		<dict>
    			<key>FrameHeight</key>
    			<integer>18</integer>
    			<key>FrameWidth</key>
    			<integer>10</integer>
    			<key>FrameX</key>
    			<integer>98</integer>
    			<key>FrameY</key>
    			<integer>33</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/topseparator.png</string>
    			<key>ViewType</key>
    			<string>ImageView</string>
    			<key>id</key>
    			<string>topseparatorleft</string>
    		</dict>
    		<dict>
    			<key>FrameHeight</key>
    			<integer>18</integer>
    			<key>FrameWidth</key>
    			<integer>10</integer>
    			<key>FrameX</key>
    			<integer>205</integer>
    			<key>FrameY</key>
    			<integer>33</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/topseparator.png</string>
    			<key>ViewType</key>
    			<string>ImageView</string>
    			<key>id</key>
    			<string>topseparatorright</string>
    		</dict>
    		<dict>
    			<key>FrameHeight</key>
    			<integer>106</integer>
    			<key>FrameWidth</key>
    			<integer>320</integer>
    			<key>FrameX</key>
    			<integer>0</integer>
    			<key>FrameY</key>
    			<integer>20</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/topgradient.png1</string>
    			<key>ViewType</key>
    			<string>ImageView</string>
    			<key>id</key>
    			<string>topgradient</string>
    		</dict>
    		<dict>
    			<key>FrameHeight</key>
    			<integer>386</integer>
    			<key>FrameWidth</key>
    			<integer>21</integer>
    			<key>FrameX</key>
    			<integer>0</integer>
    			<key>FrameY</key>
    			<integer>65</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/leftsideline.png</string>
    			<key>ViewType</key>
    			<string>ImageView</string>
    			<key>id</key>
    			<string>leftside</string>
    		</dict>
    		<dict>
    			<key>FrameHeight</key>
    			<integer>386</integer>
    			<key>FrameWidth</key>
    			<integer>21</integer>
    			<key>FrameX</key>
    			<integer>298</integer>
    			<key>FrameY</key>
    			<integer>65</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/rightsideline.png</string>
    			<key>ViewType</key>
    			<string>ImageView</string>
    			<key>id</key>
    			<string>rightside</string>
    		</dict>
    		<dict>
    			<key>FrameHeight</key>
    			<integer>460</integer>
    			<key>FrameWidth</key>
    			<integer>22</integer>
    			<key>FrameX</key>
    			<integer>298</integer>
    			<key>FrameY</key>
    			<integer>20</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/rightsides.png</string>
    			<key>ViewType</key>
    			<string>ImageView</string>
    			<key>id</key>
    			<string>rightside</string>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>hide Springboard</string>
    				<string>hide fenceson</string>
    				<string>show fencesoff</string>
    				<string>setvar 1 fences</string>
    				<string>savevar</string>
    			</array>
    			<key>FrameHeight</key>
    			<integer>31</integer>
    			<key>FrameWidth</key>
    			<integer>54</integer>
    			<key>FrameX</key>
    			<integer>258</integer>
    			<key>FrameY</key>
    			<integer>442</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/fenceson.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    			<string>fenceson</string>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>show Springboard</string>
    				<string>hide fencesoff</string>
    				<string>show fenceson</string>
    				<string>setvar 0 fences</string>
    				<string>savevar</string>
    			</array>
    			<key>FrameHeight</key>
    			<integer>31</integer>
    			<key>FrameWidth</key>
    			<integer>54</integer>
    			<key>FrameX</key>
    			<integer>258</integer>
    			<key>FrameY</key>
    			<integer>442</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/fencesoff.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    			<string>fencesoff</string>
    		</dict> 
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>hide shortcut</string>
    				<string>set y 430 menu YES 0.5</string>
    				<string>set y 422 ipod YES 0.5</string>
    				<string>set y 420 phone YES 0.5</string>
    				<string>set y 420 sms YES 0.5</string>
    				<string>show menuclose</string>
    			</array>
    			<key>FrameHeight</key>
    			<integer>50</integer>
    			<key>FrameWidth</key>
    			<integer>50</integer>
    			<key>FrameX</key>
    			<integer>134</integer>
    			<key>FrameY</key>
    			<integer>440</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/shortcut.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    			<string>shortcut</string>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>hide menuclose</string>
    				<string>set y 485 menu YES 0.5</string>
    				<string>set y 470 ipod YES 0.5</string>
    				<string>set y 470 phone YES 0.5</string>
    				<string>set y 470 sms YES 0.5</string>
    				<string>show shortcut</string>
    			</array>
    			<key>FrameHeight</key>
    			<integer>50</integer>
    			<key>FrameWidth</key>
    			<integer>80</integer>
    			<key>FrameX</key>
    			<integer>123</integer>
    			<key>FrameY</key>
    			<integer>400</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/menuclose.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    			<string>menuclose</string>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>launch com.apple.mobileipod-MediaPlayer</string>
    			</array>
    			<key>FrameHeight</key>
    			<integer>80</integer>
    			<key>FrameWidth</key>
    			<integer>80</integer>
    			<key>FrameX</key>
    			<integer>63</integer>
    			<key>FrameY</key>
    			<integer>470</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/ipod.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    			<string>ipod</string>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>launch com.apple.mobilephone</string>
    			</array>
    			<key>FrameHeight</key>
    			<integer>80</integer>
    			<key>FrameWidth</key>
    			<integer>80</integer>
    			<key>FrameX</key>
    			<integer>120</integer>
    			<key>FrameY</key>
    			<integer>470</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/phone.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    			<string>phone</string>
    		</dict>
    		<dict>
    			<key>Actions</key>
    			<array>
    				<string>launch com.bitesms</string>
    			</array>
    			<key>FrameHeight</key>
    			<integer>80</integer>
    			<key>FrameWidth</key>
    			<integer>80</integer>
    			<key>FrameX</key>
    			<integer>178</integer>
    			<key>FrameY</key>
    			<integer>470</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/sms.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    			<string>sms</string>
    		</dict>
    		<dict>
    			<key>FrameHeight</key>
    			<integer>49</integer>
    			<key>FrameWidth</key>
    			<integer>190</integer>
    			<key>FrameX</key>
    			<integer>68</integer>
    			<key>FrameY</key>
    			<integer>485</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/menu2.png</string>
    			<key>ViewType</key>
    			<string>Button</string>
    			<key>id</key>
    			<string>menu</string>
    		</dict>
    
    		<dict>
    			<key>ClipToBounds</key>
    			<true/>
    			<key>ContentHeight</key>
    			<integer>480</integer>
    			<key>ContentOffsetX</key>
    			<integer>0</integer>
    			<key>ContentOffsetY</key>
    			<integer>0</integer>
    			<key>ContentWidth</key>
    			<integer>640</integer>
    			<key>FrameHeight</key>
    			<integer>480</integer>
    			<key>FrameWidth</key>
    			<integer>320</integer>
    			<key>FrameX</key>
    			<integer>0</integer>
    			<key>FrameY</key>
    			<integer>0</integer>
    			<key>HorizontalScrollBars</key>
    			<false/>
    			<key>Paging</key>
    			<true/>
    			<key>ScrollingEnabled</key>
    			<true/>
    			<key>Subviews</key>
    			<array>
    				<dict>
    					<key>Actions</key>
    					<array>
    						<string>launch com.bitesms</string>
    					</array>
    					<key>FrameHeight</key>
    					<integer>90</integer>
    					<key>FrameWidth</key>
    					<integer>102</integer>
    					<key>FrameX</key>
    					<integer>108</integer>
    					<key>FrameY</key>
    					<integer>90</integer>
    					<key>Image</key>
    					<string>/DreamBoard/cristiano/Images/istudiez.png</string>
    					<key>ViewType</key>
    					<string>Button</string>
    					<key>id</key>
    					<string>istudiez</string>
    				</dict>
    				<dict>
    					<key>Actions</key>
    					<array>
    						<string>launch com.bitesms</string>
    					</array>
    					<key>FrameHeight</key>
    					<integer>90</integer>
    					<key>FrameWidth</key>
    					<integer>102</integer>
    					<key>FrameX</key>
    					<integer>182</integer>
    					<key>FrameY</key>
    					<integer>90</integer>
    					<key>Image</key>
    					<string>/DreamBoard/cristiano/Images/weekcalender.png</string>
    					<key>ViewType</key>
    					<string>Button</string>
    					<key>id</key>
    					<string>weekcalender</string>
    				</dict>
    				<dict>
    					<key>BundleID</key>
    					<string>com.wynd.dreamboard</string>
    					<key>FrameHeight</key>
    					<integer>85</integer>
    					<key>FrameWidth</key>
    					<integer>65</integer>
    					<key>FrameX</key>
    					<integer>400</integer>
    					<key>FrameY</key>
    					<integer>330</integer>
    					<key>ViewType</key>
    					<string>AppIcon</string>
    				</dict>
    				<dict>
    					<key>BundleID</key>
    					<string>com.wynd.DBStore</string>
    					<key>FrameHeight</key>
    					<integer>85</integer>
    					<key>FrameWidth</key>
    					<integer>65</integer>
    					<key>FrameX</key>
    					<integer>350</integer>
    					<key>FrameY</key>
    					<integer>330</integer>
    					<key>ViewType</key>
    					<string>AppIcon</string>
    				</dict>
    				<dict>
    					<key>FrameHeight</key>
    					<integer>100</integer>
    					<key>FrameWidth</key>
    					<integer>150</integer>
    					<key>FrameX</key>
    					<integer>85</integer>
    					<key>FrameY</key>
    					<integer>415</integer>
    					<key>URL</key>
    					<string>/DreamBoard/cristiano/Widgets/LiveClock/Widget.html</string>
    					<key>UserInteraction</key>
    					<false/>
    					<key>ViewType</key>
    					<string>WebView</string>
    				</dict>
    			</array>
    			<key>UserInteraction</key>
    			<true/>
    			<key>VerticalScrollBars</key>
    			<false/>
    			<key>ViewType</key>
    			<string>ScrollView</string>
    			<key>id</key>
    			<string>Springboard</string>
    		</dict>
    		<dict>
    			<key>FrameHeight</key>
    			<integer>460</integer>
    			<key>FrameWidth</key>
    			<integer>320</integer>
    			<key>FrameX</key>
    			<integer>0</integer>
    			<key>FrameY</key>
    			<integer>20</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/contentj.png</string>
    			<key>ViewType</key>
    			<string>ImageView</string>
    			<key>id</key>
    			<string>BG1</string>
    		</dict>
    		<dict>
    			<key>FrameHeight</key>
    			<integer>460</integer>
    			<key>FrameWidth</key>
    			<integer>320</integer>
    			<key>FrameX</key>
    			<integer>0</integer>
    			<key>FrameY</key>
    			<integer>20</integer>
    			<key>Image</key>
    			<string>/DreamBoard/cristiano/Images/BG10.png</string>
    			<key>ViewType</key>
    			<string>ImageView</string>
    			<key>id</key>
    			<string>BG</string>
    		</dict>
    	</array>
    </dict>
    </plist>
    BTW: I hope you are using 5/14 Beta for this code
    Last edited by TheWarlu; 2011-06-12 at 04:15 PM.
    Don't be afraid of the plist... and never giveup...
    2011-06-12 03:47 PM
  14. CMartins's Avatar
    Hey thanks mate, that completely did the trick, wasn't aware Variables, OnLoad, Functions should be outside the MainView Array, appreciate it

    And yea I have that version! Regarding the ID's, it was just a test, wasn't using the IDs so it was working ok. Thanks man!
    2011-06-12 06:25 PM
  15. CMartins's Avatar
    Anyone care to explain how the conditions if/then/else work? Why are they ordered (in Endroid's) like else/if/then?

    Shouldn't this work? Trying not to use hide/show and use functions instead.

    <dict>
    <key>if</key>
    <array>
    <string>get.vars.wallmenu = 1</string>
    </array>
    <key>then</key>
    <array>
    <dict>
    <key>Actions</key>
    <array>
    <string>hide Springboard</string>
    <string>show wallpaperscroll</string>
    <string>show wallpaperbg</string>
    </array>
    <key>FrameHeight</key>
    <integer>18</integer>
    <key>FrameWidth</key>
    <integer>57</integer>
    <key>FrameX</key>
    <integer>2</integer>
    <key>FrameY</key>
    <integer>190</integer>
    <key>Image</key>
    <string>/DreamBoard/cristiano/Images/wallpapersetting.png</string>
    <key>ViewType</key>
    <string>Button</string>
    <key>id</key>
    <string>wallpapersetting</string>
    </dict>
    </array>
    </dict>
    Like, if wallmenu variable equals 1 -> show icon.

    Edit: I realize it works if I use hide/show actions...doesn't seem to work if I tell it to create/apply a new view, in this case an icon.
    Last edited by CMartins; 2011-06-13 at 07:18 PM.
    2011-06-13 07:07 PM
  16. PhanaticD's Avatar
    lol its so hard to read code like this, please next time indent it.

    uhmm the part where u have "actions" why is that even there?

    to use the block if else statements it would be

    Code:
    			<dict>
    			<key>if</key><array><string>get.vars.grid = 1</string></array>
    			<key>then</key><array>
    				<string>views.realgrid.userInteraction = YES</string>
    				<string>views.grid.y = 0 animated:0.5</string>
    			</array>
    			<key>else</key><array>
    				<string>views.realgrid.userInteraction = NO</string>
    				<string>views.grid.y = 480 animated:0.5</string>
    			</array>
    			</dict>
    2011-06-13 09:34 PM
  17. CMartins's Avatar
    I was wondering if this was possible...

    To make an icon show if one condition is verified and it doesn't seem to be unless you use show/hide actions.

    Code:
    <dict>
    				<key>if</key>
    				<array>
    					<string>get.vars.wallmenu = 1</string>
    				</array>
    				<key>then</key>
    				<array>
    					<dict>
    					<key>Actions</key>
    					<array>
    						<string>hide Springboard</string>
    						<string>show wallpaperscroll</string>
    						<string>show wallpaperbg</string>
    					</array>
    					<key>FrameHeight</key>
    					<integer>18</integer>
    					<key>FrameWidth</key>
    					<integer>57</integer>
    					<key>FrameX</key>
    					<integer>2</integer>
    					<key>FrameY</key>
    					<integer>190</integer>
    					<key>Image</key>
    					<string>/DreamBoard/cristiano/Images/wallpapersetting.png</string>
    					<key>ViewType</key>
    					<string>Button</string>
    					<key>id</key>
    					<string>wallpapersetting</string>
    				</dict>
    				</array>
    			</dict>
    2011-06-13 10:12 PM
  18. PhanaticD's Avatar
    dude why do u have a view in there lol u cant do that...
    here this is how u would do it

    put this in functions
    Code:
    <key>wallupdate</key>
    	<array>
                   <dict>
    			<key>if</key><array><string>get.vars.wallmenu = 1</string></array>
    			<key>then</key><array>
    				<string>views.Springboard.alpha = 0.0 animated:0.5</string>
    				<string>views.wallpaperscroll.alpha = 1.0 animated:0.5</string>
    				<string>views.wallpaperbg.alpha = 1.0 animated:0.5</string>
    			</array>
    			<key>else</key><array>
    				<string></string>
    			</array>
    		</dict>
          </array>
    and then put this in ur main view

    Code:
                             <dict>
    				<key>Actions</key>
    				<array>
    					<string>function wallupdate</string>
    				</array>
             
    				<key>FrameHeight</key>
    				<integer>18</integer>
    				<key>FrameWidth</key>
    				<integer>57</integer>
    				<key>FrameX</key>
    				<integer>2</integer>
    				<key>FrameY</key>
    				<integer>190</integer>
    				<key>Image</key>
    				<string>/DreamBoard/cristiano/Images/wallpapersetting.png</string>
    				<key>ViewType</key>
    				<string>Button</string>
    				<key>id</key>
    				<string>wallpapersetting</string>
    			</dict>
    and add this to whatever u used to be hiding and showing. hiding and showing sucks... alpha is the way of the future

    Code:
    <key>Alpha</key>
    <real>0.0</real>
    (if u want it to start off showing make it 1.0 instead of 0.0
    2011-06-14 03:20 AM
  19. kingjust's Avatar
    FYI for any of you know who don't know... a new version of DB is out. A lot of cool new stuff. Can't really explain... waiting for the wiki update. I do have to say this though. There is a really neat feature that incorporates a lock screen. ******************* Edited after resolving issue ******************
    Last edited by kingjust; 2011-06-14 at 03:43 AM.
    2011-06-14 03:21 AM
  20. PhanaticD's Avatar
    locking and unlocking ur phone works lol.. and im about to start working on it right now
    2011-06-14 03:23 AM
2,599 ... 1826272829303878128 ...
LINK TO POST COPIED TO CLIPBOARD