Anyone have success with a rich text editor and php pages. My pages are becoming more and more scattered with little bits of php that help control access to content, eg changing page content based on role. If I try and edit one of these pages with my rich text editor on, it tries to read it as html and screws up the code. I have to turn my RTE off before I choose edit on the page if I want to not lose my php code. Is anyone using a RTE that doesn't screw up php code? If there a way to say that if the input format is PHP code that the RTE should not apear on that text box?
ok, I'm not sure what's going on but normally on any site when you type in http://www.example.com/files you get denied......on my Drupal site it lists everything, not good.
I've read a ton of threads on .htaccess but don't see anyone have the same problem.
4.7
clean urls(working fine)
site files are checked public, not private.
The following code in node-forum.tpl.php should output the users avatar: print $picture
Although user pictures are enabled and I've set the option for user pictures in posts to enabled the script doesn't output any image. If I go to a users profile the image is visible, so there's nothing wrong with the image itself.
Hi, I've been doing PHP for about a day now after having installed drupal so this may be a really daft question but how can you dump debug messages out.
Specifically I've been using the LDAP module which I think is great but I need to perform some additional authenitcation of users so have modified one of the module's provided functions ... not directly a hook function .... a bit further down the call stack.
I'm now stumped as to how to get some meaningful debug (even to a file).
Something as rudimentary as