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
<!--- There are many ways you can display extended attributes. The most common way to display the value of an attribute is to use the content bean from the event upon rendering and ask for the attribute. This can be done by using the below code: ---> | |
<cfoutput>#$.content( {attributeName} )#</cfoutput> | |
<cfoutput>#$.content('productPrice')#</cfoutput> | |
[mura]$.content('productPrice')[/mura] | |
<!--- Display Extended Attribute Image, including custom image size - within Iterator ---> | |
<img alt="#sub1.getMenuTitle()#" class="img-responsive" src="#$.getURLForImage(sub1.getfilethumbnail(size = 'standardimage'))#"> | |
<!--- Method on displaying Mura extended attribute images, including custom image sizes ---> | |
<!--- Assuming you've created an extended attribute 'File' type called 'extAttributeImage' ---> |
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
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-backstretch/2.0.4/jquery.backstretch.min.js"></script> | |
<script type="text/javascript"> | |
$.backstretch([ | |
"#$.siteConfig('assetPath')#/assets/Image/Image_Name.jpg" | |
], {duration: 6000, fade: 1000}); | |
</script> |
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
<cfoutput> | |
<!--=== Slider ===--> | |
<div class="slider-inner"> | |
<div id="da-slider" class="da-slider"> | |
<cfset it=$.getBean('feed').loadBy(name='Slideshow').getIterator()> | |
<cfloop condition="it.hasNext()"> |
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
<cfoutput> | |
<cfset it=$.getBean('feed').loadBy(name='Featured Pages').getIterator()> | |
<cfloop condition="it.hasNext()"> | |
<cfset sub1=it.next()> | |
<div class="thumbnails thumbnail-style thumbnail-kenburn"> | |
<div class="thumbnail-img"> |
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
#$.siteConfig('themeAssetPath')# | |
#$.siteConfig('assetPath')# | |
<cfdump var="#$.siteConfig().getAllValues()#"> | |
#$.siteConfig('domain')# | |
<cfdump var="#$.content().getAllValues()#"> | |
#$.content('metaKeywords')# | |
<cfif len($.siteConfig('contactname'))>#$.siteConfig('contactname')#</cfif> |
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
<div class="row table-row"> | |
<div class="col-md-4">This column is super duper long and there for it'll appear taller than the rest on devices larger than 768px. More blah blah blah blah blah blah blah blah blah blah blah blah blah blah herp derp.</div> | |
<div class="col-md-4">.col-md-4</div> | |
<div class="col-md-4">.col-md-4</div> | |
</div> |
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
<!--- Pull out a content iterator of the nodes child content.---> | |
<cfset it=$.getBean('content').loadBy(contentID='AgentsPageContentID',siteID=event.getValue('siteID')).getKidsIterator()> | |
<!--- The number of Items to be listed is determined by the content.getNextN() value. It's default is 10. ---> | |
<!---<cfset it.setPage(1)>---> | |
<cfset it.setNextN(10)> | |
<!--- You can also set the start row instead of setting a page number. ---> | |
<!---<cfset it.setStartRow(1)>---> | |
<!---<cfloop from="1" to="#it.pageCount()#" index="p"> |
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
<h2 class="page-header">What's On</h2> | |
<!--- Pull out a content iterator of the nodes child content.---> | |
<cfset it=$.getBean('content').loadBy(contentID='contentIDHere',siteID=event.getValue('siteID')).getKidsIterator()> | |
<!--- The number of Items to be listed is determined by the content.getNextN() value. It's default is 10. ---> | |
<!---<cfset it.setPage(1)>---> | |
<cfset it.setNextN(5)> | |
<!--- You can also set the start row instead of setting a page number. ---> | |
<!---<cfset it.setStartRow(1)>---> |
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
<script type="text/javascript"> | |
/* * * CONFIGURATION VARIABLES * * */ | |
var disqus_shortname = 'your-unique-disqus-url'; | |
/* * * DON'T EDIT BELOW THIS LINE * * */ | |
(function () { | |
var s = document.createElement('script'); s.async = true; | |
s.type = 'text/javascript'; | |
s.src = '//' + disqus_shortname + '.disqus.com/count.js'; | |
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); |
NewerOlder