How to add a jquery for a specific page, e.g. page--node--%.tpl.php

Is there a way to add a jquery to a specific file for adding a class that a button is active?

In .info we can do that, but how about for a specific page?

Maintenance mode not displayed while upgrade process is in process - How do I do this correctly?

I've searched the forums re this but am not finding an answer … I have a question about upgrading. I'm doing the upgrade to 7.12. I am following the instructions in upgrade.txt. I put the site in maintenance mode and follow the instructions to "Remove all old core files and directories, except for the 'sites' directory and any custom files you added elsewhere". But as the files are being deleted and I access the site as a non admin user from a browser I don't see the maintenance mode page, but rather an apache file listing page.

edit permissions

I do not really know anything about drupal.
could somebody please tell me if/how it's possible to have tow users/roles that are allowed to edit content, but have a set of pages that they allowed to edit. and cannot edit each other pages.
thanks!

What file to change "search" text?

Hello.
I want to change the "search" text on the standard search form module.
In which file would i do that? and where?

Hope you can help, thanks..

Form submit, return submitted values to page. help

Hello I am writing a module that is a block with a form in it. I would like to display the data back to the form, or to a div on the page, but not through "drupal_set_message".

I am assuming I need to use a callback, but I dont understand it very well... my code

function store_locator_block_view($delta = '') {
switch($delta){
case 'store_locator':
$block['subject'] = t('Find a local retailer');
$block['content'] = drupal_get_form('store_locator_my_form');
break;

}
return $block;
}//block view

function store_locator_my_form($form_state) {

$form['location']['zip'] = array(
'#type' => 'textfield',
'#size' => 10,
'#maxlength' => 5,
'#title' => t('Zip Code'),
);
$form['location']['text'] = array(
'#type' => 'fieldset',
'#title' => t('OR'),
);
$form['location']['city'] = array(
'#type' => 'textfield',
'#size' => 20,
'#maxlength' => 25,
'#title' => t('City'),
);
$form['location']['state'] = array(
'#type' => 'select',
'#title' => t('State'),
'#options' => array(
'' => 'select a state...',
'AL' => 'Alabama',
),
);

$form['location']['markup'] = array(
'#type' => 'fieldset',
'#title' => t('Choices'),
'#prefix' => '

',
#suffix' => '

',
),
);

Bounty Voting API Service for Services 3

I'm looking for someone to implement a voting api services for services 3 (d7). If your familiar please let me know what the requirements would be.

thanks

http://drupal.org/node/241453

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x