Is there an API available by which I can have my module's paths aliased?

CommentFileSizeAuthor
#4 309820_update_api.patch4.13 KBgreggles

Comments

nancydru’s picture

This issue is because of #309653: Pathauto, Nodewords and Page Title integration in the Glossary queue.

greggles’s picture

Well, there's an API documented in API.txt and that is basically for node, user, or term based systems.

If your module is based on some other system...there's not much for pathauto to do.

If it is based on one of those and the current API is insufficient then we can see about improving them.

nancydru’s picture

What my users want is a way to generate paths for the pages my modules provides. They are sort of term based, but not taxonomy/term - and yes, I do provide a glossary_term_path function.

greggles’s picture

Title: API for other modules? » Update API.txt for other modules
Component: User interface » Documentation
Category: support » task
Status: Active » Needs review
StatusFileSize
new4.13 KB

The API.txt needed an updating...can you review this? Anything still not clear?

nancydru’s picture

It reads fine. I'll have to see if I can actually follow it. If I create stuff for 6.x-2.x, will it just copy over to 5.x-2.x?

BTW, the patch wouldn't apply, so I did it manually.

greggles’s picture

6.x-1.x is the direct 6.x appropriate upgrade of the 5.x-2.x code base.

6.x-2.x is the place where new features are being added.

So, if your module needs to interact with Pathauto 5.x-2.x and 6.x-1.x then they are basically the same. But 6.x-2.x may introduce some changes (not sure yet...but it might).

greggles’s picture

Assigned: Unassigned » greggles
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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