Results 1 to 10 of 24

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: admin, I put html code at product description, but it shows text format at front

    perter888, are you referring to the missing <table border="1"> property?

    Aside from that the only other changes I can see without the code are cell padding/spacing properties being added to the <table>.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

  2. #2
    Join Date
    Dec 2013
    Posts
    12
    Plugin Contributions
    0

    Default Re: admin, I put html code at product description, but it shows text format at front

    Quote Originally Posted by twitchtoo View Post
    perter888, are you referring to the missing <table border="1"> property?

    Aside from that the only other changes I can see without the code are cell padding/spacing properties being added to the <table>.
    Many Thankss for reply. actually, at admin, I click preview, the table looks perfect and how it should look. , and then click insert.
    I go to the actual page on the website where this table is displayed, but it shows TEXT format at front page(no the table format).
    attached, is the part of the page code....
    Click image for larger version. 

Name:	source_code_firebug.jpg 
Views:	74 
Size:	25.3 KB 
ID:	13527

    I have been trying to fix the problem for a while, but i still can not solve the problem by myself......it always shows TEXT format at front page(no the table format)...
    Last edited by peter888; 14 Dec 2013 at 10:05 AM.

  3. #3
    Join Date
    Dec 2013
    Posts
    12
    Plugin Contributions
    0

    Default Re: admin, I put html code at product description, but it shows text format at front

    copied from firebug ---attached:

    <div id="productDescription" class="description biggerText">
    <strong>Details: </strong>
    <table cellspacing="0" cellpadding="0" border="1" style="padding: 0px; margin: 0px; color: rgb(97, 97, 97); font-family: Arial; font-size: 12px; line-height: 20px;">
    <tbody>
    <tr>+
    <tr>+
    <tr>+
    <tr>+
    <tr>+
    <tr>+
    <tr>+
    <tr>+
    <tr>+
    <tr>+
    <tr>+
    <tr>+
    <tr>+
    <tr>+
    <tr>+
    <tr>+
    <tr>+
    <tr>+
    <td width="85" valign="top" style="padding: 0px 0px 0px 10px; margin: 0px;">
    <td valign="top" colspan="5" style="padding: 0px 0px 0px 10px; margin: 0px;">
    </tr>
    </tbody>
    </table>
    </div>

  4. #4
    Join Date
    Dec 2013
    Posts
    12
    Plugin Contributions
    0

    Default Re: admin, I put html code at product description, but it shows text format at front

    Click image for larger version. 

Name:	source_code_fbug.jpg 
Views:	84 
Size:	23.8 KB 
ID:	13528

    so sssorry. copied from firebug

  5. #5
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: admin, I put html code at product description, but it shows text format at front

    Quote Originally Posted by peter888 View Post
    Click image for larger version. 

Name:	source_code_fbug.jpg 
Views:	84 
Size:	23.8 KB 
ID:	13528

    so sssorry. copied from firebug
    Saw a similar inquiry had been started yesterday, and the same question has been asked there, please provide a link to the area in question, even if it is a private message to the one(s) willing to help. There are more things that can be quickly looked at and from there identify the problem/solution rather than waiting for the next snippet of info.

    Twitchtoo, asked if the problem you are trying to solve is to add the border around all of your text or not. When looking at the picture(s) provided in post 5 (http://www.zen-cart.com/showthread.p...96#post1230096) you could almost print and cutout the two pictures and lay them atop each other and everything would be in the same position, the difference would be that the admin side shows black lines and the product side does not.

    This is probably a css "adjustment" and is something that zenner's such as twitchtoo could quickly identify if given the location of the page. Please help us help you.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: admin, I put html code at product description, but it shows text format at front

    peter888, the screenshots you are sending are not of the viewable page on your site. They are screenshots of the html code on the page. The table is structured correctly in html from what I can see.

    Please send a link or screenshot of your product page like this:
    Attachment 13529
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

  7. #7
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: admin, I put html code at product description, but it shows text format at front

    I'm still not sure where you're expecting to see this HTML. If on the product listing, Zencart strips HTMl from those pages.

  8. #8
    Join Date
    Dec 2013
    Posts
    12
    Plugin Contributions
    0

    Default Re: admin, I put html code at product description, but it shows text format at front

    Quote Originally Posted by twitchtoo View Post
    peter888, the screenshots you are sending are not of the viewable page on your site. They are screenshots of the html code on the page. The table is structured correctly in html from what I can see.

    Please send a link or screenshot of your product page like this:
    Attachment 13529

    Click image for larger version. 

Name:	screenshot.jpg 
Views:	49 
Size:	33.4 KB 
ID:	13530


    Thanks for help. i don't know why the screenshot smaller than actual picture....
    Last edited by peter888; 14 Dec 2013 at 06:58 PM. Reason: more details

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

    Default Re: admin, I put html code at product description, but it shows text format at front

    The forum limits the size of attachments so it will not get bogged down by huge images.
    As mc12345678 says, your table is indeed displaying as a table on the product info page, not plaintext. The only difference is that the borders are not displaying, and nobody can diagnose the cause of that without seeing the page live (not a screenshot).

  10. #10
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: admin, I put html code at product description, but it shows text format at front

    peter888, your stylesheet is telling all table borders to be 0.

    includes/templates/theme695/css/stylesheet.css
    line 28 or so:
    table, td, img {border:0;}

    See image:

    Attachment 13531
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

 

 

Similar Threads

  1. Replies: 2
    Last Post: 14 Dec 2013, 05:49 PM
  2. Newsletters not allowing my to put in pictures.. Put the html code via rich text..
    By bobmundo123 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 18
    Last Post: 26 Dec 2012, 10:32 PM
  3. Add product html form code On Product Description page
    By ivogue in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 4 Mar 2009, 07:54 PM
  4. Help - Product description shows as HTML
    By epicwargames in forum General Questions
    Replies: 1
    Last Post: 31 Oct 2008, 08:20 AM
  5. Product description in product more info in html format but not in product listing?
    By this side up in forum Customization from the Admin
    Replies: 1
    Last Post: 18 Dec 2006, 06:25 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