Making jplayer come up when a file is clicked on

Hello folks. Maybe I'm dumb or just maybe, I don't know what i need to know to make this happen. I'm working on an audio teachings page for my site. I'll give the link below so you might be able to see it.
Currently, the instance of jplayer I use is on the bottom of the page. I want the player to only show when a file is clicked on.
How can I make this happen? Here's the link so that you can see what's going on and maybe advise me how to fix it up. If this helps, I'm using the media module and file field with media widget. I'm using jplayer 2.10. Here's the link:

field_language not migrated to field_data_field_language

After an upgrade to Drupal 7 and wondering what happen to the value of my language field, I found out that the field_language is not migrated to field_data_field_language table.

field_language is a select list widget type. I have other fields like field_tags using autocomplete widget type and field_code using file upload as the widget type and they are being converted without error to field_tags_field_tags and field_data_field_code_file.

Only the field_language has the problem because it is using select list as the widget type.

Many fatal errors occured when transfer driupal7 from localhost to production host

I installed Drupal 7.4 on localhost (xampp 1.7.3), then upload all files to server, dump the db, execute the batch file on server's mysql, change sites/default/settings.php file.

Then I got many fatal errors:

Call to undefined function user_access(),This error didn't occur any more, but I don't know why

Call to a member function get_render_tokens() on a non-object in D:\\...\\sites\\all\\modules\\views\\plugins\\views_plugin_style.inc on line 319

Is there any problem with my method?

Ajax to Give Simple Javascript Command

I'm struggling to get my form to have Ajax run javascript. I can do the replacement example ok that is located at http://api.drupal.org/api/drupal/includes--ajax.inc/group/ajax

And sometimes if I put the output open the output form that in script tags, I'll get some outcomes, but I'll also get a lot of errors.

<script>
 JS in here
</script>

I'm thinking what I want to do is return commands. All I'm trying to do right now is get a google map to recenter. I'm not using the maps module because I want Maps API V3.

My code I'm trying to run right now is:

function mobile_location_form($form, $form_state){
$form['container']['controls']['submit'] = array(
'#type' => 'submit',
'#value' => 'Submit',
'#ajax' => array(
'callback' => 'ajax_example_simplest_callback',
'wrapper' => 'replace_textfield_div',
),);

$form['container']['controls']['replace_textfield'] = array( // ajax writes our new map locations here.
'#prefix' => '

',
'#suffix' => '

',
);

return $form;

}

function ajax_example_simplest_callback($form, $form_state) {

$commands = array();
$commands[] = 'oMap.setCenter(google.maps.LatLng(0,0))';

using Ajax breaks form actions after the pager is used inside a view

I have some 'Add to cart' button elements inside a view that stop working after the pager is used. The view & pager works perfectly without Ajax, but when ajax is enabled, the buttons break, because the form action is replaced with '/views/ajax' instead of the valid URL action for the button.

Adding infomation to header

Hello everyone,

I have am image on my main page that when the user moves his or her cursor over it I would like a small tooltip to pop up.

Below is the code I would like to add to the header then to the page its self:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x