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
//code to set up an action in my upd.module.php | |
$this->EE->load->dbforge(); | |
$data = array( | |
'class' => 'Module', | |
'method' => 'api_get_hash', | |
); | |
$this->EE->db->insert('actions', $data); |
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
{exp:channel:entries channel="forms" dynamic="no" entry_id="{embed:form_id}"} | |
{exp:nsm_transplant:body} | |
{!-- check if we're using the recipients feature of freeform, if so, set some variables needed for later --} | |
{if form_recipients} | |
{exp:nsm_transplant:content id="use_recipients"}yes{/exp:nsm_transplant:content} | |
{form_recipients} | |
{exp:nsm_transplant:content id="recipient{row_count}" parse="inwards"}{recipient_name}|{recipient_email}{/exp:nsm_transplant:content} |
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 | |
header("Content-Type: text/x-vCalendar"); | |
header("Content-Disposition: inline; filename=MyvCalFile.vcs"); | |
?> | |
BEGIN:VCALENDAR | |
VERSION:2.0 | |
PRODID:-//hacksw/handcal//NONSGML v1.0//EN | |
X-WR-TIMEZONE:US/Eastern | |
X-WR-CALNAME:Presagis Event | |
X-WR-TIMEZONE:US/Eastern |
NewerOlder