By urwas on
Hello everybody!
I've got a strange problem on my drupal site. It was migrated a few days bevore from 4.x to 5.1.
When i put a PHP snippet on a existing or new node and preview or save the post (input format PHP), the PHP Snippet works fine, but only one time. When i edit the post, the Snippet is gone an replaced with its output! Can't remember that i've seen such behavior bevore.
So i was deactivating the TinyMCE module, but the still the same problem.
Any suggestions how to keep the Snippets on the place?
Greetings!
Comments
With help of the Devel
With help of the Devel module and its "Dev load" or "Dev render" Tabs i found, that the PHP Code i enter in my nodes is still there (Dev load) but when i go to Edit Tab, it is shown executed (also in Dev render).
Whats the problem with my Drupal? Where to look next for fixing this?
Can anybody give a thought, please?
Throug succsessive
Throug succsessive deactivating all modules i found that "Node Teaser" module (5.x-1.0) is causing this problem. With version 5.x-1.1 no problems
Hope this will help if somebody has the same problem.
Thank you but...
Urwas,
First let me tell you how much I thank you as this is exactly what is happening to me and I was pulling off my hear looking for the reason.
However, I have the added annoyance of needing 'a lot' node teaser and that it infereres with php snippets AND the ad module I use to serve advertisements.
At least now I know where to lool