Drupal 6 Ajax And FAPI

Hi guys

I'm having problems with Ajax and the form api. I have a module that uses Ajax to generate content dynamically into a div!

My module structure looks like this

Module-> friends.module - friends.pages.inc
its also holds a directory called inc which has the following file friends.api

Now I have my main function that does this:
function friends_default() {
drupal_set_html_head('

window.onload = function() { friendsoptions(\'?q=friends/showfriends\', \'friends_options_box\') ; }

');
return t('

Hide Sing in box

Hi folks,
I am new with drupal but begin to like it already. I am going to set up a very simple website with only a few text pages (home, about, contact, etc. - no forum, blog, etc.). I don't need people to register so is it possible for me to hide the User Log In User from all site visitors except Administrator? I appreciate any hints you can give.
thanks

How to add attachments to Forum topic

Hello

I wish to have the possibility to add attachments to the forum.
In "Content Type" the Attachments are "Enabled" but I still unable to add.

What shall I do?

Thanks

Daniel

Displaying Taxonomy terms separately (by vocabulary)

There are several snippets to pull out taxonomy terms by vocabulary so that you can customize the display. I for example want to show on an article "by [one vocab term]" and "issue [different vocab term]" and style them each differently.

None of these snippets seem to work for Drupal 6.0 and I'm not sure why - I've been struggling tonight trying to sort it out to no success. Has anyone updated or come up with a new snippets to do this?

Create blocks that accept javascript and php code

I want to put Google ads in the right sidebar. But when I put script tags in the new block that I created. It looks like it strips out all the script tags. And when I put php, it simply display the php code without executing it.

I understand that to enable the acceptance of script and php tags, I might have to modify drupal code, but where to start?

Is it possible to separate upload folders.

Is it possible to have separate uploaded folders.

This is what I want to do. Allow users to upload files, as attachments, which will be stored outside the www root, which is set to private. These files will be zip files or .cpp (text) files for later download. I want to control those downloads - that is, know when they have been downloaded.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x