Closed (fixed)
Project:
Pathauto
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
17 Sep 2008 at 17:56 UTC
Updated:
21 Mar 2009 at 20:00 UTC
Jump to comment: Most recent file
Is there an API available by which I can have my module's paths aliased?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 309820_update_api.patch | 4.13 KB | greggles |
Comments
Comment #1
nancydruThis issue is because of #309653: Pathauto, Nodewords and Page Title integration in the Glossary queue.
Comment #2
gregglesWell, 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.
Comment #3
nancydruWhat 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.
Comment #4
gregglesThe API.txt needed an updating...can you review this? Anything still not clear?
Comment #5
nancydruIt 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.
Comment #6
greggles6.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).
Comment #7
gregglesOk, committed to all three branches.
http://drupal.org/cvs?commit=180186
http://drupal.org/cvs?commit=180182
http://drupal.org/cvs?commit=180180