Articles Samples

Last edited: 6/29/2010

ekk_articlepage.php

<? getContent(
"article",
"display:detail",
"find:".$_GET['sermonslug'],
"show:<h3>__title__</h3>",
"show:<ul id="byline">",
"show:<li id="bl_preacher">__author__</li>",
"show:<li id="bl_date">__date format='M j, Y'__</li>",
"show:<li id="bl_series">Series: __series__</li>",
"show:</ul>",
"show:<div id="text">__text__</div>"
);
?>

mcms_page_articlelist.php

<? getContent(
"page",
"find:".$_GET['nav'],
"show:<h3>__title__</h3>",
"show:<div id="text">__text__</div>"
);
?>

<? getContent(
"article",
"display:list",
"show:<div class="articlebox"><h4 class="title">__titlelink__</h4>",
"show:<p>__date format='m/d/y'__</p>",
"show:<p>__author__</p>",
"show:<p>__summary__</p>",
"show:</div>"
);
?>