Is it possible to enter proper body text in html by choosing input format as html as in a normal node?
How can the pagination and "previous" "next" links be taken at the bottom?

Most importantly is it possible to have pagination in this pattern [1 2 3 ... 9] like
acidfree - please see -http://vernon.mauery.com/content/albums/nathan/two_years_old?page=3
and the actual titles replacing the "previous" "next" links as in book page ?

Comments

kmonty’s picture

Status: Active » Closed (fixed)

You can theme the pager however you want provided you are comfortable with PHP and overriding theme functions.

http://api.drupal.org/api/function/theme_pager

kaakuu’s picture

Status: Closed (fixed) » Active

Theme_pager handles pagination on pages listing node titles or node teasers or node thumbnails.
The issue here was about a pager on the page of the node itself. A link to such example : http://vernon.mauery.com/content/albums/nathan/two_years_old/like_father...

api/function/theme_pager does not solve this issue.

Please mark this as won't fix if this is not deemed to be implemented.

kmonty’s picture

Title: How to have numbered pagination like acidfree ? » Improve the gallery image pagination
Version: 6.x-2.0-alpha9 » 6.x-2.x-dev
Category: support » feature

This is a feature request, from what I can tell, to improve the default pagination to allow for direct links to the first + last image, as well as 2 images in either direction.

Currently, node gallery uses its own pager. Implementing the pager with theme_pager as opposed to a custom function could be ideal.

dddave’s picture

Version: 6.x-2.x-dev » 6.x-3.x-dev
wapnik’s picture

And what about implementing the Custom Pagers module?

scroogie’s picture

Status: Active » Postponed

The pager in 3.x already offers links to the first, previous, next and last image. The overview pages of images in a gallery are implemented with Views, so they offer all possibilities of the Views pager (which btw is being extended in the next Views version).
Perhaps it would be nice to offer additional options for the pager on the image node, but I think this is a feature for a later version, like 3.1 or 3.2. We first need to finish all that is needed for a first release of 3.0.

justintime’s picture

Status: Postponed » Fixed

I'm going to close this one, because the original feature requests are currently implemented in 3.x

ipwa’s picture

I think the one thing that still wasn't answered is how to place navigation links at the bottom, is there a way to do this?

justintime’s picture

@ipwa, this is a theming issue, but I'll answer it here.

In node_gallery_nodeapi(), we set the weight of the navigator content to -10, because most people want it above the rest of the content.

In your theme, you can customize the output of the individual pieces of $node, like mentioned at http://drupal.org/node/127553.

Specifically, look at post #5. Here's what you'd do:

<div class="content clear-block">
  <?php print $node->content['body']['#value']; /* print $content */ ?>
  <?php print $node->content['image_navigator']['#value']; ?>
</div>
ipwa’s picture

Awesome, thanks! Sorry for hijacking the issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.