1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 09:39:55 +02:00

Mega-Menu shortcode example added to Bootstrap theme.

This commit is contained in:
Cameron
2017-03-31 14:26:26 -07:00
parent 67eac11370
commit 6c3112f9a6
3 changed files with 50 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ if (!defined('e107_INIT')) { exit; }
* @param string $parm['source'] latest (latest news items) | sticky (news items) | template (assigned to news-grid layout)
* @param integer $parm['order'] n.news_datestamp DESC
* @param integer $parm['limit'] 10
* @param string $parm['template'] default | or any key as defined in news_grid_template.php
* @param string $parm['layout'] default | or any key as defined in news_grid_template.php
*
* @example hard-coded {MENU: path=news/news_grid&limit=6&source=latest&featured=2&template=other}
* @example admin assigned - Add via Media-Manager and then configure.
@@ -24,4 +24,6 @@ if (!defined('e107_INIT')) { exit; }
$cached = e107::getObject('news')->render_newsgrid($parm);
var_dump($parm);
echo $cached;