Commit 73f9ade9 authored by Francesco Iannuzzelli's avatar Francesco Iannuzzelli

Add topic group to article items

parent b7538d7c
......@@ -623,7 +623,7 @@ class Layout
$article['id_subtopic'] = $item['id_subtopic'];
if ($item['id_subtopic']>0)
$article['breadcrumb'] = $this->SubtopicPath($item['id_subtopic']);
$topic = array('id'=>($this->topic->id),'name'=>($this->topic->name));
$topic = array('id'=>($this->topic->id),'name'=>($this->topic->name),'id_group'=>($this->topic->id_group));
$this->Urlify($topic,"topic_home",array('id_topic'=>$this->topic->id));
$article['topic'] = $topic;
if ($item['show_author'] && !($template && in_array("author",$hidden_fields)))
......@@ -3229,7 +3229,7 @@ class Layout
$functions = $this->tr->Translate("page_functions");
if($is_global)
{
$rows = $this->pt->ft->GlobalFeatureGetByType($id_type);
$rows = $this->pt->ft->GlobalFeatureGetByType($id_type);
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment