PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Touch Pro (http://forum.ppcgeeks.com/forumdisplay.php?f=63)
-   -   SOLVED!! Show day of week on CClock? (titanium) (http://forum.ppcgeeks.com/showthread.php?t=75955)

raidzero 07-23-2009 04:19 PM

SOLVED!! Show day of week on CClock? (titanium)
 
How is this done? I cannot believe MS did not include it.. right below the date would be great... CanalogClock has it, is it possible to include it on CClock?

raidzero 07-24-2009 03:32 PM

SOLVED! Show day of week on CClock? (titanium)
 
well as usual if nobody answers I end up figuring it out on my own. This time it was because I decided to peer into the WM7 titanium project.

to add the day of week to your clock panel just add the following lines to your CPR's in the clock section: (adjust the location as you see fit)
Code:

<!-- Day of Week -->
      <Text ID="Day of Week" Left="150" Top="80" Width="140" Height="40" FontFamily="yourfont" FontSize="10"

FontStyle="Regular" Wrap="False" HorizontalAlignment="Right" Trimming="EllipsisCharacter">
        <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3"

Alpha="1.0"/>
        <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
      </Text>

and also as usual I will be working on a script to implement this change for users who are afraid, unwilling, or unable to edit their own CPR's.

result:

http://img.photobucket.com/albums/v3...ards03/dow.png

jason25 07-24-2009 03:43 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
nice...I will be waiting since I don't even know what cpr is (opens a new tab and googles it)..at least the cpr that you are talking about

raidzero 07-24-2009 03:46 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Quote:

Originally Posted by jason25 (Post 1057788)
nice...I will be waiting since I don't even know what cpr is (opens a new tab and googles it)..at least the cpr that you are talking about


oops.. guess I should have been more specific. there is a file in \windows\ called titanium_480x640.cpr (for portrait mode) and \windows\titanium_640x480.cpr (for landscape mode)

they are basically xml files that dictate how the today screen looks in in titanium (wm 6.5). with them you can change pretty much everything about the way your home screen looks (fonts, font sizes, and now even add new content). to get at them open your phone in activesync with your PC and enable showing system protected files. (otherwise you wont even see the \windows folder) then just drag the two cpr files onto your desktop, make your edits and drag back to the phone say yes to overwrite. use chomerefresh.exe to refresh titanium or just soft reset.
may wanna make a copy first. no fun when you completely break the files... no fun at all

googling for cpr wont help unless youre looking for emergency first aid ;)

cjrusso 07-24-2009 03:53 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
you should be getting alot more credit then you have been getting.. ive been followings your threads the past week and no one says thanks besides a certain few people.. every1 is so ready to jump to dl your scripts but no1 appraites the time and work youve put into figuring out 6.5 .. but yah im done with this.. thankss anywayy lolol

jason25 07-24-2009 03:58 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
yeah, I couldn't find anything pertinent on cpr, but if it is like editing an xml, well I can do that. Thanks. Getting ready to flash again so I will play around with it tonight. Off to mow the lawn, I hear the wife calling.

raidzero 07-24-2009 04:11 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Quote:

Originally Posted by cjrusso (Post 1057816)
you should be getting alot more credit then you have been getting.. ive been followings your threads the past week and no one says thanks besides a certain few people.. every1 is so ready to jump to dl your scripts but no1 appraites the time and work youve put into figuring out 6.5 .. but yah im done with this.. thankss anywayy lolol

thanks a lot!

raidzero 07-24-2009 04:12 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Quote:

Originally Posted by jason25 (Post 1057828)
yeah, I couldn't find anything pertinent on cpr, but if it is like editing an xml, well I can do that. Thanks. Getting ready to flash again so I will play around with it tonight. Off to mow the lawn, I hear the wife calling.

wives dont much care for editing CPR's... LOL! i know how it is...

jason25 07-24-2009 04:18 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
only took me two tries, thanks! I have to move it down a little bit

raidzero 07-24-2009 04:21 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
excellent! now you know about cpr's go forth and customize the crap out of your today screen! ;)

ChaosTheory 07-24-2009 04:33 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Thank you RaidZero, for yet another great cpr edit.=D> Gonna have to start calling you the WinMo Paramedic :lol:

Ok, bad joke, but oh well :joker:

raidzero 07-24-2009 04:40 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
lol that is funny +1

z0mbiexx 07-24-2009 06:27 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
worked perfectly :D. you know of any way of renaming the panels? like text, voicemail, phone etc i didn't see anything in the cprs.

raidzero 07-24-2009 08:06 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Quote:

Originally Posted by z0mbiexx (Post 1058097)
worked perfectly :D. you know of any way of renaming the panels? like text, voicemail, phone etc i didn't see anything in the cprs.

no that is seemingly impossible without editing a magic dll I have not found yet, or its just hardcoded in.. you can rename aftermarket panels by editing hklm\software\microsoft\chome keys though, but not stock

z0mbiexx 07-25-2009 08:53 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Code:

<!-- Day of Week -->
      <Text ID="Day of Week" Left="30" Top="45" Width="140" Height="40" FontFamily="fighting spirit TBS" FontSize="10"

FontStyle="Regular" Wrap="False" HorizontalAlignment="Right" Trimming="EllipsisCharacter">
        <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3"

Alpha="1.0"/>
        <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
      </Text>

should work with QVGA devices that want day of the week i edited the placement for my brothers vogue.

jason25 07-25-2009 09:02 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
I had to adjust the placement of the am/pm, date, day of the week because it was interfering with my wife. I also changed the horizontal alignment of the day from right to left

ChaosTheory 07-25-2009 09:40 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Quote:

Originally Posted by jason25 (Post 1059876)
I had to adjust the placement of the am/pm, date, day of the week because it was interfering with my wife. I also changed the horizontal alignment of the day from right to left

You keep your wife on your phone! Where did you get that program? :lol:

psycho_maniac 07-26-2009 05:47 AM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
raidzero did you also do the calender tweak on tianium? that shows "Calendar: appointment" on the pannel?

raidzero 07-26-2009 10:10 AM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Quote:

Originally Posted by psycho_maniac (Post 1060455)
raidzero did you also do the calender tweak on tianium? that shows "Calendar: appointment" on the pannel?

no that was not me, but it probably is not hard titanium isn't so scary after all..

DomSim 07-26-2009 01:31 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
awesome work! i had to use left 170 and top 95 to get it right for me but looks great.

jason25 07-27-2009 07:54 AM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Quote:

Originally Posted by jason25 (Post 1059876)
I had to adjust the placement of the am/pm, date, day of the week because it was interfering with my wife. I also changed the horizontal alignment of the day from right to left

Quote:

Originally Posted by ChaosTheory (Post 1059917)
You keep your wife on your phone! Where did you get that program? :lol:


lol, I meant wifi ](*,)

