Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Need a bit of PHP help (probably very easy!)

    I have seen functioning code before with incomplete <li> tags. Apparently browsers will try to make incomplete HTML work rather than throw it out. I think it used to be common to leave tags hanging, and there is still legacy code floating around and being reused.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,872
    Plugin Contributions
    96

    Default Re: Need a bit of PHP help (probably very easy!)

    Quote Originally Posted by gjh42 View Post
    I have seen functioning code before with incomplete <li> tags. Apparently browsers will try to make incomplete HTML work rather than throw it out. I think it used to be common to leave tags hanging, and there is still legacy code floating around and being reused.
    Agreed, but this is regarding email viewers which can have their own peculiarities.

  3. #3
    Join Date
    Feb 2008
    Location
    Ann Arbor, MI
    Posts
    26
    Plugin Contributions
    0

    Default Re: Need a bit of PHP help (probably very easy!)

    So, first I tried RodG's suggestion of escaping the quotes in the link. That had no effect.

    Then I tried closing all the li tags per lat9's suggestion - actually, I had thought it was strange that they weren't closed in the original code! - but still no effect.

    Just for kicks, I also tried bislewl's suggestion, although the link I need there is not a link to the store home page, but a link to the home page of the entire website that contains the store.

    So, I STILL don't know what's wrong. It's extra frustrating that there doesn't seem to be a way to view the source code of an email so I can see what it is even doing?? I tried View > Message > Raw Source in Apple Mail but didn't show the HTML code that is behind the email, just all the headers and stuff.

    I think my next step will be to create a user account for my husband so that he gets the welcome email and see if it looks any different in his email program (probably not, but it's worth a try)

    I am still holding out hope that maybe someone will see this and spot something. It makes no sense that the other links in the email come through as links just fine, but the one I created doesn't!

  4. #4
    Join Date
    Feb 2008
    Location
    Ann Arbor, MI
    Posts
    26
    Plugin Contributions
    0

    Default Re: Need a bit of PHP help (probably very easy!)

    Update: In my husband's email the sign up link is still not clickable NOR is the mailto link for the store's contact email (that was clickable in my email program, but perhaps that is just a difference in the way mail programs handle mailto links). The store link at the bottom IS clickable in his email as well.

    So I'm still thinking SOMETHING has got to be wrong with the way I constructed the sign up link...

  5. #5
    Join Date
    Feb 2008
    Location
    Ann Arbor, MI
    Posts
    26
    Plugin Contributions
    0

    Default Re: Need a bit of PHP help (probably very easy!)

    Interesting. My husband's email raw message view DOES show the actual HTML of the email. Only the very last link to the store at the bottom shows up with anchor tags around it. My sign up link and the mailto link for the store (part of the original ZC code) do NOT show up with anchor tags around them even though they are clearly there in the PHP.

    I've decided to "solve" this problem for now by just putting "please sign up at www.example.com" in the text string there. Email programs seems to recognize any text starting with www as a link and display it as such. So that's gonna have to be good enough unless someone comes up with other ideas for me. I have other brick walls to go beat my head on!

 

 

Similar Threads

  1. Help, i need help finding this bit of code
    By dbj-media in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 9 Apr 2009, 01:33 AM
  2. Need help on a bit of cold
    By redrob in forum General Questions
    Replies: 4
    Last Post: 22 Feb 2009, 12:43 AM
  3. Almost done, need a bit of help
    By yd29999 in forum General Questions
    Replies: 1
    Last Post: 16 Dec 2008, 01:07 PM
  4. Url question (probably very easy)
    By jvanree in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 6 May 2008, 01:56 PM

Posting Permissions

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