+ Reply
Results 1 to 19 of 19

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Editing locale via iFile

is a discussion within the

General Verizon / Sprint / CDMA iPhone Chat

forums, a part of the

iPhone on Verizon / Sprint / CDMA

section;
How can I edit my location on my weather LS to where my city name isn't cut off?
...
  1. #1
    iPhone? More like MyPhone
    Join Date
    Mar 2012
    Posts
    154
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Editing locale via iFile
    How can I edit my location on my weather LS to where my city name isn't cut off?

  2. #2
    EVO
    EVO is offline
    Super EVO Moderator EVO's Avatar
    Join Date
    Dec 2009
    Posts
    3,487
    Thanks
    105
    Thanked 798 Times in 485 Posts

    Quote Originally Posted by LukeDuke View Post
    How can I edit my location on my weather LS to where my city name isn't cut off?
    you're either gonna have to decrease the font of the City Name or move it in whatever direction to make it fit

    look for a code along the lines of "#cityname" or something, and inside the body of that code should be a code for "left" or "right"

    adjust that accordingly

  3. #3
    iPhone? More like MyPhone
    Join Date
    Mar 2012
    Posts
    154
    Thanks
    12
    Thanked 0 Times in 0 Posts

    I searched via iFile and there's nothing relating to what you advised. I saw lots of 'city' places but I couldn't figure out which one would change the font and/or the positioning of my city name. Any other suggestions? Thanks in advance.

  4. #4
    Super Duper Moderator blkcadi's Avatar
    Join Date
    Aug 2008
    Location
     Valley of the Sun, ARIZONA ♥♥♥
    Posts
    30,282
    Thanks
    3,668
    Thanked 9,533 Times in 5,851 Posts

    It means changing the code, which weather widget or theme are you using? Perhaps posting in that thread or emailing the creator would help more if you are unfamiliar with it.

    Quote Originally Posted by 6thDAY View Post
    you're either gonna have to decrease the font of the City Name or move it in whatever direction to make it fit

    look for a code along the lines of "#cityname" or something, and inside the body of that code should be a code for "left" or "right"

    adjust that accordingly
    This may work also.

  5. #5
    iPhone? More like MyPhone
    Join Date
    Mar 2012
    Posts
    154
    Thanks
    12
    Thanked 0 Times in 0 Posts

    I'm using HTC Weather Widget 1.7.

  6. #6
    EVO
    EVO is offline
    Super EVO Moderator EVO's Avatar
    Join Date
    Dec 2009
    Posts
    3,487
    Thanks
    105
    Thanked 798 Times in 485 Posts

    Quote Originally Posted by LukeDuke View Post
    I'm using HTC Weather Widget 1.7.
    ok buddy, I just installed this HT Weather Widget 1.75 on my phone and did a test run for you...

    in your HTC Weather ..theme. go to Private/StyleSheets and open up myopiaAlt, then look for this:

    Code:
    #city{
    	position:absolute;
    	top:162px;
    	left:20px;
    	color: #d1d1d1; 
    	text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.7);	
    	/*text-shadow: #FFFFFF 0px 1px 0px;*/
    	font-size: 18px;
    	font-weight: bold;
    }
    now either decrease the font-size or decrease the top or left values accordingly, and bam viola!

    I hope its the right widget you're using

  7. #7
    iPhone? More like MyPhone
    Join Date
    Mar 2012
    Posts
    154
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Wow I don't know whether to say thank you bro or thank you babes since Idk ur real name

    You have done A LOT to help and I apologize bc it didn't help. Idk why....the font decreased/increased with what was posted as my city name, (the missing letters never appeared nor did any letters disappear) and the 'top' and 'left' areas didn't change much either so I returned them to as they were before.

    Any other suggestions?

  8. #8
    EVO
    EVO is offline
    Super EVO Moderator EVO's Avatar
    Join Date
    Dec 2009
    Posts
    3,487
    Thanks
    105
    Thanked 798 Times in 485 Posts

    Quote Originally Posted by LukeDuke View Post
    Wow I don't know whether to say thank you bro or thank you babes since Idk ur real name

    You have done A LOT to help and I apologize bc it didn't help. Idk why....the font decreased/increased with what was posted as my city name, (the missing letters never appeared nor did any letters disappear) and the 'top' and 'left' areas didn't change much either so I returned them to as they were before.

    Any other suggestions?
    I am he nor she, living nor dead, but me

    because the widget is free and not paid or anything, send me the whole widget, and I will test it on my phone, but here's what I need to make sure we get to the bottom of this!

    1. Send me the whole widget including what you modified, leave everything the way you have it.
    2. Tell me what part of the code you modified, and the result of it.
    3. Post some screenshots and indicate the issue

    If you do those 3 things, I will be able to solve it......................................I think

  9. #9
    iPhone? More like MyPhone
    Join Date
    Mar 2012
    Posts
    154
    Thanks
    12
    Thanked 0 Times in 0 Posts

    I was saying Idk your name so I wasn't certain how to thank ya properly.

    Editing locale via iFile-htc-2.png

    For some ***-*** reason, only one pic would upload....stuuupid lol.

    Everything is as it is.....nothing has changed.

    The issue I'm having is: My cities name isn't appearing fully. I've done as you've advised without any positive progress.

    I hope what little I've given you will help.

    I don't mean to take you away from any time you may have set aside for other activities.

    Thank you again....so much.

    Lucas.

    why is part of my response blocked out? oh....censorship....so stupid. nobody should tell us how to speak.

  10. #10
    EVO
    EVO is offline
    Super EVO Moderator EVO's Avatar
    Join Date
    Dec 2009
    Posts
    3,487
    Thanks
    105
    Thanked 798 Times in 485 Posts

    Quote Originally Posted by LukeDuke View Post
    I was saying Idk your name so I wasn't certain how to thank ya properly.

    Attachment 582208

    For some ***-*** reason, only one pic would upload....stuuupid lol.

    Everything is as it is.....nothing has changed.

    The issue I'm having is: My cities name isn't appearing fully. I've done as you've advised without any positive progress.

    I hope what little I've given you will help.

    I don't mean to take you away from any time you may have set aside for other activities.

    Thank you again....so much.

    Lucas.

    why is part of my response blocked out? oh....censorship....so stupid. nobody should tell us how to speak.
    i cant test it if i dont have your city code

  11. #11
    iPhone? More like MyPhone
    Join Date
    Mar 2012
    Posts
    154
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Lol yeah that would help eh?😉

    USMO0782.

  12. #12
    EVO
    EVO is offline
    Super EVO Moderator EVO's Avatar
    Join Date
    Dec 2009
    Posts
    3,487
    Thanks
    105
    Thanked 798 Times in 485 Posts

    Quote Originally Posted by LukeDuke View Post
    Lol yeah that would help eh?

    USMO0782.
    haha! After testing it with your city code, I finally knew what you were talking about, I thought u meant something else

    is this what you're lookin for??


    Go to your LockBackground.html file and found the code:
    Code:
    city.substring(0,11)
    What that code means is that the city name is fetched from the weather's database and returns the name of the city, but only returns 12 characters of it. Its because the position of a string starts at index 0 and errr umm...........sorry hahaha forgot (java code experience)

    to make the long story short, the weather only displayed 12 characters in your city name, including spaces so thats why it got cut off, change 11 to 20 and respring and it should be ok

    I dont accept any monetary donations, just "pay it forward" ok???

  13. The Following User Says Thank You to EVO For This Useful Post:

    LukeDuke (04-26-2012)

  14. #13
    iPhone? More like MyPhone
    Join Date
    Mar 2012
    Posts
    154
    Thanks
    12
    Thanked 0 Times in 0 Posts

    You're the BEST

    Thank you very much!

    What's your name?

  15. #14
    EVO
    EVO is offline
    Super EVO Moderator EVO's Avatar
    Join Date
    Dec 2009
    Posts
    3,487
    Thanks
    105
    Thanked 798 Times in 485 Posts

    Quote Originally Posted by LukeDuke View Post
    You're the BEST

    Thank you very much!

    What's your name?
    they call me......................ISHMAEL

    and you're welcome!

  16. #15
    iPhone? More like MyPhone
    Join Date
    Mar 2012
    Posts
    154
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Pleased to meet ya bro! Thank you again!! Hopefully we'll stay in contact.

  17. #16
    EVO
    EVO is offline
    Super EVO Moderator EVO's Avatar
    Join Date
    Dec 2009
    Posts
    3,487
    Thanks
    105
    Thanked 798 Times in 485 Posts

    BTW dont call me that......that was from Moby D

    but if u ever have any other issues, post in the approriate forums and if I cant help you there are plenty of other knowledgeable people that can!

    and the most important thing..........have fun with your phone!

  18. The Following User Says Thank You to EVO For This Useful Post:

    LukeDuke (04-27-2012)

  19. #17
    H4CK3R's Avatar
    Join Date
    Jan 2012
    Location
    java.lang.IllegalStateException: Location unknown.
    Posts
    5,825
    Thanks
    63
    Thanked 264 Times in 253 Posts

    Glad ya got it fixed. Cool theme by the way, I'll try that one out.
    Great minds discuss ideas.
    Average minds discuss events.
    Small minds discuss people.

  20. The Following User Says Thank You to H4CK3R For This Useful Post:

    LukeDuke (04-27-2012)

  21. #18
    iPhone? More like MyPhone
    Join Date
    Mar 2012
    Posts
    154
    Thanks
    12
    Thanked 0 Times in 0 Posts

    LMAO funny dude.

    Thanks again.

  22. #19
    H4CK3R's Avatar
    Join Date
    Jan 2012
    Location
    java.lang.IllegalStateException: Location unknown.
    Posts
    5,825
    Thanks
    63
    Thanked 264 Times in 253 Posts

    No problem
    Great minds discuss ideas.
    Average minds discuss events.
    Small minds discuss people.

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts