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:postmaster:email_form:open | |
| action="your/current/template" | |
| method="post" | |
| } | |
| {exp:channel:entries [your_params]} | |
| <label><input type="input" name="email[{count}]" value="{email}" /> {email}</label><br> | |
| <input type="hidden" name="data[{count}][custom_var_1]" value="{custom_var_1}" /> | |
| <input type="hidden" name="data[{count}][custom_var_2]" value="{custom_var_2}" /> | |
| {/exp:channel: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
| if (ee()->input->post('dynamic_title')) | |
| { | |
| $dynamic_title = base64_decode(ee()->input->post('dynamic_title')); | |
| foreach ($_POST as $key => $value) | |
| { | |
| if (is_string($value) && strstr($dynamic_title, '['.$key.']') !== FALSE) | |
| { | |
| $dynamic_title = str_replace('['.$key.']', $value, $dynamic_title); | |
| } |
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:gmap:search | |
| channel="truck" | |
| return="/find-trucks" | |
| geocode_field="current_location" | |
| distance_field="distance_max" | |
| latitude_field="latitude-truck" | |
| longitude_field="longitude-truck" | |
| cache_post="false" | |
| } |
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:stash:set no_results_prefix="nested_" parse_tags="yes"} | |
| {stash:page_title}Contacts{/stash:page_title} | |
| {stash:form} | |
| <div id="basic"> | |
| {exp:channel_search:form id="Member Basic" class="search clearfix"} | |
| <div class="basic clearfix"> |
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="#" class="reveal" data-reveal-id="map-modal" id="reveal-trigger" style="display:none">Reveal</a> | |
| <div id="map-modal" class="reveal-modal"></div> | |
| {exp:gmap:init id="map" style="width:400px;height:300px"} | |
| {exp:channel:entries [YOUR PARAMS HERE]} | |
| {your_map_field id="map" data:url="/your/ajax/template/URL_TITLE" [YOUR RETINA ICON PARAMS HERE]} |
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->EE->load->driver('channel_data'); | |
| $entries = $this->EE->channel_data->get_channel_entries($channel_id); | |
| foreach($entries->row() as $row) | |
| { | |
| $member = $this->EE->channel_data->get_member_entries($row->author_id); | |
| $data_map = array( | |
| 'landscapes_1' => array( |
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="#" class="reveal" data-reveal-id="map-modal" id="reveal-trigger" style="display:none">Reveal</a> | |
| <div id="map-modal" class="reveal-modal"></div> | |
| {exp:gmap:init id="map" style="width:400px;height:300px"} | |
| {exp:gmap:marker id="map" address="Yellow Stone National Park" data:url="/google-maps/reveal-ajax"} | |
| {exp:gmap:marker id="map" address="Everglades National Park" data:url="/google-maps/reveal-ajax"} | |
| <script type="text/javascript"> |
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
| // Foundation 3 | |
| if(window.hash == 'some-trigger') { | |
| $('a.reveal-link').trigger('click'); | |
| } | |
| // Foundation 4 | |
| if(window.hash == 'some-trigger') { | |
| $('#myModal').foundation('reveal', 'open'); | |
| } |
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
| public function zenbu_field_extra_settings($table_col, $channel_id, $extra_options) | |
| { | |
| $this->EE->load->add_package_path(PATH_THIRD . 'photo_frame'); | |
| if(!class_exists('InterfaceBuilder')) | |
| { | |
| require_once(PATH_THIRD . 'photo_frame/libraries/InterfaceBuilder/InterfaceBuilder.php'); | |
| } | |
| $fields = array( |
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
| // Check for a no_results prefix to avoid no_results parse conflicts | |
| if($no_results_prefix = $this->param('no_results_prefix')) | |
| { | |
| if(preg_match('/\\'.LD.'if '.$no_results_prefix.'no_results\\'.RD.'.*\\'.LD.'\\/if\\'.RD.'/us', $this->EE->TMPL->tagdata, $matches)) | |
| { | |
| $this->EE->TMPL->no_results = $this->EE->TMPL->parse_variables_row($matches[0], array( | |
| $no_results_prefix.'no_results' => 1 | |
| )); | |
| } | |
| } |