Adjusted navigation order back to original design. In order of how far you are navigating, and buttons size reduction. Perhaps we can get an option in this widget for ordering the buttons. Could be useful for switching up the order of non-navigation buttons in this widget as well.

Also I think we need to consider the user of Next and Previous in Chapter, we are treating and styling it like its similar to the chapter navigation button, but what it really is is a replacement for the Next and Previous buttons. As far as real world use of it, it acts exactly like the next and previous buttons for the chapter you are in, the only time it varies from the next previous is that it is disabled at the first and last comic of that chapter, therefor you would probably use it with chapter buttons, rather than with repetitive prev next buttons. The difference is if you have multiple series and then you would give them the option of next in series or next comic, again, both being next, and should probably duplicate the Next and Previous Graphic buttons or similar for the button images.
This commit is contained in:
mindfaucet 2009-11-29 17:39:05 -07:00
parent 9d8d784c16
commit 4819d25219
1 changed files with 3 additions and 3 deletions

View File

@ -178,15 +178,15 @@ class GraphicalNavigationWidget extends WP_Widget {
*/
function comicpress_display_navigation_order($order = array()) {
return array(
'first', 'previous', 'story_prev_in', 'story_prev', 'archives', 'random', 'comictitle', 'comments', 'buyprint', 'story_next', 'story_next_in', 'next', 'last'
'first', 'story_prev', 'story_prev_in', 'previous', 'archives', 'random', 'comictitle', 'comments', 'buyprint', 'next', 'story_next_in', 'story_next', 'last'
);
}
function comicpress_navigation_grouping_details($details = array()) {
return array(
'comic_navi_left' => array('first', 'previous', 'story_prev_in', 'story_prev'),
'comic_navi_left' => array('first', 'story_prev', 'story_prev_in', 'previous'),
'comic_navi_center' => true,
'comic_navi_right' => array('story_next', 'story_next_in', 'next', 'last')
'comic_navi_right' => array('next', 'story_next_in', 'story_next', 'last')
);
}