2 john Jan 15, 2009 11:52

Thanks for replying John
Sorry, I might have been a little unclear about what I want.
I want to post HTML formats into a post. So, I want to make the format in an HMTL editor (with tables, images, etc) and just copy and paste the HTML code it into the posting.
So, the whole markup/format that I created in Seamonkey is visible in my blog posting
I can see on many spots that people are talking about the fat the B2Evolution can read HTML, but I do not seem to succeed in it
best, Ralph
Yes, I thought that might be it...
My solution to that is to load a HTML page into your post using the object tag.
EG: http://wow-factor.com/index.php/flash_photo_browser_test
There are some related links in that post...
Hi John
thanks, I will give that a shot. Looks like this is going to work...I hope :-)
R
Noop, not working
Illegal object markup found: </object
Just as an example:
I use the FREE HTML widget that can be installed in the sidebar. Works fantastic. I can copy all HTML made in Seamonkey into this.
But, for blog posts it is not working
If you are using the latest release of B2, the object tag and embed has been included.
Yell if you want a copy. It won't give you the errror.
I am running 2.4.2 and there it is not working
2.4.6 will do the trick you think?
best, Ralph
Well, always upgrade :)
Yes the new version will do the trick.
Grab the 2.4.2 to 2.4.6 upgrade files here....
http://b2evolution.net/downloads/index.html#quick_upgrade_patches
If you just want a short cut for now......
The critical file is _xhtml_dtd.inc.php
in the folder ->inc ->xhtml_validator ->_xhtml_dtd.inc.php
Overwrite the old xhtml_dtd.inc.php with the new one.
So, I did...
Illegal object markup found: </object
not working either :-/
Does anybody know why the FREE HTML widget accepts HTML, and the posting area not?
What html are you trying to post in the write area ?
¥
What are your settings under Users -> Administrators and Security Filters?
I have "Prevent CSS Tweaks" and "Prevent Objects" unticked.
¥åßßå wrote:
What html are you trying to post in the write area ?
¥
Something very simple like this
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body>
<table border="1">
<tbody>
<tr>
<td style="vertical-align: top;">My test sentence<br>
</td>
<td style="vertical-align: top;"><br>
</td>
</tr>
<tr>
<td style="vertical-align: top;">another test sentence<br>
</td>
<td style="vertical-align: top;"><img
style="width: 421px; height: 220px;" alt=""
src="http://www.delicasa.com/Newsletter/images/Vinosia.jpg"><br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
</body>
</html>
John wrote:
What are your settings under Users -> Administrators and Security Filters?
I have "Prevent CSS Tweaks" and "Prevent Objects" unticked.
"Prevent Objects" was not unticked
Now it works in a certain way, but this is not what I want.
The html file is now put into a small rectangular box with vertical and horizontal scrolbars. This rectangular box is inside the post.
Try with only the HTML inside the <body> ... </body> tag.
<table border="1">
<tbody>
<tr>
<td style="vertical-align: top;">My test sentence<br>
</td>
<td style="vertical-align: top;"><br>
</td>
</tr>
<tr>
<td style="vertical-align: top;">another test sentence<br>
</td>
<td style="vertical-align: top;"><img
style="width: 421px; height: 220px;" alt=""
src="http://www.delicasa.com/Newsletter/images/Vinosia.jpg"><br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
Good luck
Note : you will also need to allow css tweaks in your group settings .. there'll be a handy link in the error message when it first barfs ;)
Ohhh, and it'll probably barf about unclosed <br> tags, you need to change all them to <br /> ;)
¥
Afwas wrote:
Try with only the HTML inside the <body> ... </body> tag.
<table border="1"> <tbody> <tr> <td style="vertical-align: top;">My test sentence<br> </td> <td style="vertical-align: top;"><br> </td> </tr> <tr> <td style="vertical-align: top;">another test sentence<br> </td> <td style="vertical-align: top;"><img style="width: 421px; height: 220px;" alt="" src="http://www.delicasa.com/Newsletter/images/Vinosia.jpg"><br> </td> </tr> </tbody> </table> <br> <br>
Good luck
This did the trick! dank je wel Foppe!
and:
"Prevent CSS Tweaks" unticked!
thanks all you guys!
I'm not sure if this is what you want, but it "displays code in a post"
http://plugins.b2evolution.net/index.php/2006/07/13/display_code_plugin