1 ralph Jan 15, 2009 11:29
3 ralph Jan 15, 2009 11:58
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
4 john Jan 15, 2009 12:02
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...
5 ralph Jan 15, 2009 12:10
Hi John
thanks, I will give that a shot. Looks like this is going to work...I hope :-)
R
6 ralph Jan 15, 2009 12:14
Noop, not working
Illegal object markup found: </object
7 ralph Jan 15, 2009 12:20
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
8 john Jan 15, 2009 12:30
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.
9 ralph Jan 15, 2009 12:39
I am running 2.4.2 and there it is not working
2.4.6 will do the trick you think?
best, Ralph
10 john Jan 15, 2009 12:50
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.
11 ralph Jan 15, 2009 15:38
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?
12 yabba Jan 15, 2009 16:44
What html are you trying to post in the write area ?
¥
13 john Jan 15, 2009 16:57
What are your settings under Users -> Administrators and Security Filters?
I have "Prevent CSS Tweaks" and "Prevent Objects" unticked.
14 ralph Jan 15, 2009 18:09
¥åßßå 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>
15 ralph Jan 15, 2009 18:22
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.
16 afwas Jan 15, 2009 18:42
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
17 yabba Jan 15, 2009 18:47
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 /> ;)
¥
18 ralph Jan 15, 2009 23:22
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