I installed v.90 (+ Ryan’s updated list). I also removed the timestamp.id info that gets appended by setting it up like this:
// *****************************************************************
// EDIT HERE:
// *****************************************************************
//$alias_new = $_POST[’pagetitle’].’.’.$date.$id;
$alias_new = $_POST[’pagetitle’];
I also updated the default ’-’ delimiter to be ’_’ (underscore) instead.
// Convert accented characters to their non-accented counterparts.
$replace_array = array(
’ ’ => ’_’,
...All this has been done using 0.9.6 (rev 2754)...
So, as an example, I tried letting auto-alias + CustomAliases do it’s magic on:
MODx (CustomAliases) is "cool"
This is what I
hoped I would get:
modx_customaliases_is_cool
...
but this is what I got:
modx_%28customaliases%29_is_%22cool%22
...is this accurate?
I see the logic is urlencoding, but I’m not sure I understand why...plus, I thought I read that this should be properly "stripped out" ?
$alias_new = strtr($alias_new, $replace_array);
$alias_new = str_replace(’--’,"-",$alias_new);
$alias_new = strtolower($alias_new);
$alias_new = urlencode($alias_new);