Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: Creating Themes With Dreamboard
is a discussion within theiPhone 4|4S New Skins / Themes Launches
forums, a part of theNew Skins / Themes Launches
section;thnx for sharing great job but when my friends want to someting about new news doesnt read anything cuz they dont know english why have not another languages support to
...-
07-04-2011, 01:39 AM #961
thnx for sharing great job but when my friends want to someting about new news doesnt read anything cuz they dont know english why have not another languages support to here

Bulgaristanda üniversite Bulgaristanda okumak
-
07-04-2011, 01:41 AM #962Delirious
- Join Date
- Feb 2011
- Location
- New Zealand
- Posts
- 620
- Thanks
- 125
- Thanked 1,250 Times in 186 Posts
-
07-04-2011, 01:50 AM #963My iPhone is a Part of Me
- Join Date
- Sep 2010
- Location
- New Mexico
- Posts
- 657
- Thanks
- 186
- Thanked 244 Times in 143 Posts
Yes I did, you just don't get what I'm trying to say. Just go with what kooris said.
Sorry I'm not sure anyone here speaks Turkish (I think?)
Alright, so I'm still having problems with the animations... Again, I tried as much as I could.
The code behind it:
HTML Code:<key>Functions</key> <dict> <key>Slide1</key> <array> <dict> <key>if</key> <array> <string>get.vars.GameGrid = 1</string> </array> <key>then</key> <array> <string>insertview GameGrid to mainview</string> <string>views.GameGrid.x = 320 animated:0.5</string> </array> <key>else</key> <array> <string>views.GameGrid.x = 320 animated:0.5</string> <string>removeview GameGrid</string> </array> </dict> </array> </dict>
HTML Code:<dict> <key>Actions</key> <array> <string>toggle GameGrid</string> <string>function Slide1</string> </array> <key>FrameHeight</key> <integer>73</integer> <key>FrameWidth</key> <integer>320</integer> <key>FrameX</key> <integer>0</integer> <key>FrameY</key> <integer>730</integer> <key>Image</key> <string>$ROOT/Images/Apps/[email protected]</string> <key>ViewType</key> <string>Button</string> </dict>
HTML Code:<dict> <key>GameGrid</key> <real>0.0</real> </dict>
-
07-04-2011, 02:34 AM #964Delirious
- Join Date
- Feb 2011
- Location
- New Zealand
- Posts
- 620
- Thanks
- 125
- Thanked 1,250 Times in 186 Posts
You serious? Still using "toggle"
I thought it was depreciated on the wiki...its horrible anyway...Sorry, cant help for now, gotta sleep but I'll do it tomorrow.
Ummm...Create a Variable called Gamegrid using
and putHTML Code:<key>Variables</key> <dict> <key>Gamegrid</key> <string>0</string> </dict>
and your button should beHTML Code:<key>Functions</key> <dict> <key>Slide1</key> <array> <dict> <key>if</key> <array> <string>get.vars.GameGrid = 1</string> </array> <key>then</key> <array> <string>insertview GameGrid to mainview</string> <string>views.GameGrid.x = 0 animated:0.5</string> </array> <key>else</key> <array> <string>views.GameGrid.x = -320 animated:0.5</string> <string>removeview GameGrid</string> </array> </dict> </array> </dict>
and get rid ofHTML Code:<dict> <key>Actions</key> <array> <string>get.vars.Gamegrid = 1 ? vars.Gamegrid = 0 : vars.Gamegrid = 1</string> <string>function Slide1</string> </array> <key>FrameHeight</key> <integer>73</integer> <key>FrameWidth</key> <integer>320</integer> <key>FrameX</key> <integer>0</integer> <key>FrameY</key> <integer>730</integer> <key>Image</key> <string>$ROOT/Images/Apps/[email protected]</string> <key>ViewType</key> <string>Button</string> </dict>
HTML Code:<dict> <key>GameGrid</key> <real>0.0</real> </dict>
Last edited by kooris; 07-04-2011 at 02:42 AM.
-
The Following User Says Thank You to kooris For This Useful Post:
korbyn8495 (07-04-2011)
-
07-04-2011, 03:31 AM #965My iPhone is a Part of Me
- Join Date
- Sep 2010
- Location
- New Mexico
- Posts
- 657
- Thanks
- 186
- Thanked 244 Times in 143 Posts
-
07-04-2011, 06:37 AM #966iPhone? More like MyPhone
- Join Date
- May 2011
- Location
- /Dreamboard/Snow Lopeard/SnowLopeard.plist
- Posts
- 269
- Thanks
- 8
- Thanked 146 Times in 83 Posts
Lopeard the best OS X Snow Leopard theme for your iPhone
Click here for more info
-
07-04-2011, 10:47 AM #967
uhh lopeard how about i just make u a admin of the existing one k? i was planning on doing that but no one was answering so ill do it anyway. wahts ur gmail
there are comment sections in the wiki feel free to to post in the section you think is unclear and i will edit anything that is confusingLast edited by PhanaticD; 07-04-2011 at 10:49 AM.
Official DreamBoard Wiki
Twitter | YouTube
My Themes: ipod 5g themes | Origins [blue] | Ubuntu Ultimate | Windows 7 OS
-
07-04-2011, 12:30 PM #968iPhoneaholic
- Join Date
- Jun 2011
- Location
- Riverside, California, United States
- Posts
- 464
- Thanks
- 24
- Thanked 78 Times in 58 Posts
I agree the wiki didnt explain everything too well, but I managed to figure out things for the most part, that and reading codes from other themes to help me more understand how things work
and there will be a release of my theme with credit given to both SirTimothy and Lopeard, I'm just working out a few functions, I need to get the wallpaper changer working, I wasnt at my computer most of the day yesterday so I was trying to do a little bit of coding from my phone and iFile jumbled my if/then/else codes so I had to iron out some things, I have the minimizing feature working, stacks and worked out the issue i was having when opening a finder window from the HDD icon while one was minimized
all thats left to do is find more wallpapers to use, finish coding the wallpaper changer, and add the startediting function, I'm not too sure about the code for that though, i need to use an if/then/else function so i can put it into a drop down link in one of the menus
-
07-04-2011, 01:17 PM #969Dreamboard Porter/Themer/Coder
- Join Date
- Jan 2011
- Location
- var/Library/Dreamboard
- Posts
- 1,245
- Thanks
- 895
- Thanked 667 Times in 417 Posts
Alright, it has been a while since i posted for help here. I have been working on my theme and i have run into 2 issues that kinda of get me lost. Here is my code below.
The 2 issues i have run into is: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>insertview CydiaSubMenu above Wallpaper</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> <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> </dict> </plist>
1) When you click the button Once, the grid shows up. When the same button is clicked again the grid doesn't go away. It stays open, idk what to do, i have tried the Toggled format and it doesn't work.
2) I want a sub-menu background to show up behind the Grid. How would i do that? I have tried for it to show up at the same time as the grid when the button is clicked but it does not work at all. It doesn't show up.
Please help! TIA!
-
07-04-2011, 02:25 PM #970Delirious
- Join Date
- Feb 2011
- Location
- New Zealand
- Posts
- 620
- Thanks
- 125
- Thanked 1,250 Times in 186 Posts
Read the code I gave to Korbyn, it might help.
iFile doesnt really jumble up your code, it still works. My whole theme is made from iFile (30kb+), all it does is order your if/then/else alphabetically, and your functions and variables alphabetically, which doesnt make a difference. I know PhanaticD might rage at you for that, but just ignore it. It doesnt make it any more complicated.
Oh, Falcon12's Asymmetric HD is a really good help, you should learn from that. Endroid is kinda okay to learn from, but is minimalistic and designed to have the least coding possible, as Wynd is the only true person that knows Dreamboard inside out, since he designed it so he knows all the shortcuts.Last edited by kooris; 07-04-2011 at 02:29 PM.
-
07-04-2011, 02:37 PM #971Dreamboard Porter/Themer/Coder
- Join Date
- Jan 2011
- Location
- var/Library/Dreamboard
- Posts
- 1,245
- Thanks
- 895
- Thanked 667 Times in 417 Posts
-
07-04-2011, 02:47 PM #972iPhoneaholic
- Join Date
- Jun 2011
- Location
- Riverside, California, United States
- Posts
- 464
- Thanks
- 24
- Thanked 78 Times in 58 Posts
It actually made a difference at one point, I had an if function tied to an icon on the status bar that when pressed it would check if the window was open and if it was open, itd close it, but if it was closed itd open it, I also had the red orb on the window tied to the same function, but it would just put my phone in safe mode when i pressed the red orb, i fixed it by reordering the if function so it was actually in order
-
07-04-2011, 02:49 PM #973
@frightdealer 1. which button 2. you would use a imageview
the wiki is a reference, i did not make tutorials since i assumed wynd was going to continue his... the wiki assumes you can teach urself, if there is a high demand i might make some tutorials
Official DreamBoard Wiki
Twitter | YouTube
My Themes: ipod 5g themes | Origins [blue] | Ubuntu Ultimate | Windows 7 OS
-
07-04-2011, 02:55 PM #974iPhoneaholic
- Join Date
- Jun 2011
- Location
- Riverside, California, United States
- Posts
- 464
- Thanks
- 24
- Thanked 78 Times in 58 Posts
one more question, is it possible to insert a code that would set the wallpaper whatever wallpaper is chosen through the settings or camera roll?
-
07-04-2011, 02:59 PM #975
no because the wallpaper isnt stored as a image i dont think, before firmware 4.1 you probably could do /user/library/springboard/wallpaper.png or soemthing similar
Official DreamBoard Wiki
Twitter | YouTube
My Themes: ipod 5g themes | Origins [blue] | Ubuntu Ultimate | Windows 7 OS
-
07-04-2011, 03:02 PM #976My iPhone is a Part of Me
- Join Date
- Sep 2010
- Location
- New Mexico
- Posts
- 657
- Thanks
- 186
- Thanked 244 Times in 143 Posts
-
07-04-2011, 03:04 PM #977iPhoneaholic
- Join Date
- Jun 2011
- Location
- Riverside, California, United States
- Posts
- 464
- Thanks
- 24
- Thanked 78 Times in 58 Posts
-
07-04-2011, 03:12 PM #978Livin the iPhone Life
- Join Date
- Jan 2008
- Location
- Gent belgium
- Posts
- 1,507
- Thanks
- 247
- Thanked 778 Times in 413 Posts
iGamers any luck on That plist ? Pm me About it
-
07-04-2011, 04:18 PM #979Dreamboard Porter/Themer/Coder
- Join Date
- Jan 2011
- Location
- var/Library/Dreamboard
- Posts
- 1,245
- Thanks
- 895
- Thanked 667 Times in 417 Posts
Well, some tutorials would be really helpful! Cause i get lost..
Alright, well for which button, it would really be all of them. Click the AllAppsButton would hide all the others and when you click the AllAppsButton again, i want the grid to go away. Same goes for all the other buttons in this situation.
I kno it has to be an imageview. Well, sorta had the idea of it...
But where would i put it? I tried to put it in the DynamicViews section, but it gave me a black screen. Also, i tried in the MAinView section, and another black screen. I have been wrapping my head around it for 2 days, and finally decided to post here...
Thanks for your help bro! Appreciate it!
-
07-04-2011, 04:55 PM #980
ok well everytime u click the same button its performing the same action, so you would have to use variable to stand for the menu being open
so make a variable called 'cydiavar' and it will be equal to '0' representing closed. see coding section in wiki for syntax
when you tap the button to open the submenu, at the same time make the variable '1' which will stand for it being open
so instead of just insertview cydiamenu, ur code will be... <string>get.vars.cydiavar = 0 ? insertview CydiaSubMenu above Wallpaper, var.cydiavar = 1 : removeview CydiaSubMenu, var.cydiavar = 0</string>
basically saying this: you start with 0 which equals closed, then the action does "if its closed open it, and set the var to mean its open.. otherwise close it and set the var to represent its closed"
as for the background, just make a container view (viewtype is just view) and put the grid in there and the image background as subviews of the container
Official DreamBoard Wiki
Twitter | YouTube
My Themes: ipod 5g themes | Origins [blue] | Ubuntu Ultimate | Windows 7 OS
-
The Following User Says Thank You to PhanaticD For This Useful Post:
FrightDealer (07-04-2011)




LinkBack URL
About LinkBacks
Reply With Quote




