This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
EE2 hidden configuration variables | |
Last updated: Jun 20 2010 | |
Obtain this list by putting print_r($this->EE->config->config); on a PHP-enabled template. | |
See: http://eeinsider.com/tips/view/config-overrides-for-ee-1-and-2/ | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
EE2 hidden configuration variables | |
Last updated: Jun 20 2010 | |
Obtain this list by putting print_r($this->EE->config->config); on a PHP-enabled template. | |
See: http://eeinsider.com/tips/view/config-overrides-for-ee-1-and-2/ | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################# | |
# | |
# - ExpressionEngine index.php ModRewrite Removal - | |
# compatible with Google Analytics Tracking | |
# | |
################################################################################## | |
RewriteEngine on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Modifying the final CP Output | |
* | |
* This extension demonstrates how you can access and modify the final ExpressionEngine | |
* CP output. It is not a hack, but it is a new technique that to my knowledge has not | |
* been used before in an EE addon. | |
* | |
* This has not been road tested and its side effects are unknown, so use this at your own risk. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Simple Placeholder Fallback | |
* | |
* A simpler and more robust method for adding fallback input placeholder support for | |
* browsers that dont support the attribute. No value spoofing, hidden input creation | |
* or other crazy methods. Simply appends the placeholder text after the input as help | |
* text. | |
* | |
* Simple & works with even the craziest validation and form submission logic, which is where | |
* the other techniques struggle. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* 3-letter IATA Airport Code to Airport Name conversion | |
* | |
* Data Sourced from http://www.photius.com/wfb2001/airport_codes_alpha.html | |
* | |
* Usage: | |
* | |
* $airport_name = Airport::code("ACA"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* 3-letter IATA City Code to CityName conversion | |
* | |
* Usage: | |
* | |
* $city_name = City::code("LON"); | |
* // "London" | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* 2-letter ISO Country Code to Country Name conversion | |
* | |
* Usage: | |
* | |
* $country_name = Country::code("GB"); | |
* // "United Kingdom" | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Instead of using ee_debug_toolbar_modify_output as the primary mechanism of adding content to the toolbar, | |
//we add an additional extension hook for adding content | |
class Eedt_memory_history_ext { | |
/** | |
* Method called for adding toolbar panels | |
* @param $view Eedt_view |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Lightwright JS Loader | |
* | |
* @author Christopher Imrie | |
* | |
* @param {String} name URL to JS file | |
* @param {Function} cb Callback function | |
* @return {null} | |
*/ | |
function loadScript(/** string */ name, /** Function*/ cb) { |
OlderNewer