By apersaud on
I need to get the node ID using just the URL alias. Is there a drupal function I can use to get that information?
I need to get the node ID using just the URL alias. Is there a drupal function I can use to get that information?
Comments
drupal_lookup_path
http://api.drupal.org/api/function/drupal_lookup_path/5
Might need a bit of wrangling, but should do the trick.
James
That was it - thanks!!!
That was it - thanks!!!
Drupal 6 ?
How in drupal 6 ?
Are this way can used ?
problem?
did you not even try to look ?
.dan. is the New Zealand Drupal Developer working on Government Web Standards
Drupal 6
http://api.drupal.org/api/drupal/includes--path.inc/function/drupal_look...