Skip to content

Instantly share code, notes, and snippets.

View HaeckDesign's full-sized avatar

HaeckDesign HaeckDesign

View GitHub Profile
@HaeckDesign
HaeckDesign / authorminibio.php
Last active December 16, 2016 06:54
Author Mini Bio for Joomla! Posts
<?php
// no direct access
defined('_JEXEC') or die('Go Away');
// pull user id
$jomauth_article =& JTable::getInstance('content');
$jomauth_article->load(JRequest::getInt('id'));
$jomauth_authorid = $jomauth_article->created_by;
@HaeckDesign
HaeckDesign / Demo HTML
Last active December 16, 2016 06:54
Triangle Ghost Theme - Demo Code Samples
<!-- Demo Version of footerwidgets.hbs -->
<aside class="shade2 uk-clearfix">
<div class="uk-width-1-1 uk-width-medium-3-4 uk-grid uk-container-center" data-uk-grid-match="{target:'.uk-panel'}">
<div class="uk-width-1-1 uk-width-small-1-2 uk-width-medium-1-3 uk-margin-large-top uk-margin-large uk-panel uk-panel-header">
<div class="uk-h5 uk-panel-title"><i class="uk-icon-envelope uk-margin-right" data-uk-scrollspy="{cls:'uk-animation-fade',delay:600}"></i>MailChimp</div>
<p>We don't send a lot of mail, but when we do it's usually pretty awesome.</p>
<div id="mc_embed_signup">
<form action="#" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate uk-form" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
@HaeckDesign
HaeckDesign / Joomla-Breadcrumbs-w-Schema.php
Last active December 16, 2016 06:55
Joomla - Schema Friendly Breadcrumbs (mod_breadcrumbs/default.php)
<?php
defined('_JEXEC') or die;
?>
<ol itemscope itemtype="http://schema.org/BreadcrumbList" class="uk-breadcrumb uk-margin uk-link-muted <?php echo $moduleclass_sfx; ?>">
<?php
if ($params->get('showHere', 1))
{
echo '<li itemprop="itemListElement" itemscope
itemtype="http://schema.org/ListItem" class="uk-active">' . JText::_('MOD_BREADCRUMBS_HERE') . '</li>';
@HaeckDesign
HaeckDesign / Creative-Commons-Icon-Sprite.markdown
Last active December 16, 2016 06:54
Creative Commons Icon Sprite