PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Touch Pro (http://forum.ppcgeeks.com/forumdisplay.php?f=63)
-   -   Adding tabs to TF3D? (http://forum.ppcgeeks.com/showthread.php?t=52328)

henbone11 01-08-2009 08:01 AM

Adding tabs to TF3D?
 
Ok, I need to ask another n00b question. From the information that I have found in different threads, the information is contradictory. Can you add tabs to TF3D without cooking a new ROM? I know in Diamond TF3D config utility you can uncheck tabs so that they dont show. I am wanting to add tabs though.

I looked through this thread, http://forum.xda-developers.com/showthread.php?t=452958, but it changes too much. I dont want to change icons or styles. I just wanna add tabs.

Any help would be appreciated. Thanks.

ShadowDrake 01-08-2009 02:31 PM

Re: Adding tabs to TF3D?
 
5 Attachment(s)
It's sad that this didn't get an answer.

Yes, you can add tabs, it's not very difficult. Generally, all that is involved is editing your 26948339_Manila file. Copy it from your device, open note pad, drag and drop the file into notepad to open it.

It's an xml file so it's structured. Scroll down a little to the line that says
Code:

<!-- 'page' extension == Manila pages -->
Listed below are all the tabs for TF3D! You should notice that the first thing it says is PageOrder="0"... that means that tab is the first one. By default, they should be in order, but it doesn't matter where you add the text for new tabs, just be sure that you do not have two tabs at number 2, for example.

I have added two tabs to my TF3D... Call history and Comm manager. Here is the code for each:

Call history (BY DEFAULT AFTER PEOPLE TAB! Remember to change the Page Order numbers if you want it somewhere else, and also remember to change the other page numbers afterwards). Additionally, you will need a file that is attached, 1d1ee632_manila. If you do not add that file, but paste this in your 26948339_manila file, TF3D will not start, and you will have to delete 269* to have the default one re-created.
Code:

      <Page Order="2" Name="callhistory.page" PackageName="HTC" Title="[[IDS_CALLLOGTITLE]]" ExternalScriptPath="HTC\Scripts\orangecalllogtransitions.luac">
        <ComponentReference Name="page" Mode9Path="HTC\CallLog.mode9" Component="GizmoRoot" SmartComponent="true" />
        <ComponentReference Name="icon_normal" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Off" />
        <ComponentReference Name="icon_selected" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_On" />
        <ComponentReference Name="icon_preview" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Preview" />
        <ComponentReference Name="icon_notification" Mode9Path="HTC\Icons.mode9" Component="Notification_People_CallHistory" />
      </Page>

Second, here is the code for a Comm Manager tab, which I have placed just before the settings tab. I only have 11 tabs (no sprint TV, though I will eventually be adding that back), so just like before, remember to change the page order number to suit where you would like it to be. The comm manager background will be black by default, to change the text to grey, you need to copy 1f3be060_manila that is attached here as well. Why grey instead of white? Because under settings, the Sounds menu has a white background... There is only one location where the text color for TF3D is stored, so grey works for both black and white backgrounds.
Code:

      <Page Order="9" Name="communications.page" PackageName="HTC" Title="[[IDS_COMMUNICATIONS]]" >
        <ComponentReference Name="page" Mode9Path="HTC\settings.mode9" Component="CommunicationsPageComponent" SmartComponent="true" />
        <ComponentReference Name="icon_normal" Mode9Path="HTC\icons.mode9" Component="Programs_Off" />
        <ComponentReference Name="icon_selected" Mode9Path="HTC\icons.mode9" Component="Programs_On" />
        <ComponentReference Name="icon_preview" Mode9Path="HTC\icons.mode9" Component="Programs_Preview" />
      </Page>

Last, if the title of your Comm manager tab is [[IDS_COMMUNICATIONS]], you either need to edit your 090661f7_manila and add:
Code:

      <trans-unit id="IDS_COMMUNICATIONS">
        <source>Comm Manager</source>
      </trans-unit>

, or change in the code above for the comm manager, where it says [[IDS_COMMUNICATIONS]] to say whatever you like. The reason it says what it says is because the 090661f7_manila file is a localization file, so anywhere it would say Comm Manager, or anything else can be changed by only editing a single line in a single file, instead of searching through tons of _manila files to correct a problem, or change the language. So I ask if you only edit the [[IDS_COMMUNICATIONS]] line that you do not share your modified file! Thanks :)

I'll also attach my 26948449_manila file, as well as all 4 in a single .zip archive.

henbone11 01-08-2009 02:40 PM

Re: Adding tabs to TF3D?
 
Thank you so very much for answering my question, and answering in such detail. I really appreciate it. I am gonna give this a go. Will let you know how it turns out for me. Thanks again. :)

