You are here

function _ed_classified_make_category_path in Classified Ads 5

Same name and namespace in other branches
  1. 5.2 ed_classified_utils.inc \_ed_classified_make_category_path()
  2. 6.2 ed_classified_utils.inc \_ed_classified_make_category_path()
  3. 7.2 ed_classified_utils.inc \_ed_classified_make_category_path()

Make a 'path' to a category view for a given tid.

5 calls to _ed_classified_make_category_path()
ed_classified_link_alter in ./ed_classified.module
Implementation of hook_link_alter (&$links, $node) Find and destroy old taxonomy links for the classified ads node. This will create links to the custom classified ads taxonomy view. This would be easier if the hook callback knew what module…
ed_classified_page in ./ed_classified.module
Display a page of classified ads, as appropriate. Lifted from image_gallery module. Shameless.
ed_classified_view in ./ed_classified.module
Implementation of hook_view().
theme_ed_classified_ads_block in ./ed_classified_themefuncs.inc
Theme an ads block
theme_ed_classified_category_name in ./ed_classified_themefuncs.inc

File

./ed_classified_utils.inc, line 367
Simple text-based classified ads module. Michael Curry, Exodus Development, Inc. exodusdev@gmail.com for more information, please visit http://exodusdev.com/drupal/modules/classified.module Copyright (c) 2006, 2007 Exodus Development, Inc. All Rights…

Code

function _ed_classified_make_category_path($tid) {
  return drupal_get_path_alias(EDI_CLASSIFIED_PATH_NAME . '/tid/' . $tid);
}