Page 1 of 2 12 LastLast
Results 1 to 15 of 17

Thread: Why in the detail page "<br />" shows up?

  1. #1
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default Why in the detail page "<br />" shows up?

    Hi,

    Any idea why when some one adds description and applies line break, then in the detail page "<br />" shows up?

    Have a look here please;
    http://www.weddingsonly.com.au/detai...ographics.html

    This is only happening in Delux version
    Last edited by Mitchell; 06-19-2008 at 05:56 AM.

  2. #2
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Is it because HTML is not allowed in the description field???
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  3. #3
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Did you post this twice? I already responded to this.

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    I don't know what happened, but I replied to this thread two day ago.

    HTML is allowed in descriptions, but here's what you have in your description

    Code:
    Aiming to make YOUR day a bit more special....&lt;br /&gt;<br />
    
    &lt;br /&gt;<br />
    You have &lt;br /&gt; which when viewed by a browser is parsed as code, and not as HTML. Search for &lt;br /&gt; and replace it with <br />

  5. #5
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    You posted another thread too and it's not here. I don't remember what the post was about but I know you did post something and I answered it.

    It's not sitting as deleted, so I can only assume someone restored a backup of the database and we lost some threads and/or replies.

  6. #6
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default

    Quote Originally Posted by Bruceper View Post
    I don't know what happened, but I replied to this thread two day ago.

    HTML is allowed in descriptions, but here's what you have in your description

    Code:
    Aiming to make YOUR day a bit more special....&lt;br /&gt;<br />
    
    &lt;br /&gt;<br />
    You have &lt;br /&gt; which when viewed by a browser is parsed as code, and not as HTML. Search for &lt;br /&gt; and replace it with <br />

    * This is the first time I am reporting this, I have no idea what is the other thread!

    * We (advertisers) are not using HTML
    * I am not using "&lt;br /&gt;<br />

    &lt;br /&gt;<br />" at all!


    This is how the description looks like in the admin area, but some how it changes in the front end!!!?

    Aiming to make YOUR day a bit more special....

    Scott &amp; Lesley have a passion for candid, artistic and natural photography. Catching you at your best, doing what comes naturally to you.
    ... but it changes to this at the frontend!

    Aiming to make YOUR day a bit more special....<br />
    <br />
    Scott &amp; Lesley have a passion for candid, artistic and natural photography. Catching you at your best, doing what comes naturally to you.

  7. #7
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default

    Quote Originally Posted by Bruceper View Post
    Did you post this twice? I already responded to this.
    Perhaps you are confused with my other post regarding my GIF images which were not showing because of Symantec, and you have already replied that post, but it was a totally different issue.

    Cheers
    Mitchell

  8. #8
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Don't look at the description in the admin area, look at it in the database and you'll see the code.

  9. #9
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default

    Quote Originally Posted by Bruceper View Post
    Don't look at the description in the admin area, look at it in the database and you'll see the code.
    Well, how can I avoid this problem? It doesn't look good, basically it is not really possible to when some one add a new link I go to the database and fix it. I tried to fix it in Admin area, and I couldn't. Any how my question is why it is happening and how I can avoid it?

    Cheers
    Mitchell

  10. #10
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    No idea how it happened, I can only assume someone copied and pasted from a bad HTML editor like MS Word.

  11. #11
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default

    Quote Originally Posted by Bruceper View Post
    No idea how it happened, I can only assume someone copied and pasted from a bad HTML editor like MS Word.
    Hi Bruce,

    No, it is not that, whenever we add a new listing or edit one, it happens, we do not copy and paste, and it only happens in the description field, not the custom flied!? As soon as we hit "ENTER" on the keyboard for "Line Break" it creates <br />?

    Perhaps it is some thing that yourself or Dody can check in my Admin area?

  12. #12
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    It's not IndexU doing it, I've used HTML in descriptions for a long time now and never an issue.

    I would suggest looking at your browser and seeing if you have some type of plugin that is altering the HTML.

  13. #13
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Did you get this resolved?

    I still can't replicate this in Deluxe and I've tried everything I can think of.

  14. #14
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default

    Quote Originally Posted by Bruceper View Post
    Did you get this resolved?

    I still can't replicate this in Deluxe and I've tried everything I can think of.
    Hi Bruce,

    I think I worked it out, it is all to do with the new <%t%> and <%/t%> tags that Delux uses, if you put any html code inside <%t%> and <%/t%> it will show it like that.

    In my source I had <br /> after "description" tag and I removed them.

    So simply all of the html commands have to be outside <%t%><%/t%>. I kind of knew this but worked it out after you insisted that it is not IndexU doing it.


    Thanks any way
    Last edited by Mitchell; 06-25-2008 at 05:56 PM.

  15. #15
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    It's the smarty causing the issue?!

    I'll have to talk to Dody about that and see if there's anything that can be done about it.

Similar Threads

  1. "Detail" Page not loading properly
    By dePaulus in forum v5.x
    Replies: 5
    Last Post: 02-07-2008, 05:24 PM
  2. Replies: 2
    Last Post: 01-24-2008, 09:19 PM
  3. Members Detail Pages "Cutting off Text"
    By mxwebsites in forum v5.x
    Replies: 7
    Last Post: 01-30-2007, 11:13 AM
  4. Replies: 1
    Last Post: 07-15-2005, 08:45 AM
  5. Replies: 1
    Last Post: 07-18-2002, 07:47 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
  •