PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost Bug Reports

ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 11th, 2007, 10:34 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2007
Location: Northeast USA
Posts: 11
Question Using HTML and Tables in Review Description

Hi,

I'm trying to figure out why I get extra <br />'s when I post a table.

Here's a simple test. I post this:

Code:
Content visible to verified customers only.
And I get this in the HTML of the displayed page:

Code:
Content visible to verified customers only.
Now this test will push the description down 5 line below where the desciption should start. However when I use a more complicated table with multiple columns and rows, the table displays MANY lines below where I'd like it to display. So much so that I can't display a table of specs in my review.

Now, I realize that I'm putting line breaks in when I place this text into the textfield when posting, however in testing, if I place every tag back to back, I get to the end of the textfield and it wraps. That wrap is interpreted as a line break and it screws up the html rendering my attempt to display my table useless. Further, to make my job easier, I use an HTML editor to build the table. Then I copy and past the HTML into the textfield when posting a product. I have HTML enabled but it seems that Reviewpost is not taking what I post in the textfield literally as HTML, rather it modifies it.

Is there anything I can hack to stop this? I'd really like to use tables and HTML as I specified, not modified.

Thanks

Last edited by Manhattan; February 11th, 2007 at 11:01 AM.
Manhattan is offline   Reply With Quote
Old February 11th, 2007, 12:18 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,697
This is because the html your using you have used breaks on your formatting. If your using html make sure it is all one line with no breaks otherwise they will be converted

</td></tr></table>
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 11th, 2007, 08:39 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2007
Location: Northeast USA
Posts: 11
Yes, I realize that I'm adding breaks. I've tried it without breaks. You realize how cumbersome that is. Not being able to format the html code is really a mess. Especially large tables filled with data.

What I'd really like is to be able to read the html code. Is there any way to let the code as is? I guess that's my real question.

Thanks Chuck.
Manhattan is offline   Reply With Quote
Old February 12th, 2007, 09:57 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,697
There is no way to not do it sorry in our default code. Remember we need to run the convert bbcode and convert returns etc and all that stuff against the reviews to show things correctly so alot more goes into that that just you typing in your html. The show html is a minor feature that most sites will never use since it is a high security risk to allow such things.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 12th, 2007, 01:21 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2007
Location: Northeast USA
Posts: 11
Ok, I hear what you are saying. Let me ask you this from a layman's prospective. The only location that I care about posting HTML is within the "Product description" when I'm uploading a new product. This is where I'd like to post a table of data. Is this field also processed by the bbcode and if so, does it need to be? I mean, you understand the code. I don't have any clue how things are tied together with the bbcode in the backend.

The reviews themselves, I can see HTML being a security risk because users are posting it, but the "Product description" is something I'm posting.

Thanks for your time. I'm trying to figure out what my limitations are.
Manhattan is offline   Reply With Quote
Old February 12th, 2007, 01:38 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,697
Remember though in our programs although on your site maybe you are the only one who posts but on normal sites all users post.

Yes in the description we need to convert bbcode returns etc which is normal. See your adding all these returns or breaks which means yes we are gonna convert them

Therefore if you dont want this to happen then you need to hack your code and possibly remove the convert_bbcode and convert_returns functions from the $desc define lines.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 12th, 2007, 02:48 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2007
Location: Northeast USA
Posts: 11
Ok, thanks again Chuck.
Manhattan is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML in product description MoMan2 ReviewPost How do I...? 6 February 2nd, 2008 09:29 AM
HTML in Description tommyxv ReviewPost How do I...? 1 June 14th, 2006 09:25 AM
Using BBCode or HTML in a photo comment or description tektsu Photopost Pro How Do I...? 2 July 19th, 2005 10:40 AM
HTML within description field? Rich Z Before You Buy 0 July 1st, 2004 05:38 PM


All times are GMT -5. The time now is 08:05 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0