SitePoint Sponsor

User Tag List

Results 1 to 14 of 14
  1. #1
    SitePoint Member
    Join Date
    Mar 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Edit website in HTML

    Hi-

    I'm new to all this, but I hope to find an answer to a question. (My apologies beforehand if I've made mistakes in handling all this...)

    I have new website that's hosted by a hosting site. The website is in HTML. I'd like to make one tiny edit (without nagging my former designer).

    I want to delete someone's last name and replace it with their last initial. I tried to go into my website and do this myself (on a page that said "File Manager"--it looks like a file in Text Edit [no code except to indicate quotation marks and apostrophes]). When I did, it changed all the apostrophes and quotation marks to "B"'s on that page. I had to restore the page to the original and give up, because the support people couldn't help me.

    I read a little bit about HTML on here and some other sites. It seems like this shouldn't be difficult. Do you think I should go into the actual HTML file and delete the name, replace it with the initial, and be sure the code marker immediately follows? (I think it's: </b><br />

    Sorry to be long-winded. I'm a humanities person, not a techie...obviously

    Thanks very much.

  2. #2
    Mouse catcher silver trophy Stevie D's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    5,888
    Mentioned
    122 Post(s)
    Tagged
    1 Thread(s)
    Are you using CPanel for the File Manager, or some other system?

    Yes, you should be able to just alter the text, but leave anything in <>s alone!

  3. #3
    SitePoint Member
    Join Date
    Mar 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    Thanks. I'm hosting through GoDaddy. I don't know what system they use for the File Manager. Yesterday, their "Support" only said, "The web designer must have done something with the HTML code that we don't know about. And maybe a period isn't really a period." They had me make the change while they were on the phone, and it still changed the quote marks and apostrophes to B's. Truthfully, I think they just want to sell me another product.

    When I tried to make the change myself, all I did was delete the name and insert a period. I didn't touch anything in the brackets.

    I'd love to fix this myself so as not to have to get back to my former designer.

    If you can give me any more advice, or if I can give you more information that might help, please let me know. Thanks again.

  4. #4
    Ripe Tomatos silver trophybronze trophy Rayzur's Avatar
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    4,174
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by LeighW View Post
    .. When I did, it changed all the apostrophes and quotation marks to "B"'s on that page. I had to restore the page to the original and give up, because the support people couldn't help me.

    I read a little bit about HTML on here and some other sites. It seems like this shouldn't be difficult. Do you think I should go into the actual HTML file and delete the name, replace it with the initial, and be sure the code marker immediately follows? (I think it's: </b><br />
    Hi Leigh,

    I used to host with godaddy, their control panel is a nightmare. It takes forever to get in there and get anything done. That was the main reason I left and moved to host gator.

    Anyway, their text editor in the file manager is what is known as a WYSIWYG editor (What You See Is What You Get). Anytime you do a line break it inserts a <br> tag in the html among other things.

    Yes, you should just go into the actual page yourself and make edits there. Once you track down the persons name in the code you should do just fine with the edits. As Stevie mentioned though, be sure not to tamper with any of the html elements shown in brackets.

    Obviously you have your username and access to the file manager so you could actually set up a FTP client from your local machine and take care of everything from there. You may want to make other changes in the future so I think it would be worthwhile to set up an FTP.

    I use Core FTP Lite, it's free.

    If your on Windows you could use Notepad to edit the html but there is no syntax highlighting so it might be hard for you to navigate through the code.

    I would suggest downloading a free text editor such as Notepad++ or PSPad since they will highlight the html elements for you. That way you can see them easily and stay away from them.

    With an editor and an FTP client (and your account passwords) you can take care of everything yourself and keep a copy of all your files on your local machine.

    Just make edits and upload them straight to your site without godaddy's control panel.

  5. #5
    SitePoint Member
    Join Date
    Mar 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, Rayzur,

    Thanks so much for your help.

    Just a couple of things. Well, thanks for the tip about GoDaddy. It is indeed a nightmare to navigate. I chose it based on my web designer's recommendation...but I was obviously naive, or ignorant, or something.

    Anyway, I did go into the actual page today and tried to make the change in the HTML file, but the same thing happened. I found the name in the code and changed the name, but the quotation marks and apostrophes on that page still turned into B's on the website.

    I didn't change anything in brackets, just the name.

    I have a Mac, so could you recommend an FTP client for it? Or should I just search online? I can use Text Edit on the Mac. I do want to make my own changes in the future.

    I more or less understand what you're telling me, having spent much of the weekend trying to solve this problem.

    I really appreciate your taking the time to help me.

  6. #6
    Ripe Tomatos silver trophybronze trophy Rayzur's Avatar
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    4,174
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Anyway, I did go into the actual page today and tried to make the change in the HTML file, but the same thing happened. I found the name in the code and changed the name, but the quotation marks and apostrophes on that page still turned into B's on the website.
    Are you saying you made edits to the page with the godaddy editor?

    If so, the same thing must be happening because those quotation marks are confusing the editor and making it produce erroneous elements.

    I have a Mac, so could you recommend an FTP client for it? Or should I just search online?
    There are some mac users around here that might be able to help you with that. The only thing I could suggest would be a search for "freeware mac ftp client".

    Ah, well after doing that search myself I see that FileZilla has a mac version.

    There are some more here

  7. #7
    SitePoint Member
    Join Date
    Mar 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, exactly. I did make the edits with the godaddy editor (in their text editor and also on the HTML page in their File Manager--I tried both ways). The same problem occurred both times.

    What I don't understand is that all I'm doing is changing: Y******** to Y. So I am not doing anything at all with quotation marks.

    After I replied last time, I found the Firezilla FTP, too. So I'll use that. Sorry to bother you with all the questions. Thanks very much.
    Last edited by Mittineague; Mar 7, 2011 at 18:49. Reason: per OP request

  8. #8
    Ripe Tomatos silver trophybronze trophy Rayzur's Avatar
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    4,174
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Sorry to bother you with all the questions. Thanks very much.
    No problem, your not bothering anyone. We're here to help if we can.

    Do you have a link to the page in question, if you don't mind posting it please do so.

    Tell me where that name is appx located at. I'd like to look at the page source and see what's going on.

  9. #9
    SitePoint Member
    Join Date
    Mar 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, Ray

    Is this what you need? Writing Works : About Leigh

    The name is in the right-hand column, in the Testimonials. It's Y******** (about 3 names down).

    Right now, the errors, the B's, aren't there because I restored it. Since it's an editing site, I didn't want to leave the quote marks and apostrophes as B's.

    Please let me know if yo need anything else. Thanks so much.
    Last edited by Mittineague; Mar 7, 2011 at 18:50. Reason: per OP request

  10. #10
    Ripe Tomatos silver trophybronze trophy Rayzur's Avatar
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    4,174
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Okay, it looks like the problem is with godaddy's editor.

    I just made a live edit to the last name with firebug and it causes no problems when editing the html directly.

    http://www.css-lab.com/test/leigh.png

    You will see that the name is nested in that <strong> </strong> tag. As long as you make the edit in text mate and don't alter the strong tag you should be fine. Then upload the file back to your server and check "overwrite file" when FileZilla asks you what to do.

    The portion of the code you want to edit is located on line 147 of that html file

    Code:
    <strong>Onur Y********</strong><br />
    Last edited by Mittineague; Mar 7, 2011 at 18:50. Reason: per OP request

  11. #11
    SitePoint Member
    Join Date
    Mar 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks.

    I downloaded FireFTP. I'll get TextMate and FireBug next.

    I'll probably try to do the edit tomorrow when I can think this through, and it's not so late.

    I wish I knew this the way you do...but I learned a lot today

    Thanks so much. You're the best!

  12. #12
    Ripe Tomatos silver trophybronze trophy Rayzur's Avatar
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    4,174
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I'll get TextMate and FireBug next.
    Just so you'll know, Firebug is a web development tool that is an extension for Firefox. It just allows you to make live edits to the code for the sake of testing, it does not make any changes to the actual page on your server.

    If you run into any problems just post back and we'll help where we can.

  13. #13
    SitePoint Member
    Join Date
    Mar 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Right, I understand. I will work with Text Mate and FireFTP and sort this out.

    Thanks again.

  14. #14
    SitePoint Member
    Join Date
    Mar 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, Ray,

    Just wanted to let you know that your solution helped me out tremendously. I made the correction this morning, and everything worked fine.

    I'm thrilled I'll be able to make edits myself from now on. I'm happy about learning the process, too. Many thanks to you for all the instruction.


Bookmarks

Posting Permissions

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