PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   ReviewPost How do I...? (http://www.photopost.com/forum/reviewpost-how-do-i/)
-   -   Inserting Html Review (http://www.photopost.com/forum/reviewpost-how-do-i/146175-inserting-html-review.html)

smudgeuk July 20th, 2011 08:19 AM

Inserting Html Review
 
Cambridge Motorway Services - A14/M11 - Truckdriver-online Reviews

Yet this is the html i used, and should not have turned out like this????

Code:

Content visible to verified customers only.

Chuck S July 20th, 2011 09:34 AM

Have you elected to allow html in reviews? Turned out like what please use a real url so we see what's your issue is. If you allow html it should render if you do not then you will see the html

smudgeuk July 20th, 2011 09:51 AM

Cambridge Motorway Services - A14/M11 - Truckdriver-online Reviews

thats the url of how it turns out but the images etc arent showing.......

I almost made a test review, and when i clicked on product options, move/delete it doesnt do anything, so can delete it or anything

Chuck S July 20th, 2011 11:32 AM

Your talking about inserting html into a product not review. There is a setting for that also in the admin options is that set to yes?

Chuck S July 20th, 2011 11:42 AM

If I look at your source images are not shown because of the path your using

Code:

Content visible to verified customers only.
Knowing how that is happening might solve the issue

Chuck S July 20th, 2011 11:46 AM

This is what I get when posting yours

this - Reeftalk Reviews

Maybe try turning off that tinymce editor in admin options

smudgeuk July 20th, 2011 12:12 PM

when we stick the img path in we user the full url, and is how it is being put in when you submit, so it appears to be stripping out the code, and putting it like that.

Also, i notice when adding html via editor, then it adds ways too many line break, considering if you view that code as normal webpage, the line spacing isnt like that at all?

so something in the editor is changing/strpping code, and adding extra breaks

Chuck S July 20th, 2011 12:41 PM

yeah I can not comment on the tinymce editor as thats external code you can turn on or off.

My test on my reviewpost was simply a copy and paste of what you wrote in your initial post. I had the editor off.

I changed the code around for $description a little to prevent checking for bbcode etc

You can edit showproduct.php find the code

Code:

Content visible to verified customers only.
change to this

Code:

Content visible to verified customers only.

smudgeuk July 20th, 2011 01:18 PM

Parse error: syntax error, unexpected '}' in /home/smudgeuk/public_html/reviews/showproduct.php on line 1834

Chuck S July 20th, 2011 01:23 PM

Your copying and pasting wrong I would assume nothing wrong in the code I am posting I am using it.

I would assume based on your error your leaving a trailing } from the old code your suppose to be replacing with the new code.

smudgeuk July 20th, 2011 01:31 PM

fixed that one, dont know why i posted it, lol

Cambridge Motorway Services - A14/M11 - Truckdriver-online Reviews

even when using full url for images, it is still stripping the code and making it point to reviews/reviews/images for its source

and when i go into the editor and delete the extra /reviews/ out of the path it adds them back?

Chuck S July 20th, 2011 01:56 PM

Is your editor turned off?

Like I said all I did was a copy and paste of what you have above and it works so I do not understand why yours is doing some kind of weird url thing.

smudgeuk July 20th, 2011 03:58 PM

Cambridge Motorway Services - A14/M11 - Truckdriver-online Reviews

Many thanks for your help chuck all sorted!!! 5 *****

Chuck S July 20th, 2011 04:51 PM

enjoy your summer


All times are GMT -5. The time now is 01:38 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97