Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
2311 Widoki

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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 

Awatar
Odrzuć
Najlepsza odpowiedź

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 !

Awatar
Odrzuć