Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Is there any setting/config to let TinyMCE recognize that a pge is PHP code (like if pahe content starts with php tag.
I just started using Tiny and all was well until i went to edit one of my existing pages which was PHP code - Tiny corrupted the code. Even if after first going to edit page i switched off "rich text" it was too late.
I now have default set to not use Tiny.. but most of my pages are simple HTML so it is a pain to have to turn Tiny on every time.
Is there any setting/config to let TinyMCE recognize that a pge is PHP code (like if pahe content starts with "<?php"
I just started using Tiny and all was well until i went to edit one of my existing pages which was PHP code - Tiny corrupted the code. Even if after first going to edit page i switched off "rich text" it was too late.
I now have default set to not use Tiny.. but most of my pages are simple HTML so it is a pain to have to turn Tiny on every time.
I am asked how to create a module which presents all the book contributers, just like http://drupal.org/node/14205.
I think it would be possible to get the information by finding the book root node, and then traverse it and all childnodes an extract the uid from node.
But how do I actually include this in within an actual book. I mean, I must create a special contributor module. That is simple enough, but does it have to mimic book module, in order to be incorporated into books, or...?
hello, I'm working in a module, and I have to store dates and times of some events, but I want to store the UTC instead of the local time, because I want to show the events in the timezone of the users....
There is any function in drupal for timezone conversion?
Drupal 4.7:
I am making a module which specifies a new node type. But I do not wish this node type to have a link in the "create content" page. I did not include a hook_menu function at all, however my new node type still shows up on the "create content" page.