Skip to Content
Menu
This question has been flagged
2 Replies
2022 Views

Hello everyone !

I'm new in Odoo and find myself facing a problem I can't solve myself : '(


Indeed while on the edition of Web pages the HTML/CSS edition displays all the content created with the editor drag and drop via the link "edit", the content of blog pages and listing of articles does not.

All content is generated by the tag:

<div id = "blog_content" t-field = "blog_post.content" class = "blog_content mt32" />

Is there a simple solution to change this behavior?



I guess this is the model of the blog application which is designed like that but it is very annoying because the wysiwyg editor is practical for quick layout but to remove aberrations of HTML style it's impossible without the HTML editor option...


But as I begin in Odoo I admit to being lost and in spite of my researches did not find solutions: '(


Thanking you in advance, I wish you an excellent day.

Best regards,

Yoann

Avatar
Discard
Author Best Answer

Hello J Lleó ;-)

I know the content is stored in that variable but that is the problem I can't find how to achieve this...
It seems that the content var isn't a "ui.whatever.view" so this is where I have to do something, but what thing exactly ? ^^


Hoping somenone would have the kind and time to give me some help ;-)


Regards,

Yo 

Avatar
Discard
Best Answer

Hi Yoann,

unlike website, the blog part stores the code in the content field, so giving a try I'd guess if you manage to print out the data stored in content (within website_blog) there should be the code.

Didn't try myself, but hope it helps !

Avatar
Discard