ShadowDrake 01-08-2009 02:46 PM

Re: Adding tabs to TF3D?
 
Quote:

Originally Posted by henbone11 (Post 626819)
Thank you so very much for answering my question, and answering in such detail. I really appreciate it. I am gonna give this a go. Will let you know how it turns out for me. Thanks again. :)

If you run into any issues or would like me to modify your files, let me know. There's a calendar tab available too but it's really useless as it does not sync with POutlook, it just looks pretty and shows the current date.

henbone11 01-08-2009 02:59 PM

Re: Adding tabs to TF3D?
 
Would it be possible to have a sprint navigation tab? And a Games tab like the programs tab? It really isnt necessary, but then again, how much of this stuff is? :)

ShadowDrake 01-08-2009 03:21 PM

Re: Adding tabs to TF3D?
 
Quote:

Originally Posted by henbone11 (Post 626847)
Would it be possible to have a sprint navigation tab? And a Games tab like the programs tab? It really isnt necessary, but then again, how much of this stuff is? :)

Hasn't really been discovered yet, though it would be awesome. Sprint obviously has enough information to add totally new tabs to TF3D, the other two (call history and comm manager) were already tabs in Manila, but were just not added.

The calendar tab actually IS someone's custom creation, so that is a project I'm watching closely... I can't wait to be able to add much more information into tabs.

So no, not possible, -yet-. It will come, I think :evil4:

henbone11 01-08-2009 03:36 PM

Re: Adding tabs to TF3D?
 
right on. Hey, I have a question about the files that you attached. the CommManager-CallHistory-GreyText-TF3D.zip file is just all of the files combined right? Also, I called [[IDS_COMMUNICATIONS]], [[IDS_COMMS]]. Is that ok? I have modified the 26 manila and added the 1d and 1f manila to the windows folder. I replaced the 26 manila file in windows. Just making sure I got everything before I reboot and try this.

henbone11 01-08-2009 03:51 PM

Re: Adding tabs to TF3D?
 
well, something didnt work right because tf3d wont load. lemme go over this again.

shaun0207 01-08-2009 03:53 PM

Re: Adding tabs to TF3D?
 
Quote:

Originally Posted by ShadowDrake (Post 626804)
It's sad that this didn't get an answer.

Yes, you can add tabs, it's not very difficult. Generally, all that is involved is editing your 26948339_Manila file. Copy it from your device, open note pad, drag and drop the file into notepad to open it.

It's an xml file so it's structured. Scroll down a little to the line that says
Code:

<!-- 'page' extension == Manila pages -->
Listed below are all the tabs for TF3D! You should notice that the first thing it says is PageOrder="0"... that means that tab is the first one. By default, they should be in order, but it doesn't matter where you add the text for new tabs, just be sure that you do not have two tabs at number 2, for example.

I have added two tabs to my TF3D... Call history and Comm manager. Here is the code for each:

Call history (BY DEFAULT AFTER PEOPLE TAB! Remember to change the Page Order numbers if you want it somewhere else, and also remember to change the other page numbers afterwards). Additionally, you will need a file that is attached, 1d1ee632_manila. If you do not add that file, but paste this in your 26948339_manila file, TF3D will not start, and you will have to delete 269* to have the default one re-created.
Code:

      <Page Order="2" Name="callhistory.page" PackageName="HTC" Title="[[IDS_CALLLOGTITLE]]" ExternalScriptPath="HTC\Scripts\orangecalllogtransitions.luac">
        <ComponentReference Name="page" Mode9Path="HTC\CallLog.mode9" Component="GizmoRoot" SmartComponent="true" />
        <ComponentReference Name="icon_normal" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Off" />
        <ComponentReference Name="icon_selected" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_On" />
        <ComponentReference Name="icon_preview" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Preview" />
        <ComponentReference Name="icon_notification" Mode9Path="HTC\Icons.mode9" Component="Notification_People_CallHistory" />
      </Page>

