mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Fix parm description and example on news_grid_menu.
This commit is contained in:
@@ -9,7 +9,7 @@ if (!defined('e107_INIT')) { exit; }
|
|||||||
/**
|
/**
|
||||||
* News Grid Menu
|
* News Grid Menu
|
||||||
*
|
*
|
||||||
* @param string $parm['caption'] text or constant
|
* @param string $parm['caption'] text or constant - will use tablerender() when set.
|
||||||
* @param integer $parm['titleLimit'] number of chars fo news title
|
* @param integer $parm['titleLimit'] number of chars fo news title
|
||||||
* @param integer $parm['summaryLimit'] number of chars for new summary
|
* @param integer $parm['summaryLimit'] number of chars for new summary
|
||||||
* @param string $parm['source'] latest (latest news items) | sticky (news items) | template (assigned to news-grid layout)
|
* @param string $parm['source'] latest (latest news items) | sticky (news items) | template (assigned to news-grid layout)
|
||||||
@@ -17,7 +17,7 @@ if (!defined('e107_INIT')) { exit; }
|
|||||||
* @param integer $parm['limit'] 10
|
* @param integer $parm['limit'] 10
|
||||||
* @param string $parm['layout'] 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 hard-coded {MENU: path=news/news_grid&limit=6&source=latest&featured=2&layout=other}
|
||||||
* @example admin assigned - Add via Media-Manager and then configure.
|
* @example admin assigned - Add via Media-Manager and then configure.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user