Is there any way to make the Replacement patterns of the view match with the Pathauto module Replacement patterns??
I mean the Pathauto module include some raw patterns and replace some special characters, with a set of others or just erased from the URL string, but view don't (until I know). In that way an space, dot, Dollar symbol, parenthesis, and many others special characters can be erased or changed by other symbol.

Is any way to do that or just it's to much to ask for this module now a day???
Thank and excuse my English please

Comments

merlinofchaos’s picture

Status: Active » Closed (won't fix)

Sorry, there is not.

neopulse’s picture

Any ideas about how to change the module to allow this i mean someone know were I must work (in the module code of course) to make this??? any specific function that need to be changed.
I have been working with php for about 6 years, and i can make a patch, but i need some docs about the module code, i don´t want to lose a week to discover how the module works, and what every line of code do.
excuse my english please

mikejonesok’s picture

This would be awesome as I want to remove special characters and replace them with dashes.

neopulse’s picture

I solved in other way, I just use de | character to show a value and store another in the cck field, I mean, i need to show a list of values in a combo-box to let the user choose one of then, then i use this value to make the url to this node. example in the field departament

Viced. Investigaciones
Viced. Docente
Viced. Postgrado
Cáted. MGI
Cáted. Inglés

Of course white spaces, dots, and non English characters like á, é,...,ú,ñ, and other fail to get back to this url, because the Pathauto module, replace those characters.

How i solved
Just store in the cck field one value (with the right url, characters changed) and show another value to let the user choose, ex. (the previous example)

viced-investigaciones|-Viced. Investigaciones
viced-docente|-Viced. Docente
viced-postgrado|-Viced. Postgrado
cated-mgi|-Cáted. MGI
cated-ingles|-Cáted. Inglés

The first argument (before the | symbol), can be used in views, Pathauto module, and other, while user only see the second argument (after the | symbol).
May be is not the best way, but while new versions include this functionality......
and i just try in combo-box, not in other fields types

PD: Excuse my English please