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 using CFStatic ---> | |
<cf_CacheOMatic key="isotopeCSS"> | |
#$.static() | |
.include('/css/isotope/') | |
.renderIncludes('css')# | |
</cf_CacheOMatic> | |
<!--- Static CSS Include ---> | |
<!--- <link rel="stylesheet" href="#$.siteConfig('themeAssetPath')#/css/isotope/isotope.css"> ---> |
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
<cffunction name="onAfterFormSubmitSave"> | |
<cfargument name="$"> | |
<cfif $.content('title') eq "{content Title}"> | |
<!--- Send Sales Leads to SalesForce ---> | |
<cfhttp method="post" url="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8"> | |
<cfhttpparam type="formfield" name="oid" value="XXXXXXXXXXX"/> | |
<cfhttpparam type="formfield" name="retURL" value="http://www.domain.com"/> | |
<!--- | |
<cfhttpparam type="formfield" name="debug" value="1"/> | |
<cfhttpparam type="formfield" name="debugEmail" value="[email protected]"/> |
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
<!--- Drop this into your site eventhandler.cfc ---> | |
<cffunction name="onAfterFormSubmitSave" output="true"> | |
<cfif $.event('formid') EQ '{ID of the Mura form}'> | |
<!--- Get the form result ---> | |
<cfset formBean = $.event().getValue('formresult')> | |
<!--- Get a new content bean ---> | |
<cfset cBean = application.contentManager.getBean()> | |
<!--- Set the new node attributes ---> | |
<cfset cBean.setSiteID($.event('siteid'))> |
NewerOlder