Hi, I was looking into the $body_id and I thought it would be better to have it return the internal path instead of the path alias... The path alias can be very long and could also change when a user changes it, whereas the internal path woud stay the same. This was easely done by changing:
$vars['body_id'] = 'pid-' . strtolower(preg_replace('/[^a-zA-Z0-9-]+/', '-', drupal_get_path_alias($_GET['q'])));
to
$vars['body_id'] = 'pid-' . strtolower(preg_replace('/[^a-zA-Z0-9-]+/', '-', drupal_get_normal_path(drupal_get_path_alias($_GET['q']))));
in template.php

Is this a good idea or are there some implications I am missing here?

Comments

Poieo’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Closing as won't fix since the D6 version is not getting any new development.