Closed (outdated)
Project:
Pathauto
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 May 2008 at 21:32 UTC
Updated:
7 Feb 2026 at 10:12 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gregglesInteresting idea. I'm not sure that this should be handled by Pathauto on its own, but instead by a module that does this in general.
That said, it could be good to implement the "variable dump" idea I had as a Pathauto setting export: #259949: Add text file export of Pathauto configuration for debugging
If this does happen, it's much more likely on the 6.x-2.x branch (which doesn't exist yet, so I'll set this to 6.x-1.x for now).
Comment #2
dave reidI think it would be much more appropriate to support a generalized import/export variable solution.
Comment #3
dave reidThis would be even easier if we stored the patterns and their options in the db like I'd like to start doing with #273104: Using "progressive disclosure" for alias patterns
Comment #4
designerbrent commentedWould this enable it to be use with the Features module for exporting path_alias patterns with an individual feature?
Comment #5
gregglesI'm repurposing this a bit. I'd like us to move at least the "general settings" and the feed setting and whether feeds are enabled to a different place of storage than the variable table (or maybe stored there, but just as a tree).
I also think we should refactor the code in this area a bit:
Our current pattern:
A better pattern:
I'm repurposing this issue since it's the most related.
#686234: Re-architect alias transformations
#273104: Using "progressive disclosure" for alias patterns
have interconnected ideas.
Comment #6
pifantastic commentedHere is my crack at this (with help from greggles).
With this patch, pathauto variables are stored in a separate function and can be overridden when calling pathauto functions. This patch is against 6.x-1.3 but should communicate the general idea.
Comment #7
gregglesThis patch works for me and seems like it should make our lives easier as we head toward the final goal in this issue. I think we should commit it as an interim step.
Comment #8
dave reidYeah this would need to be rolled against the latest D7 and D6-2 branches. This wouldn't be appropriate for the 6.x-1.x branch.
Comment #9
pifantastic commentedGreat. I will find time in the near future to roll a patch against the D7 and D6-2 branches.
Comment #10
dave reidI'll try to give a higher-level review later tonight as well.
Comment #11
designerbrent commentedWondering if this will get in...
Comment #12
mably commented