mirror of
https://github.com/e107inc/e107.git
synced 2025-08-30 01:30:32 +02:00
Issue #1512 News Grid Menu
This commit is contained in:
@@ -90,7 +90,16 @@ $NEWS_MENU_TEMPLATE['other2']['end'] = "</ul>";
|
||||
|
||||
|
||||
|
||||
// Grid Menu
|
||||
$NEWS_MENU_TEMPLATE['grid']['start'] = '<div class="row news-menu-grid">';
|
||||
$NEWS_MENU_TEMPLATE['grid']['item'] = '<div class="item {NEWSGRID}">
|
||||
{SETIMAGE: w=400&h=400&crop=1}
|
||||
{NEWSTHUMBNAIL=placeholder}
|
||||
<h3>{NEWSTITLE: limit=_titleLimit_}</h3>
|
||||
<p>{NEWSSUMMARY: limit=_summaryLimit_}</p>
|
||||
<p class="text-right"><a class="btn btn-primary btn-othernews" href="{NEWSURL}">'.LAN_READ_MORE.'</a></p>
|
||||
</div>';
|
||||
$NEWS_MENU_TEMPLATE['grid']['end'] = '</div>';
|
||||
|
||||
|
||||
|
||||
//$NEWS_MENU_TEMPLATE['latest']['separator'] = '<br />'; // Shouldn't be needed.
|
||||
// $NEWS_MENU_WRAPPER['grid']['NEWSTITLE'] = "<span style='color:red'>{---}</span>"; // example
|
||||
|
Reference in New Issue
Block a user