Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| <?php | |
| // no direct access | |
| defined( '_JEXEC' ) or die( 'Restricted access' ); | |
| class PlgSystemMasterplug extends JPlugin | |
| { | |
| function onUserAuthenticate() | |
| { | |
| error_log('onUserAuthenticate', 0); | |
| } |
| #!/bin/sh | |
| # jfindfiles -- Find used and unused content files in your Joomla website | |
| # | |
| # This scripts supports Joomla versions 2.5 - 3.x | |
| # | |
| # Copyright 2014 Rene Kreijveld - email@renekreijveld.nl | |
| # | |
| # This program is free software; you may redistribute it and/or modify it. | |
| # |
| [color] | |
| status = auto | |
| diff = auto | |
| branch = auto | |
| interactive = auto | |
| ui = true | |
| [alias] | |
| amend = !"git commit --amend -C HEAD" | |
| st = status | |
| ci = commit |
| <?php | |
| /* From https://www.usps.com/send/official-abbreviations.htm */ | |
| $us_state_abbrevs_names = array( | |
| 'AL'=>'ALABAMA', | |
| 'AK'=>'ALASKA', | |
| 'AS'=>'AMERICAN SAMOA', | |
| 'AZ'=>'ARIZONA', | |
| 'AR'=>'ARKANSAS', |
| Add the following to your /com_content/category/blog.php template override just before <?php $this->item = &$item; echo $this->loadTemplate('item'); ?> of the class="leading" item. | |
| <?php if ($this->pagination->get('pages.current') == 1) echo '<h1>Absolute First Article</h1>' ?> | |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)