Second, here is the code for a Comm Manager tab, which I have placed just before the settings tab. I only have 11 tabs (no sprint TV, though I will eventually be adding that back), so just like before, remember to change the page order number to suit where you would like it to be. The comm manager background will be black by default, to change the text to grey, you need to copy 1f3be060_manila that is attached here as well. Why grey instead of white? Because under settings, the Sounds menu has a white background... There is only one location where the text color for TF3D is stored, so grey works for both black and white backgrounds.
Code:

      <Page Order="9" Name="communications.page" PackageName="HTC" Title="[[IDS_COMMUNICATIONS]]" >
        <ComponentReference Name="page" Mode9Path="HTC\settings.mode9" Component="CommunicationsPageComponent" SmartComponent="true" />
        <ComponentReference Name="icon_normal" Mode9Path="HTC\icons.mode9" Component="Programs_Off" />
        <ComponentReference Name="icon_selected" Mode9Path="HTC\icons.mode9" Component="Programs_On" />
        <ComponentReference Name="icon_preview" Mode9Path="HTC\icons.mode9" Component="Programs_Preview" />
      </Page>

Last, if the title of your Comm manager tab is [[IDS_COMMUNICATIONS]], you either need to edit your 090661f7_manila and add:
Code:

      <trans-unit id="IDS_COMMUNICATIONS">
        <source>Comm Manager</source>
      </trans-unit>

, or change in the code above for the comm manager, where it says [[IDS_COMMUNICATIONS]] to say whatever you like. The reason it says what it says is because the 090661f7_manila file is a localization file, so anywhere it would say Comm Manager, or anything else can be changed by only editing a single line in a single file, instead of searching through tons of _manila files to correct a problem, or change the language. So I ask if you only edit the [[IDS_COMMUNICATIONS]] line that you do not share your modified file! Thanks :)

I'll also attach my 26948449_manila file, as well as all 4 in a single .zip archive.

Thanks. I'm gonna try this too. But I have a couple of questions:

1. How do you know when you need to add a file (like you said we need to do for the call history tab) to add a tab to TF3D?

2. Will you need to re-add the tabs after you change a Theme using TF3D Config? (currently using the Purple theme)

3. Can you post the code to add the Sprint TV tab back?


4. If I want to add a tab that says "MEDIA" and how have it look similar to the Internet tab with "Core Player" as my Icon and having links to other media player(like kinoma,WM player, etc..) underneath it, how would I do it? is it possible?

ShadowDrake 01-08-2009 03:55 PM

Re: Adding tabs to TF3D?
 
Quote:

Originally Posted by henbone11 (Post 626927)
right on. Hey, I have a question about the files that you attached. the CommManager-CallHistory-GreyText-TF3D.zip file is just all of the files combined right? Also, I called [[IDS_COMMUNICATIONS]], [[IDS_COMMS]]. Is that ok? I have modified the 26 manila and added the 1d and 1f manila to the windows folder. I replaced the 26 manila file in windows. Just making sure I got everything before I reboot and try this.

That's correct except about the [[IDS_COMMS]] part unless you changed the entry in 090661f_manila to match. The entry in brackets tells Manila to refer to the localization file to retrieve the proper name. I'll be sure those are all of the files, I will edit this post in a minute :)

Edit: If you can't get TF3D to start, -worst case scenario- just delete (or rename) the files that you have modified or replaced, and soft reset, the originals will be re-created. I'm still searching!

Edit 2: Try for me, please, just the comm manager tab and let me know if TF3D will start with only that modification added. I'm thinking it's a possibility that the manila file I included for call history is missing things for the newest versions of Manila. I'm using an old version of Manila, that still has the animations enabled.


All times are GMT -4. The time now is 02:39 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0