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?
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
Comment #1
AlexisWilke commentedcroX,
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
Comment #2
croX-1 commentedHey 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
Comment #3
AlexisWilke commentedJan,
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
Comment #4
croX-1 commentedHey 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
Comment #5
AlexisWilke commentedAh! Yes. I need to create an issue for that... The update is not working properly...
Thank you.
Alexis