mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 05:07:27 +02:00
Fixes #2821 - News Category URL.
This commit is contained in:
@@ -280,6 +280,12 @@ class news_shortcodes extends e_shortcode
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function sc_news_category_url($parm=null)
|
||||||
|
{
|
||||||
|
$category = array('id' => $this->news_item['category_id'], 'name' => $this->news_item['category_sef'] );
|
||||||
|
|
||||||
|
return e107::getUrl()->create('news/list/category', $category);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user