1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 01:00:20 +02:00

Issue #2795 Support multiple news 'view' layouts (requires database update)

This commit is contained in:
Cameron
2017-09-23 14:08:47 -07:00
parent 9606105e24
commit 13d58de464
6 changed files with 157 additions and 11 deletions

View File

@@ -374,7 +374,7 @@ class news {
// Retrieve batch sc object, set required vars
$wrapperKey = (!empty($param['template_key'])) ? 'news/'.$param['template_key'].'/item' : 'news/view/item';
$wrapperKey = (!empty($param['template_key'])) ? $param['template_key'].'/item' : 'news/view/item';
$editable = array(
'table' => 'news',