I wanted to begin a discussion on the actual setup of themes in PortableApps.com Theme Format which is what we'll be using for 2.0 and up. I did a quick example theme that you can download to play with. Get it here:
https://portableapps.com/downloads/app_extras/platform/themes/PortableAp...
It's a ZIP right now, but the themes will actually be zip files renamed to .patheme when we're ready to start releasing them. To try it, unzip it to your X:\PortableApps\PortableApps.com\App\DefaultData\Theme folder. It replaces your current theme so back it up first. Remember that it will be replaced when you upgrade the Platform.
The details of the theme are included in a file called PATheme.ini. The contents for this example theme are (NOTE: This has been updated to what will be supported in the next release):
[PortableApps.comTheme] PortableApps.comThemeVersion=1.2.1 PortableApps.comThemeType=Simple [ThemeDetails] Name=PortableApps.com Classic Version=1.2.1 Author=PortableApps.com URL=https://portableapps.com/ [ButtonApplications] FontColor=000000 [ButtonFolders] FontColor=FFFFFF [DriveSpace] FontColor=FFFFFF FontShadowColor=888888 StretchImage=true [DriveName] FontColor=FFFFFF
As you can see, this is for what we're calling Simple themes which don't alter the layout of the form. The PortableApps.comTheme section includes details on the type of theme and the theming engine version it uses (1.2 in this case). The ThemeDetails section is the basics of the author, version, website, etc. We'll be adding FontHoverColor and FontPressedColor to the ButtonApplications and ButtonFolders sections so themers can colorize the font on hover and press as well.
The ButtonApplications section allows you to set color of the font for the app icon labels. The ButtonFolders section allows you to set the color of the font for the folder button labels. The DriveSpace section allows you to set the color of the font for the foreground and shadow for the label and to define whether the image used to display used space should be stretched/compressed or just shown (which would cut off the right side of the image).
The following images are included:
background.png - The menu background (this must be a non-transparent PNG with any areas you want transparent set to the magic color aka magenta - #FF00FF)
background_opaque.png - Background used on older operating systems that can't do transparent areas (this must be a non-transparent PNG without any magenta)
button_*_hover.png - Used when the mouse is over the button
button_*_normal.png - Used for the button
button_*_pressed.png - Used when the mouse button is pressed down
etc...
The appbutton_hover.png and folderbutton_hover.png are alpha PNGs that allow what's underneath to show through. This is what gives us such a nice effect. Incidentally, the button_*_... images above can also be alpha PNGs. They are in the current menu and the classic, actually.
Alright, so I wanted to open up to see if we're missing anything yet in terms of Simple theming. We'll be doing Advanced later (new folder layouts, etc).
Also, please don't start posting themes in new topics yet. This is just to get discussion going. We'll have a dedicated forum for themes on the 2.0 release once the theme switcher is included.
Thanks!
Updates
Some updates have been made to the example theme INI above that are not yet supported in a release of the PortableApps.com Platform.
1.2.1 (2009-03-19): Added ability to change color of drive name font
John,
Will this over write the current theme, should we make a backup ?
Tim
Things have got to get better, they can't get worse, or can they?
I thought it was obvious, but I just added a note in case.
Sometimes, the impossible can become possible, if you're awesome!
Hmm, I suspect this is pre-freestyle skins?
I would suggest having separate ini entries or separate ini files for each skin so a skin can be delivered completely and its easy to select and switch between themes without copying ini files, renaming or things like that. But I suspect that's the way it will be done eventually..
PATheme.ini
MYTheme.ini
Etc.
Maybe also think about backward compatibility for these skins with the upcoming ones..
Yes:
And no on the 2nd. The menu will automatically create a folder for each skin which will contain it. The INIs won't be in the same directory.
Sometimes, the impossible can become possible, if you're awesome!
I hope I didn't misunderstood you... anyway..
I would like to suggest you think about putting ini's in the theme's folder and make the theme selector check for theme-folders to determine the themes. I think it would be good practice to have all files belonging to one theme in one folder without INI files floating around. This will make managing themes (developing, adding and removing) an easier experience for developers. (IE copy one folder to present a complete theme instead of one folder and an ini file, and you don't need to backup your current theme.)
Or is there a specific technical reason to have the INI files outside the Theme folder?
Unless ofcource all themes use the same ini and it's just a pointer to a different folder, in which case I wonder what the use is for an INI as one could just keep a standard naming sceme. Maybe even copying the ini content.
But if it is a preperation for the future freeform themes as well I'll vote to already put the theme.ini into the theme folder.
Thanks for all the work on the menu and I hope you don't feel like I'm nagging, as I'm just wanted to express my thoughts about the standard that's future proof.
The INIs will be in the folder for the THEME. I meant that the INIs won't all be in the same folder. All themes will be self-contained in their own folder. No files will intermingle.
Sometimes, the impossible can become possible, if you're awesome!
Ah sorry, i misunderstood as in the INI's wont be in the same folder .
Thanks for clearing that up
PS. maybe its a good idea that if a user has multiple themes available, keep them as zipped format and only unzip the current theme. This way the user can have more than one theme for his menu and uses the least space. (Actually it depends on the size between zipped and extracted themes though. ie. write cycles versus size on the USB flash drive)
The default theme is 96KB. Zipped it's about the same as we're dealing with optimized PNGs anyway. Well, they can be optimized a tad more... but we're looking at no size difference.
Sometimes, the impossible can become possible, if you're awesome!
If it's possible, I would suggest adding FontColorHover, and FontColorPressed to the buttons.
I assume that you will have an "Install New Theme" menu entry like the "Install New App" one. Maybe consider checking the theme directory for any new .patheme files and automatically install theme. We could then just download themes directly to the theme folder and not have to tell the platform to install it.
When you install through the "Install New Theme" dialog, it might be nice if when finished it asks "Apply This Theme Now?"
Will the platform be loading the themes from the .patheme files or will it extract each one as it is installed and then delete the .patheme files?
I forgot to note that I'm going to add them in. And they're the names you mentioned to be consistent with the images.
There will be an Install New Theme as well as the ability to drag and drop a theme in. Probably won't do the directory thing since it would slow startup a good amount. And most folks will probably download themes as they use the Platform, so they can install them right after download... the drag and drop will make this very easy.
I'm not sure about Apply this now. We may have to get more complicated and add a Do Not Ask Again thing to it since it could get annoying for users who like to add lots of themes.
The .patheme files will be extracted to the Platform's data folder. They won't be saved. Kinda like Firefox extensions.
Sometimes, the impossible can become possible, if you're awesome!
Ok, that clears some things up.
Ready for discussion of "complex?" themes now.
themes are then treated similar to the personal pic? Patheme folders could be put everywhere, eg the Pictures folder?
My question two: what about the wallpapers? (Or is that already advanced themeing?)
Should they come as separate files to be renamed for use? Or are they extracted, too?
This would blow up the data section of the platform, of course. An entry in the theme.ini like loadwallpaper=true and wallpaper=Mynamewallpaper might show the right name? What do you think?
"Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis .." Friday Next -
"May The Schwartz be with You!" Yogurt the Yoda
Then...
button_*_hover.png
,button_*_normal.png
andbutton_*_pressed.png
do not support alpha transparency? Onlyappbutton_hover.png
andfolderbutton_hover.png
support transparency?This means that we have to know where the button will be so we can copy the background, right?
Or do these support transparency too?
Beyond that I don't have much further questions.
-------------------------------
And what happens to older threads that have older themes? Should these be moved to the new Theming Forum when this is created? Or should they be left in its own place? Adapted to the new forum by modifying slightly the title and move would be the best idea in my opinion.
-------------------------------
I actually have a nice idea
On my site I've made a very simple idea that needs no modules (unless for some extras below) and provides a clean system for installing themes.
I've basically made a new type of page called Projects and used taxonomy and URL alias to link it directly to
/projects/PAMthemes
. That page type allows attachments; and with the CreativeCommonsLite module I can add the theme's license directly to the page.If we change this idea a little bit, it can be feasible here.
My idea is to make the forum for the themes to have a special taxonomy therm that would be set up with a few settings:
Basically it would have several fields (using CCK or Views module or whatever is best in this case) for:
Other fields could be made for things like changelogs, license and issues (or simply an "Other" field for all other things).
I know this isn't feasible in such dimensions site, but some ideas can be taken and modified to create a nicer system.
-------------------------------
(sorry, this is how my posts look when I am interested in something and I want to help, but have nothing to say )
Blue is everything.
Yeah, actually all the app buttons can be alpha. Sorry for misleading on that. They are now actually if you look at em. Everything can use alpha including the folder and options and help icons. The only thing that can't is the menu background which has to use the special key color at the moment but should use single-color transparency in the PNG itself later (just fixing a bug with it now).
Themes will be listed in two ways. The forums will be for everyone to post stuff for now. And we'll have a separate directory. I'll be using CCK for it as you suggest actually.
It may make sense to do special forum post styles to let people post themes... if you already have a setup for that, we should talk about it. We may be able to do it here. Just not sure about the size of it all eventually since we could be looking at a lot of themes. Any ratings included?
Sometimes, the impossible can become possible, if you're awesome!
Basically I've made a new page type called projects, and used taxonomy to point the themes listing to
/projects/PAMthemes
so i wouldn't have to do a listing manually.What then I added was the CreativeCommonsLite module so I could add the license to it.
As this was a personal thing made only for me to have an easy way to list my themes (only 3 atm ) I didn't made any messy stuff.
I allow attachments (they are only my themes), but in here it would be better to use CCK to point to an external site with the file download.
It was a very simple thing, the URL for what it looks like is here (sorry for the shameless self promotion ).
Actually I have something malfunctioning because the license isn't showing as it should
But basically I have revisions enabled, and have some basic structuring that could be made with CCK (maybe it is better to show the License in a CCK field too). I'd like to point out I've never worked with PHP and never worked with CCK, I only know what it is.
But my idea stands for these fields:
And to display them in the best form possible.
Unfortunately I have no idea on how to make ratings.
EDIT: If you want, I can give access to administration in my site for you to see how it is set up.
Blue is everything.
i think for basic theming its all included. and this format is ok.
for advance theming we need some more options like button size and place, menu size, applist size......
Hell was full, so I came back!!!
Sorry for my lousy English!!!
That's planned. AppList size may wait for the next version of Advanced, though, or be a simple 10, 20, 30 switch or similar. But yeah, stuff like button location and dimensions for the folder and option stuff independently. Location, spacing and offset for the app list (offset will let you have the applist appear on a diagonal line for instance... AppButton1 and then 15 px down 5px right AppButton2, etc). Form height and width. PA.c logo placement (with option for a small PA.c logo or possibly no logo, etc, etc). But we'll start posting some ideas for all that in a new thread later this week. Let's not clutter this one up.
Oh and please don't post themes, yet, since they're not actually in PortableApps.com Theme format and can't be until the next test release. I'll open up the Theme forum then.
Sometimes, the impossible can become possible, if you're awesome!
sounds realy good, i like the diagonal idea. and yes i will not upload themes for now. only one as lternative
new year new work. im back on portableapps.com lol
regards
neorame
Hell was full, so I came back!!!
Sorry for my lousy English!!!
Ok, I know you want to wait until later to discuss ideas, but this question is really important.
Can buttons be displayed over an area that is transparent on the background?
Edit: Nevermind, I just checked. The transparent color shows through the button.
Delphi doesn't support transparency outside of itself. This is unchanged. Not sure if the latest Delphi release supports it or not.
Sometimes, the impossible can become possible, if you're awesome!
as i have thought since the betas for 1.2, i believe that there should be something like a line in the config that dictates the type of theme.
for instance, full support for 1.1 style themes could be accieved by adding a line to the config (and some re-coding of the menu) to disable all of the extra images that are used in the newer 1.2/1.5 themes as well as allowing for the use of the older jpg and bmp formats.
i also think that this could be more general in the fact that it would not only be support for 1.1 themes and older but "Simple Style" themes such as the classic menu theme.
for now thogh i will experement a bit with the current format and see if i cant make up a non-intrusive, no code hack. i will also try to upgrade all of my themes to 1.5 standards.
any replies would be appreciated, especially from u JTH
Zoop
I've just noticed that, although there is a setting to change the color of the drive space label, there is no option to change the color of the drive label itself next to it.
Here is a preview of the bug, and here is my PATheme.ini:
Blue is everything.
Yeah, that would be an ommission. I'll get it in the next release.
Sometimes, the impossible can become possible, if you're awesome!
Could you provide us now the new parameters for when this is fixed? So we can make our themes "forward compatible" with the version that will fix the omission?
Blue is everything.
We're encouraging users not to post themes as the Format is not yet official. Any themes posted now are not guaranteed to work with anything.
I've updated the original post with the format.
Sometimes, the impossible can become possible, if you're awesome!
I can't wait for the theme switcher to come out, i've already started on my own themes
http://img5.imageshack.us/my.php?image=patheme.png
edit: for some reason the background.png won't become transparent when used, can someone tell me why? Just in case, im using GIMP
replace all "transparent pixel" with pixel of pure magenta (255,0,255).
take a look how the original did this effect.
happy theming
Life is crunchy, anywhere
that didn't work either...
You can't save it as a transparent PNG (alpha or single color). Save it as a normal PNG and any areas you want transparent in the menu have to be magenta.
I thinned out the extraneous posts. Please note that this is not a HOW TO topic at the moment. We're discussing how the theming system will be setup once it is done.
Sometimes, the impossible can become possible, if you're awesome!
Thank you, that seemed to work perfectly
I believe the .patheme format should have the ability to add custom icons that override the default icons. This would be much easier than manually changing the default icons just to get the effect of custom icons.
This, I believe, would cause the files to look something like this:
I do understand that the format has been set; however, this feature will be appreciated by me, and I imagine many others.
Thank you all for reading my absurdly long post.
You can override any of the icons you'd like with the custom theme. Any you don't override, the defaults will be used. Your theme can actually be a background only and then all the defaults will be used. Or you can just add the documents icon. Same thing.
The current one doesn't make a good example of it, but you can include any files from the Default theme in your .patheme and it'll use em.
PS - I removed your homepage link in the post. Links aren't allowed in signatures or end-of-post pseudo signatures. Your homepage appears in a link next to your name.
Sometimes, the impossible can become possible, if you're awesome!
Okay now I will know for future reference...cool!
Ohhh!!?? Now I see the homepage thing...
P.S. i had to look up "pseudo."
It would also be good to have the ability to rename the thumbdrive so that comes up with whatever we want instead of the default "PortableApps.com". I use mine on public computers and naming the thumbdrive is an easy way to find their owner as labels do wear off. At the moment I've got my name on the menu's title bar, which I shifted to a different color.
Click the name in the PortableApps.com Menu in the lower left to rename it. It'll rename it in the drive as well, but Windows may not show it until you eject and re-insert.
Sometimes, the impossible can become possible, if you're awesome!
Son of a gun, so it does!! Cool!!
Ed
Some of the little gems of life
Shane Thompson
shanet[at]people[dot]net[dot]au
"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut ali
Does this mean that icon packs could be used interchange-ably with different themes? Like for Android OS?
Also, would current themes available for the current version of PAM and SmithTech be forward compatible? Or would the themers have to redo all current unofficial themes?
Halten Sie die großartige Arbeit
I was using themes by PTC although their site has been down for nearly a year now. What facilities are now available to change themes?
Any help much appreciated
https://portableapps.com/node/25260
It's still in the beta stage, but it's pretty well functional. I'm waiting for the release of 2.0 (which will likely be here in a few months) before I do another rev.
Check my homepage for some more resources.
I made this half-pony, half-monkey monster to please you.
Thanks, that looks good, where can I get a copy of the 2.0 menu, is there a beta?
It's here:
https://portableapps.com/node/24258
In reality, it is as stable as the 1.6, but it already has many of the new features slated for the final 2.0, which should get released this year, I hope.
I made this half-pony, half-monkey monster to please you.
As Chris and solanus (somewhat) have brought up in another topic I made, I imagine copyrights are a touchy ground when it comes to theming, as people will be posting quite a lot of themes based on lots of popular stuff (think somewhere along the lines of a Lady Gaga theme), so what's the word regarding making themes based on copyrighted works? I think that you, John, would know what to say in regards to this issue, as I am somewhat reluctant to make anymore themes due to this. Please respond on this issue, as I would figure that a lot of people are also wondering about this.
You know what, I've been thinking. When life gives you lemons, don't make lemonade. Make life TAKE THE LEMONS BACK! Get mad!! I don't want your lemons; what am I supposed to do with THESE!?
Was curious about what the program will do as of version 10... New Skins and files? Format...
I have a couple of screens of some mods I have made to it.. some playing around .. so far on my own.. basically working from skins present and using the INI + Photoshop.. Thought I would see what anyone here may think of the direction I am headed.. with it.. or feedback... ( still working but was curious... )
:evil: Some files were harmed during the modification of this program.. - My Disclaimer..
http://i53.photobucket.com/albums/g74/heath28m/OOPS/2011-12-14_231859.png
http://i53.photobucket.com/albums/g74/heath28m/OOPS/2011-12-14_234323.png
Was just wondering if this topic was closed..or dated for version 2... Looking back at the dates and lack of responses here... I was trying to find the topic where the themes were listed awhile back but wasn't able to find it.. sort of thinking I posted in the wrong thread...
*Note: I am not bumping for lack of patience just a second thought on the post..
EDIT: added version with Personal Pic...
http://i53.photobucket.com/albums/g74/heath28m/OOPS/2011-12-15_133814e.png
Thus far.. I have finished the Menu UI appearance..
Preview shows the menu with unmodified 10.0.1.. Others are running on private modded version. ( Hoping for these features one day however, changing logo or hiding, font control for the menu, and drive status alteration. These items had to be changed by 'other' means. I also wanted to modify the height of the apps menu area to even it up in the free space during normal usage but haven't worked it out yet..
First full mod preview shows the menu in its normal state and during loading, second larger capture shows the menu with everything hovered and turned on. Third smaller, shows the new alternative menu type ( need the categories shown but not yet ) and in this preview you can also see the buttons when they are pressed. and with the UI running on a system without a dark Windows 7 Style as shown in the second. The font does it no justice as it picks up the native style font and uses it but would have been better..
http://i53.photobucket.com/albums/g74/heath28m/OOPS/menuPreviewFullo.jpg
* MultiColored Tag area ( 6 - 8 minimum )
* Maintaining options in original theme to apply different INI color backgrounds. ( Double yo' fun - and editing )
* PSD's included as well.. for all form of edits, of everything
* Branding? :think: - including PA Branding for purposes relative to..??? ( Ghost Image logo )
* Working on icons within the menus next... and categories...
This will probably be the last preview for awhile.
That's what I am hoping for the life of this theme, for it to be able to come to life.. and be something I can share... Feedback would be nice as I mentioned. Inspiration for this has come from many minml design schema, Windows 8, Metro inspired designs... AND Rainmeter of course..
Thx..
Will this over write the current theme,
The resource images will actually overwrite one of the themes, it is the way I had to do it for the current version.. the modified exe will of course overwrite one of the files in the program... HOWEVER, backups can be made.. so on and I have currently overwritten my Flat Theme.. since it was the one I was using at the time... Sorry about the length of time in response..
I have no idea how to work with this sort of thing, and I don't know how to code. But I thought of something, what if there was another form of P.A. theme, where it's pretty much just a spritesheet so somebody could just recolor and edit that, and use that to make a new theme? Don't take it wrong, the other version is cool but I don't read code.
I can't find information on creating themes
I'd like to see the full documentation
for example, how to create non-simple themes?
I saw such parameters in old topics
Height=32
Width=32
Left=80
Top=355
Visible=1
Margin=33
Font=Tahoma
ColorR=0
ColorG=0
ColorB=0
Bold=1
Italic=0
Underline=0
StrikeOut=0
ListSize=14
TransparentColorR=255
TransparentColorG=255
TransparentColorB=255
FontName=Tahoma
FontColorR=0
FontColorG=0
FontColorB=0
OffsetX=136
OffsetY=133
Bold=1
Italic=0
Underline=0
StrikeOut=0
but in new themes they are not applied to buttons, apparently due to the simple theme type. Tried changing this type, but nothing is applied
and what can and should be written in this setting instead of simple?
PortableApps.comThemeType=Simple