1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-27 00:05:46 +02:00

Issue #1512 News Grid Menu

This commit is contained in:
Cameron
2016-04-09 16:12:08 -07:00
parent dd294e71fa
commit 444348dc4d
13 changed files with 163 additions and 22 deletions

View File

@@ -684,10 +684,12 @@ class e_news_tree extends e_front_tree_model
$parser = e107::getParser();
$batch = e107::getScBatch('news')
->setScVar('param', $param);
$batch->wrapper('news_menu/latest'); //@SecretR - Please FIXME, I'm lost in here. (Cam)
$wrapperKey = ($parms['tmpl'].'/'.$parms['tmpl_key']);
$batch->wrapper($wrapperKey);
$i = 1;
$items = $this->getTree();
if(!empty($items))