heydjbobby74 07-27-2009 09:10 AM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Oooh wish me luck, I am going to tyr this on my own!! How easy is it for someone who doesn't know what the heck they are doing??

edit: first try FAILED! Will try again!

DomSim 07-27-2009 09:42 AM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Quote:

Originally Posted by heydjbobby74 (Post 1062232)
Oooh wish me luck, I am going to tyr this on my own!! How easy is it for someone who doesn't know what the heck they are doing??

edit: first try FAILED! Will try again!

search the cpr for "date" now scroll down untill you find </text> and paste the new code after that

heydjbobby74 07-27-2009 09:44 AM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Sweet got it! But it is using the default font (tahoma). How do I get it to use my Algerian font??

edit: ok I git to load my font byt simply typing the type of font I wanted in the font section. Now to adjust it, I would like it to be under the clock icon. I will be playing around with it, but any suggestions???

heydjbobby74 07-27-2009 10:28 AM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Ok I am failing miserably at this. I have gotten the Day of Week in the clock bar, but can't seem to get it to line up under the clock icon. I don't even know if that is possible. Also then I open the slider on my TP to put it in I think portrait mode, or landscape mode (I can't remember wht the name of the mode is when you slide open the TP to access the qwerty) the fonts is in Tahoma...? What am I doing wrong?

TIA

jason25 07-27-2009 10:36 AM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
there is a cpr file for each (landscape (keyboard open) and portrait), you will need to modify both

I just flashed again so I will try getting it below the clock also

heydjbobby74 07-27-2009 10:42 AM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Quote:

Originally Posted by jason25 (Post 1062330)
there is a cpr file for each (landscape (keyboard open) and portrait), you will need to modify both

I just flashed again so I will try getting it below the clock also

Yes but which one is for landscape and which is for portrait? I forget...

raidzero 07-27-2009 10:47 AM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
hey bobby
480x640 is portarait, 640x480 is landscape. you need to modify the length, left, and top values in the CPR.

heydjbobby74 07-27-2009 10:50 AM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Quote:

Originally Posted by raidzero (Post 1062344)
hey bobby
480x640 is portarait, 640x480 is landscape. you need to modify the length, left, and top values in the CPR.

Ok, great, any suggestions of how to modify them? An example maybe, also how the heck do I get the day to line up under the clock icon? Is that also in the modification of the length, left, and top values in the CPR??

I'm learning Raid... :)

ChaosTheory 07-27-2009 10:55 AM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Just keep changing it until it works :) First hand experience is the best teacher, and if you change a setting and see the result you will get a better grasp on it. Just use Total commander to directly edit the file, then use CHomeRefresh to restart titanium and see your results!

