I'm working on a social networking site for specialized interests. I've got most of it up and running thanks to Drupal forms, but I am confused on how to make a few things work.
Hi, i need to auhtenticate a Drupal site against a SSO server, mi question is the following: when someone ask for a page on mi site, and is logged on the SSO server, i need to force the login on the drupal, example:
X ask for this page www.misite.com/?q=node/4 (he is not logged in and this page is not accesible for anonymous users)
i will verify if he is auhtenticated on the SSO server, if so i will need to force the log in
Are there any good references for creating custom content types via modules in Drupal 5. I have had success with the tutorials via version 4.7 however I dont seem to get my custom content type to appear which I visit Create Content.
Any helpers, pointers to articles or posts much appreciated.
My module needs to access the taxonomy terms attached to a node when it is displayed. I dumped the return value of node_load() in the browser and saw that the terms are in an array under $node->taxonomy.
However, when I dump the node object that is passed to hook_load, I don't see $node->taxonomy anywhere.
So at what point do these terms get loaded into the node object, and how can I trigger it? Or should I just "manually" query {term_node} and load the terms myself?
I do a new module which include external file from phpSysInfo (http://phpsysinfo.sourceforge.net). I named this module as sysinfo.module and working fine on my notebook, but when I upload this to my server this error occurs: No Hacking.
Yes. Only a white page with this text: No Hacking.
This is the header section of sysinfo.module which caused this error:
just writing in to let others know that in your files/ directory you need to have a temp directory in order for imagecache to work. I removed the file early on because I thought only the image.module itself used that. Just in case someone else runs into this problem!