Posted By

focal55 on 08/31/11


Tagged

drupal 6


Versions (?)

Drupal 6 get path auto programmatically


 / Published in: PHP
 

  1. <?php
  2. // You can use this in your template.php file
  3. if (module_exists('path')) {
  4. $alias = drupal_get_path_alias($_GET['q']);
  5. print $alias;
  6. }
  7. ?>

Report this snippet  

You need to login to post a comment.