Hey there,

if i include a node (without settings or with body option) there wont be any

tags in the include. I only get plain text. Is there a way to change this?

Comments

AlexisWilke’s picture

Status: Active » Postponed (maintainer needs more info)

croX,

Ah! I guess the formats are not being applied... I use FCKeditor which automatically adds the tags when I create the node and thus including that will be tagged properly. But I see your point.

Okay. Looking at the code, the node_view() function actually calls the node_prepare() which is the function applying the formats. You may want to check that the node you are including includes a valid format.

Let me know if that resolves your issue.

Thank you.
Alexis Wilke

croX-1’s picture

Hey AlexisWilke,

thanks fot the answer and sorry for the late reply i did not find the time to have a look into it the last days.

Your solution with node_prepare() worked great! Thanks a lot for that it was exatly what i was looking for but could not find.

Jan

AlexisWilke’s picture

Status: Postponed (maintainer needs more info) » Fixed

Jan,

Cool, then I'll mark this as fixed.

Did you change anything to the code? I'm asking because the code was already calling node_view() and thus node_prepare()...

Thank you.
Alexis Wilke

croX-1’s picture

Hey Alexis,

yes i did but i just noticed that in the newer version this issue is fixed already because of what you already said the code already calls node_view(). I just did not notice this module was updated during the time i had this problem. I am sorry for wasting your time.

Jan

AlexisWilke’s picture

Ah! Yes. I need to create an issue for that... The update is not working properly...

Thank you.
Alexis

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.