mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +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