I'm new here. I'm not sure this is the correct place to post. I just wanted to let somebody know that in the event module in the file event.module, in the function event_calendar_data, the following SQL:
$result = db_query(db_rewrite_sql('SELECT DISTINCT(n.nid) FROM {event} e INNER JOIN {node} n USING (nid) WHERE n.status = 1 AND ((e.start > %d AND e.start < %d) OR (e.end > %d AND e.end < %d) OR (e.start < %d AND e.end > %d)) ORDER BY e.start '), $first, $last, $first, $last, $first, $last);
I have an idea for a module. Before I start working on it, I thought I would ask if others thought it was a good idea.
My idea is that when you create a node it would automatically tag it with a taxonomy term for the current date (this would be configurable whether it would be a tag for the day, week, month, or even year of creation). If this term did not exist it would create it. Probably it would optionally also automatically create a URL alias along the lines of "/viewbydate/June_2005" where viewbydate would be a custamizable string.
I have found a couple of modules on the drupal.org site which i thought might form the foundation for what i wanted to acheive. (previous posts... http://drupal.org/node/25448)
The forms modules appears to offer some radio selection functionality but i can't see how to this modules once it has been activated and there is no documentation
to help. As for the smileys modules this appears not to work after activation,
I was unable to get the ldap working with the latest version of drupal. I have been creating my own. I have ldap working and the ability to return if a user exists and verify the password. The problem I have is how do I create a user in drupal in PHP? I looked at several other modules and the code looks like below:
I am currently looking at writing some drupal code that will allow a user on his 'account information' page
,ie Home > user account > Paul, to select an emoticon icon that will be attributed to his account and will be displayed
at various positions on the page such as under Online users.
Can anyone offer any guidance in getting started in particular
1. How is the various content on 'account information' page generated
2. For example how/where would i find the code that generates the Online users content.