Closed (won't fix)
Project:
Drupal core
Version:
5.7
Component:
node system
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
12 Feb 2008 at 13:46 UTC
Updated:
18 Feb 2008 at 07:41 UTC
Hi Maintainers,
I´m not able to got the "print $content" statement to work? But instate i have this $wieauchimmerPHPdasgeneriert as a variable with the same result as normaly print $content.
I would like to change this but I do not know where to find that variable ($content). For this reason the search module is not working. Please some urgent help......
Dirk
Comments
Comment #1
designwork commentedHi Nobody can help?
I´m quite in a panic...
Dirk
Comment #2
jgoldberg commentedCan you list some steps to reproduce? And how did $wieauchimmerPHPdasgeneriert replace $content?
Comment #3
designwork commentedhi jgoldberg,
I´m not able to reproduce it. But i can send you a link wehere you can see it http://www.freelens.com/node/7258
I´m printing here with print_r($node) the hole node. Last line you see the stange stuff. I just want to know how the $content is stored in the database. Or where can I correct the body filter. Because I think of this strange behavior my Search is not working at all. It can not index any word from the node body.
Thanks for your help
Dirk
Comment #4
jgoldberg commentedWe don't have enough information to really diagnose what isn't working. I recommend either trying to give more detailed information about your setup, or join #drupal-support and get your question answered there.
Comment #5
designwork commentedHi jgoldberg,
what kind of info do you need? All infos you can see at the link i showed you. Waht else do you need? More specific information I wrote my own theme, but even with the garland theme print $content does not work. Could it be the theme engine? But as you see at my link if got this last strange line in it. This was an very old comment on some programming i did month ago. But I can not even find this in the database.
Do you know where the variable content is setup? What data tabel is responible for it? The content variable is not in the table variabels in the database. Not in node, or node revision so where can i find it "normaly" this would information give me a starting point.
Thanks
Dirk
Comment #6
jgoldberg commentedI'd check phptemplate.engine in themes/phptemplate. You might have overridden something there that's producing this result, and that would explain seeing the behavior across multiple themes.
Comment #7
designwork commentedHi jgoldberg,
thanks I will try it.
Dirk