[Solved] AJAX Callback on a Hidden Field in the Forms API

I am trying to run an AJAX callback through the forms API using a hidden field. I have the following code for my hidden field:

<?php
  $form['videowall_video_id'] = array(
      '#type' => 'hidden',
      '#default_value' => '000000',
      '#ajax' => array(
          'callback' => 'videowall_respond_form_callback',
          'wrapper' => 'form_wrapper',
      ),
  );
?>

When a button is clicked, I use jQuery to change the value of that hidden field. Here is the jQuery I use:

[RESOLVED] Creating a footer menu

I'm attempting to create a footer menu on my new site and I can't figure out what code I should embed in my template to do so.

It's easy enough to create it in the admin, I'm just not sure which hook or block I should be using to put it into my template. (and what that code might look like)

I have 10+ years working with php so I'm not a novice to programming however,I'm just starting to learn drupal.

thanks guys

I don't understand theme('links_system_main_menu');

I've been looking around online for the last hour to get some kind of explanation for what the following means:

print theme('links__system_main_menu', $variables);

I understand that theme() fulfills a lot of roles in the theme system and I know that 'links' refers to the theme_links() function inside /includes/theme.inc what I don't understand is '__system_main_menu'?, what files does this refer to? Why are there two '__'?

catastrophe, updated via GoDaddy "one click"

I don't where to start unraveling this mess... http://www.standingbearstudios.com/blog/

Can anyone spare some pity and give me a starting point? I fully realize that my inexperience with Drupal brought me to where I am at the moment.

It's kind of a bummer because the site has a wee bit of rank on Google for at least one or two phrases.

thank you

members advertising module . dose it exist?

Hello everyone.
I am new to Drupal. I think i did install this app once on my computer long time ago , however, i need to start a project so I thought Drupal would be great way to go .

I need to create a site where users can upload their images , Post information about themselves and other attribute about what they do , etc.
I was wondering if there is any module for drupal that can do this .
thanks.

Setting a different homepage for different users

I would like to set up a site so when a user logs in they're taken to one of several homepages. I'm setting up a car site. I would like when a dealer logs in, they're taken to a dealer homepage. When an private buyer comes in they're taken to a different homepage.

I've noticed several different modules - organic groups, simple access, content access just wondering which would be the best one and the easiest to set up and administer.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x