I have a simple one for experts. As soon as user logs in he would select a preferred category. That category will be used as long as he does not change it to other values. Is there a standard (technique/hook/API) way of managing such session variables in Drupal? I would want to use standard stuff if there are available.
I'm posting this here and not in "issues" since it doesn't seem like anyone else has this problem.
Event Module 4.6
Site-wide/Default time zone: "-5"
Event time zone input/display: "Use the sitewide time zone"
Configurable time zones: "Enabled"
My Time zone: "Default"
2 Test accounts: "Default"
I'm tinkering with my first module. Well, really tweaking the old sso module to suit my purposes and will likely eventually release it.
The existing module uses the _init() hook to run code every time a Drupal page gets loaded, regardless of the path. In general, newer modules use the _menu() hook to designate what to do depending on the path provided.
But I didn't see any documentation for the menu hook saying how to do two things:
1) Designate an action that should be taken regardless of the path.
I am completly new to drupal and try to understand the node_example.module . I copied the exact code from the node_example example and did run the necessary SQL. I can activate it but when I try to create content it shows up on the left hand navigation but nothing on the right side. I searched the forums and a few other people had the same problem but their solutions didnt seem to work for me.
As far as I understand things so far, the error should be in the node_example_form code ?
Also I noticed that node_example_form uses this code to create the forms:
It doesn't work. No errors, but no image either. I have missed out on a lot of possible new members to my website because of it. It seems to work intermitantly, even with GD2.
Is there something better? Or a newer version not posted here that someone has?