11 Feb FHA Front Page
{source}
<?php
$document =& JFactory::getDocument();
JHtml::_(‘jquery.framework’);
$document->addScriptDeclaration(‘ // $j is jQuery reference
var $j = jQuery.noConflict();
‘);
$isGuest = $user->guest;
if(!$isGuest) {
$userName = $user->name;
$userEmail = $user->email;
}
?>
{/source}
{tab News}
{component index.php?option=com_content&view=featured&Itemid=1867}
{tab Events}
{component index.php?option=com_content&view=category&layout=blog&id=10&Itemid=1044}
{tab Groups}
{article 97}[text]{/article}
{tab Bulletin Board}
{article 406}[text]{/article}
{/tabs}
{source}
<script type=”text/javascript”>
// console.log(‘hiding’);
var fhaHide = [‘.page-header:first’, ‘.btn-group’, ‘.pagination’, ‘div.blog div.page-header h1’, ‘div.blog h2 span.subheading-category’];
for ( i=0; i<fhaHide.length; i++) {
jQuery(fhaHide[i]).css(‘display’, ‘none’);
}
</script>
{/source}