// It is very important to call the parent function here:
parent::buildOptionsForm($form,$form_state);
switch($form_state['section']){
case'path':
$form['#title'].=t('The menu path or URL of this view');
$form['path']=array(
'#type'=>'textfield',
'#description'=>t('This view will be displayed by visiting this path on your site. You may use "%" in your URL to represent values that will be used for contextual filters: For example, "node/%/feed".'),