1 bloggerboy Jan 10, 2008 03:40
3 sam2kb Jan 10, 2008 04:50
We really need this option in backoffice
4 afwas Jan 10, 2008 06:31
sam2kb wrote:
We really need this option in backoffice
Think about the complications. Certainly this button cannot be available to every blogger, so you need to set up permissions for who can see the button and who can not. Just imagine what the title of the button should be. "Allow misformed html"?
The fact there is a permission related concideration made the developers believe it's wise not to have this setting in the back office.
5 sam2kb Jan 10, 2008 07:19
so you need to set up permissions for who can see the button and who can not.
Right, it must be available only for user #1 (IMHO this is the only user on the average website who allowed to post content)
Html check is a very useful feature, but it also blocks <div style="">, so we have to write classes every time and upload it. I don't like this.
But I agree, it should appears only for admin.
6 afwas Jan 10, 2008 07:25
sam2kb wrote:
[...] but it also blocks <div style="">, so we have to write classes every time and upload it. [...]
Not anymore. Since 2.x you can set $allow_style_in_post or something like that, also in /conf/_formatting.php
7 sam2kb Jan 10, 2008 07:30
$posts_allow_css_tweaks = true;
:p
Many thanks !!! I didn't know about it !
8 bloggerboy Feb 08, 2008 17:38
My original problem is back after upgrading to 2.4
----------------------------------
Tag <p-> is not allowed within tag <img>
Tag <p> is not allowed within tag <img>
Tag <p> is not allowed within tag <img>
Tag <p> is not allowed within tag <img>
Note: To get rid of the above validation warnings, you can deactivate unwanted validation rules in your Group settings.)
----------------------------------------------
The solution by Afwas: $use_html_checker = 0" is no longer available in formatting.php
I am assuming it was moved to the backend, but cannot find it. If fact, the line:
"you can deactivate unwanted validation rules in your Group settings" - the words group setting are linked - but if i click it, I get a 403 error (forbidden).
All I want to do is turn off formatting so I can submit a syndicated post to my blog. I can't get it to validate for whatever reason.
Thanks
9 yabba Feb 08, 2008 17:39
I'm gonna guess that your images don't end with /> ;)
¥
10 bloggerboy Feb 08, 2008 17:52
Amongst other things. <p> aren't closed either.
I'm just submittting the code supplied by a syndicator. Perhaps they are not adhering to strict validation rules. I just don't have the time or patience to rewrite their code...just want to publish as is, but can't.
thanks
11 yabba Feb 08, 2008 17:58
b2evolution validates to xhtml standards so you're always going to have this problem.
You can disable the html checker in conf/_formatting.php but the chances are your layout will be screwed because of the invalid code.
¥
12 bloggerboy Feb 08, 2008 18:20
That line to disable html checker is no longer available in formatting.php
13 yabba Feb 08, 2008 18:25
ahhh yeah, the FG moved it.
just realised you said that you got a 403 trying to follow the link, are you able to go to admin > users > [ group name ] ?
If you are then that's where the setting is.
¥
14 bloggerboy Feb 08, 2008 18:36
Found it. Thanks.
hi bloggerboy
Since it' s getting a kind a late here my answer will be short.
Find /conf/_formatting.php.
This is the line you have to edit:
and set it to 0 to disable checking.
now add your post and it should upload correct. Now revert the variable to 1 again.
Further reading: search the forum for _formatting.php
Good luck