Or convice RZ that he needs to make a script that does it for you :lol:

raidzero 07-27-2009 10:57 AM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Quote:

Originally Posted by heydjbobby74 (Post 1062348)
Ok, great, any suggestions of how to modify them? An example maybe, also how the heck do I get the day to line up under the clock icon? Is that also in the modification of the length, left, and top values in the CPR??

I'm learning Raid... :)


yes the top sets how far from the top (of the panel) the line is, the length sets the lenght of the line. keep 43 i found it's the best, makes it line up with the date. the left is how far from the left of the screen the text will be. think of them as x and y coordinates

heydjbobby74 07-27-2009 11:18 AM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Ok I am very cloes to getting this correct!!

raidzero 07-27-2009 11:24 AM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Quote:

Originally Posted by heydjbobby74 (Post 1062410)
Ok I am very cloes to getting this correct!!

if you want to just replace all occurences of calligraph421 bt with algerian. in notepad go to edit, then replace. type in the source (calligraph421 bt) and the destination (algerian)!
then you will know how to change fonts also. just be sure the algerian.ttf file is in \windows\ !

z0mbiexx 07-27-2009 12:24 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
i found easiest way to replace the fonts is "find and replace" in notepad and just replace all then save and use raids chromereset.exe :)

heydjbobby74 07-27-2009 01:04 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Does anyone know how to find a font that has all the special characters in it? Example, I am trying this new Algeria font I found but it is only in CAPS, and it is missing some characters like degree for temperature

z0mbiexx 07-27-2009 01:11 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
i used http://www.dafont.com/

raidzero 07-27-2009 01:37 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
dafont is good but the only way to tell if it has the right characters is to look at it on your PC. open the ttf file and it should open with windows font viewer, or whatever font program you have.

heydjbobby74 07-27-2009 01:59 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
I am having some trouble trying to use a font I found in dafont.com called abaddon. I have done everything I think correctly, but when I restart my TP the Tahoma font shows up instead...? help?

raidzero 07-27-2009 02:07 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Quote:

Originally Posted by heydjbobby74 (Post 1062766)
I am having some trouble trying to use a font I found in dafont.com called abaddon. I have done everything I think correctly, but when I restart my TP the Tahoma font shows up instead...? help?


open up the ttf file on your PC. just double click on it. most likely you were using the wrong name in the CPR. needs to be Font name: in the font viewer.

http://img.photobucket.com/albums/v3...3/fontname.jpg
recognize that ? ;)

heydjbobby74 07-27-2009 02:14 PM

Re: SOLVED!! Show day of week on CClock? (titanium)
 
Quote:

Originally Posted by raidzero (Post 1062778)
open up the ttf file on your PC. just double click on it. most likely you were using the wrong name in the CPR. needs to be Font name: in the font viewer.

http://img.photobucket.com/albums/v3...3/fontname.jpg
recognize that ? ;)

I have already done that, in the font viewer it shows the name, but just next to the name of the font abaddon is the trademark symbol (tm) how do I get that there? I think that is my problem/...


All times are GMT -4. The time now is 08:26 AM.

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


Content Relevant URLs by vBSEO 3.6.0