Skip to content

Instantly share code, notes, and snippets.

@muracms
Created November 22, 2013 00:57
Show Gist options
  • Select an option

  • Save muracms/7592851 to your computer and use it in GitHub Desktop.

Select an option

Save muracms/7592851 to your computer and use it in GitHub Desktop.
<cfif YesNoFormat($.content('hasMobileBody'))>
#$.dspBody(
body=$.content('mobileBody')
,pageTitle=''
,crumbList=0
,showMetaImage=0
)#
<cfelse>
#$.dspBody(
body=$.content('body')
,pageTitle=''
,crumbList=0
,showMetaImage=0
)#
</cfif>
<theme>
<extensions>
<extension type="Base" subType="Default">
<attributeset name="Mobile Options" container="Basic">
<attribute
name="hasMobileBody"
label="Has Mobile Content?"
hint="If you have mobile-specific content, select Yes."
type="RadioGroup"
defaultValue="false"
required="false"
validation=""
regex=""
message=""
optionList="true^false"
optionLabelList="Yes^No" />
<attribute
name="mobileBody"
label="Mobile Content"
hint="Enter any mobile-specific content here."
type="HTMLEditor"
defaultValue=""
required="false"
validation=""
regex=""
message=""
optionList=""
optionLabelList="" />
</attributeset>
</extension>
</extensions>
</theme>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment