mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 12:21:45 +02:00
Issue #2806 - Expands on News list template to add specific styling for the first item in the list.
This commit is contained in:
@@ -33,6 +33,29 @@ $NEWS_INFO = array(
|
||||
// Template/CSS to be reviewed for best bootstrap implementation
|
||||
$NEWS_TEMPLATE['list']['caption'] = '{NEWSCATEGORY}';
|
||||
$NEWS_TEMPLATE['list']['start'] = '{SETIMAGE: w=400&h=350&crop=1}';
|
||||
/*
|
||||
// (optional)
|
||||
$NEWS_TEMPLATE['list']['first'] = '
|
||||
{SETIMAGE: w=800&h=400}
|
||||
<div class="default-item">
|
||||
|
||||
{NEWSIMAGE: item=1}
|
||||
<h2 class="news-title">{NEWS_TITLE: link=1}</h2>
|
||||
<p class="lead">{NEWS_SUMMARY}</p>
|
||||
{NEWSVIDEO: item=1}
|
||||
<div class="text-justify">
|
||||
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<a href="{NEWS_URL}" class="btn btn-primary">{LAN=LAN_READ_MORE}</a>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
</div>
|
||||
{SETIMAGE: w=400&h=350&crop=1}
|
||||
';
|
||||
*/
|
||||
|
||||
$NEWS_TEMPLATE['list']['end'] = '';
|
||||
$NEWS_TEMPLATE['list']['item'] = '
|
||||
|
||||
|
Reference in New Issue
Block a user