You are here

Basic custom directories and indexing support in PAM

8 posts / 0 new
Last post
José Pedro Arvela
Offline
Last seen: 5 years 2 months ago
Joined: 2007-07-10 07:29
Basic custom directories and indexing support in PAM

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.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
Hmm

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."

Ttech2
Offline
Last seen: 16 years 4 months ago
Joined: 2007-07-15 15:47
Help me! Whats the ini file

Help me! Smile Whats the ini file for? Like the Documents folder and Portable apps folder or for each app?

John T. Haller
John T. Haller's picture
Online
Last seen: 13 min 27 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Coming

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!

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
.

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."

slingky
Offline
Last seen: 16 years 2 months ago
Joined: 2008-01-16 16:40
Is there any news on this

Is there any news on this ?

I really would like to customize documents, music, videos and pictures location...

Thanks.

José Pedro Arvela
Offline
Last seen: 5 years 2 months ago
Joined: 2007-07-10 07:29
Soon

See the forum. I am pretty sure that the next version (probably here this or next week) will have these features, and enhanced.

Blue is everything.

John T. Haller
John T. Haller's picture
Online
Last seen: 13 min 27 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
1.5

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!

Log in or register to post comments