This is a idea for supporting custom folders on the PortableApps Menu and allow a much more improved identification and indexing support.
The idea is to have a little file (called customdir.ini) on each folder. The next example shows an mockup of what could be in the Documents Folder (# represents that the following text in that line are comments for explaining how it works):
[CustomDir] folderid=docs #sets an id to the folder, that way PAM can identify it. foldername=Documents #defines which name should came up on the menu for that folder description=The Documents folder #the description to show up on the menu icon=/PortableApps/PortableAppsMenu/App/IconTheme/documents.ico #the icon to show up on the menu for that folder showonmenu=true #sets up if the folder shows up on the menu or not
Also, we could follow up Ryan's PAID and set a xml file (called customdir.xml) on each folder like this instead:
<?xml version="1.0" encoding="UTF-8"?> <customdir id="docs"> <name>Documents</name> <description>The Documents folder</description> <icon imgtype="ico" location="/PortableApps/PortableAppsMenu/App/IconTheme/documents.ico" /> <shownonmenu value="true" /> </customdir>
PAM would look for these files on every folders on the root of the pen drive and display the folders on the Menu as specified on file. Plus, there would be 4 default ids: "docs", "pict", "videos" and "music", being these the defaults for displaying on the Menu by default, being available making up other ids for each folder on the pen drive.
That way, localized versions of PAM would be easily made. All that would be necessary to do is to rename the folders and translate the file to the actual language. Other idea is to allow translations to rename the name given to each id. Indexing would be easy and searches on the drive could be reduced to specific folders.
I'll do up a better XML file for you, as it would be better to keep all settings in 1 file.
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.
"If you're not part of the solution, you're part of the precipitate."
Help me!
Whats the ini file for? Like the Documents folder and Portable apps folder or for each app?
The ability to customize the 4 defaults is coming in a later release. It will not require hand-editing files when it is officially supported.
Sometimes, the impossible can become possible, if you're awesome!
Good, I was hoping it would be.
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.
"If you're not part of the solution, you're part of the precipitate."
Is there any news on this ?
I really would like to customize documents, music, videos and pictures location...
Thanks.
See the forum. I am pretty sure that the next version (probably here this or next week) will have these features, and enhanced.
It's not in the 1.1 release (release candidate this week), but it will be in the 1.5 release (alpha should drop next week). It's built into the platform and works with the translations and existing folders. You can do custom folders, too.
Sometimes, the impossible can become possible, if you're awesome!