Closed (won't fix)
Project:
Pathauto
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 May 2005 at 00:44 UTC
Updated:
17 Feb 2007 at 20:30 UTC
pathauto creates aliases for /taxonomy/term/n and not /image/tid/n for image-type nodes. This seems slightly odd to me as it results in image gallery URLs not being "friendly" while the actual taxonomy categories are.
This patch just changes the src alias when dealing with image-type nodes.
| Comment | File | Size | Author |
|---|---|---|---|
| pathauto-image_type.patch | 1.72 KB | lewiz |
Comments
Comment #1
lewiz commentedThis is designed to be used in conjunction with a patch for image.module -- see http://drupal.org/node/23830
Comment #2
mikeryanpathauto is implemented as a module that provides automatic aliasing services to other modules, through a documented API. Because it's not appropriate for core modules like node and taxonomy to support a contributed module like pathauto, implementations are provided (pathauto_node.inc etc.) for core modules. However, I don't think it's appropriate to build support for a contributed module like image into pathauto - better would be for image.module to add support for pathauto (i.e., calling pathauto_create_alias after taxonomy_save_term in image_admin).
Comment #3
fellow commentedI need some like this for drupal 5. Anyone help me? Thanks!