--- plugins/views_plugin_display.inc.OLD	2009-06-26 10:23:42.000000000 +1000
+++ plugins/views_plugin_display.inc	2009-09-01 19:35:50.000000000 +1000
@@ -166,7 +166,7 @@ class views_plugin_display extends views
       'use_ajax' => array('use_ajax'),
       'items_per_page' => array('items_per_page', 'offset', 'use_pager', 'pager_element'),
       'use_pager' => array('items_per_page', 'offset', 'use_pager', 'pager_element'),
-      'use_more' => array('use_more', 'use_more_text'),
+      'use_more' => array('use_more', 'use_more_text', 'more_url'),
       'link_display' => array('link_display'),
       'distinct' => array('distinct'),
       'exposed_block' => array('exposed_block'),
@@ -341,6 +341,9 @@ class views_plugin_display extends views
         'default' => 'more',
         'translatable' => TRUE,
       ),
+      'more_url' => array(
+        'default' => '',
+      ),
       'link_display' => array(
         'default' => '',
       ),
@@ -895,7 +898,7 @@ class views_plugin_display extends views
         $form['use_more'] = array(
           '#type' => 'checkbox',
           '#title' => t('Create more link'),
-          '#description' => t("This will add a more link to the bottom of this view, which will link to the page view. If you have more than one page view, the link will point to the display specified in 'Link display' above."),
+          '#description' => t("This will add a more link to the bottom of this view, which will either link to the page view or a custom URL (if set). If you have more than one page view (and no custom URL set), the link will point to the display specified in 'Link display' above."),
           '#default_value' => $this->get_option('use_more'),
         );
         $form['#title'] .= t('Text to use for the more link.');
@@ -905,6 +908,12 @@ class views_plugin_display extends views
           '#description' => t("The text to display for the more link."),
           '#default_value' => $this->get_option('use_more_text'),
         );
+        $form['more_url'] = array(
+          '#type' => 'textfield',
+          '#title' => t('Custom URL'),
+          '#description' => t('A Drupal path or external URL the more link will point to. Note that this will override the link display setting above.'),
+          '#default_value' => $this->get_option('more_url'),
+        );
         break;
       case 'distinct':
         $form['#title'] .= t('Display only distinct items, without duplicates.');
@@ -1491,6 +1500,7 @@ class views_plugin_display extends views
       case 'use_more':
         $this->set_option($section, intval($form_state['values'][$section]));
         $this->set_option('use_more_text', $form_state['values']['use_more_text']);
+        $this->set_option('more_url', $form_state['values']['more_url']);
       case 'distinct':
         $this->set_option($section, $form_state['values'][$section]);
         break;
@@ -1659,6 +1669,9 @@ class views_plugin_display extends views
           $url_options['query'] = $this->view->exposed_raw_input;
         }
         $theme = views_theme_functions('views_more', $this->view, $this->display);
+        if ($this->get_option('more_url')) {
+          $path = $this->get_option('more_url');
+        }
         $path = check_url(url($path, $url_options));
         return theme($theme, $path, $this->use_more_text());
       }
