This file contains hidden or 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
| <a href="#your-tooltip-id" class="definition">Show Tooltip</a> | |
| <div class="ui-tooltip" id="your-tooltip-id"> | |
| <p>Some content goes here</p> | |
| </div> | |
| <script type="text/javascript"> | |
| $(document).ready(function() { | |
| $('a.definition').qtip({ | |
| content: { |
This file contains hidden or 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
| $(document).ready(function() { | |
| var params = { | |
| //your params to change the tooltips go here | |
| } | |
| $('.tooltip').qtip(params); | |
| }); |
This file contains hidden or 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
| // If you map id is "myMap" then this is what your code would look like. | |
| //Use jQuery to execute your code after the DOM is ready | |
| $(document).ready(function() { | |
| var markers = myMap_markers; | |
| var marker; | |
| for(var i = 0; i < markers.length; i++) { | |
| marker = markers[i]; |
This file contains hidden or 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
| /** | |
| * Customize Info Windows | |
| * | |
| * This plugins allows you to disable the infowindows or just parts | |
| * of their functionality like edit and delete links. | |
| * | |
| * @package Google Maps for ExpressionEngine | |
| * @subpackage JavaScript API | |
| * @author Justin Kimbrell | |
| * @copyright Copyright (c) 2012, Objective HTML |
This file contains hidden or 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
| SELECT GROUP_CONCAT(CONVERT(CONCAT(',', `exp_category_posts`.`cat_id`), CHAR(8)) SEPARATOR ' ') as `category_ids` | |
| FROM `exp_channel_data` | |
| LEFT JOIN `exp_category_posts` ON `exp_channel_data`.`entry_id` = `exp_category_posts`.`entry_id` | |
| LEFT JOIN `exp_channel_titles` ON `exp_channel_data`.`entry_id` = `exp_channel_titles`.`entry_id` | |
| GROUP BY `exp_channel_data`.`entry_id` | |
| HAVING `category_ids` LIKE '%,10 %' AND `category_ids` LIKE '%,1 %' | |
| LIMIT 0 , 30 |
This file contains hidden or 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
| {exp:channel:entries [your params here]} | |
| <!-- This returns the first waypoint --> | |
| {your_map_field parse="waypoints" limit="1" offset="0"} | |
| {waypoints} | |
| {waypoint:title} | |
| {waypoint:content} | |
| {waypoint:formatted_address} |
This file contains hidden or 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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
| /** | |
| * Simple Date Formatting Plugin | |
| * | |
| * @package ExpressionEngine | |
| * @category Plugin | |
| * @author Justin Kimbrell | |
| * @copyright Copyright (c) 2012, Justin Kimbrell | |
| * @link http://objectivehtml.com/ |
This file contains hidden or 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
| {exp:date_format:future_entries date="01/01/2013"} | |
| If the date is in the future, the tagdata is returned. | |
| {/exp:date_format:future_entries} |
This file contains hidden or 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
| <!-- This goes in the document HEAD and will add an additional click event to the objects with a class of 'trigger' --> | |
| <script type="text/javascript"> | |
| /* By using the $(document).ready() function, we can ensure this JavaScript gets loaded after all the global map variables are set. */ | |
| $(document).ready(function() { | |
| $('.trigger').click(function() { | |
| var $t = $(this); |
This file contains hidden or 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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
| class Email_Template { | |
| public $to, | |
| $from, | |
| $cc, | |
| $bcc, | |
| $channel_id, | |
| $categories, |