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
============================= | |
Content Image | |
============================= | |
<img src="#$.content().getImageURL(size='large')#" /> | |
============================= | |
Extended Attribute Image | |
============================= | |
<!--- First, create an extended attribute with the type of 'File' ---> | |
<img src="#$.createHREFForImage(filename=$.content('myExtAttribute'))#" /> |
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
<h1>h1. This is a very large header.</h1> | |
<h2>h2. This is a large header.</h2> | |
<h3>h3. This is a medium header.</h3> | |
<h4>h4. This is a moderate header.</h4> | |
<h5>h5. This is a small header.</h5> | |
<h6>h6. This is a tiny header.</h6> | |
<!-- |
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
<!--- JS - this goes into the html footer ---> | |
<script> | |
$(document).ready(function() { | |
function recalculate() { | |
var sum = 0; | |
$("input[type=checkbox]:checked").each(function() { | |
sum += parseInt($(this).attr("optionpricelocalcurrency")); | |
}); |
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
<!-- | |
1) Drop this in your theme /{SiteID}/includes/themes/{Theme}/config.xml.cfm | |
--> | |
<theme> | |
<extensions> | |
<extension type="Folder" subType="FAQ" availableSubTypes="Page/Question" iconClass="icon-question-sign"> | |
</extension> | |
<extension type="Page" subType="Question" iconClass="icon-question" hasSummary="0" hasBody="0" hasAssocFile="0"> | |
</extension> |
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> | |
<!-- start about me section --> | |
<div class="container-fluid"> | |
<section class="section-main" id="aboutme"> | |
<div class="row"> | |
<!-- start left column with large round image based on square image input --> | |
<div class="col-sm-5"> | |
<img src="#$.siteConfig('themeAssetPath')#/images/about-me/my_pic.jpg" class="img-responsive img-circle"> | |
</div> <!--- /. col-sm-5 ---> | |
<!-- /. end left column --> |
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> | |
<section id="gallery" class="container-fluid"> | |
<!-- Photos --> | |
<div class="row no-gutter"> | |
<div class="col-md-4 portfolio-item"> | |
<div class="material-placeholder"><img class="materialboxed center-block responsive-img wow fadeIn initialized" src="#$.siteConfig('themeAssetPath')#/images/gallery/g1.jpg" style="visibility: visible; animation: fadeIn; -webkit-animation: fadeIn;"></div> | |
</div> | |
<div class="col-md-4 portfolio-item"> | |
<div class="material-placeholder" style=""><img class="materialboxed center-block responsive-img wow fadeIn initialized" data-wow-delay="0.2s" src="#$.siteConfig('themeAssetPath')#/images/gallery/g2.jpg" style="visibility: visible; animation: fadeIn 0.2s; -webkit-animation: fadeIn 0.2s;"></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
<cfoutput> | |
<div class="fixed-action-btn smooth-scroll" style="bottom: 45px; right: 25px;"> | |
<a href="##top-section" class="btn-floating btn-large blue"> | |
<i class="fa fa-arrow-up"></i> | |
</a> | |
</div> | |
</cfoutput> |
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
<!--- Requires three Extended Attributes on Site/Default: GoogleMapsZoomFactor,GPSPositionLongitude,GPSPositionLatitude. ---> | |
<!--- To get the coordinates, simply select a point on Google Maps and right-click "What's here" to get the Coordinates ---> | |
<!--- for a place. Then chose the Zoom Factor that suits the map. Enter those values in Edit Site -> Extended Attributes ---> | |
<!--- place this in a column in the contact form or whereever the map should be shown ---> | |
<!-- Map container --> | |
<div id="map-container" class="z-depth-1 wow fadeInUp" style="height: 300px"></div> | |
<!-- /.Map-container --> | |
<!--- place code below in the footer just above the body end tag ---> |
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
<cfif session.goparallel IS 1 AND i IS 1> | |
hidden | |
</cfif> |
OlderNewer