Download & Extend

Custom URL for pages created through pagination

Project:Pagination (Node)
Version:6.x-1.7
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Is it possible to have custom URL for paginated nodes of the form [base_url]/[header_tag_name] instead of trailing ?page=n?

Comments

#1

Status:active» postponed

Hi there,

I like this idea, however, I'm not sure if the way I'm thinking of is really worth the extra code involved. Basically, we'd have to delete / create new URL aliases every time the node was updated, which I'm not a huge fan of.

#2

Status:postponed» active

I understand the concern. Could you give me the idea on what lines you are thinking? If you could suggest me some ways to accomplish this, I'd like to work around this feature.

#3

Hmm, well I was thinking of using the URL aliases table.

1. On update / insert / delete of a node, delete all aliases to the node, then rebuild them based on the page titles available.
2. On view of a node, translate the URLs (if they have the extra argument) to match the page it should show, then show the correct page.

I suppose the code would be "ok" in the sense that it would only run under these conditions, but that is a lot of code to add just for this feature. You're definitely welcome to take a stab at it, but my general sense for this module is that I don't want it too bloated for such a basic feature.

#4

I'm writing the code. If I succeed, i'll share the same. Also I agree with your take on this. Would be better if we can develop this feature as a dependent or sub-module for the pagination module.

nobody click here