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
<cfscript> | |
// This determines what JavaScript library Mura should use with its built-in display objects. The options are Prototype and jQuery: | |
this.jslib='jquery'; | |
// This allows you set start standard navigation behavior at lower navigation levels. For example, this would be useful if you have a section of your site that should have its own primary navigation: | |
this.navOffSet=0; | |
// This sets the maximum depth that standard navigation will follow: | |
this.navDepthLimit=1000; |
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('metaDesc')# |
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
<!--- Add this to your /config/settings.ini.cfm ---> | |
maxsourceimagewidth=99999 | |
<!--- | |
As long as the source image width is less than the value (in pixels) entered above, | |
then the source image will NOT be modified at all | |
---> | |
<!--- | |
Then, you will probably want to copy the '/display_objects/gallery/' directory, |
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
component { | |
/** | |
* MURA FORM: `CUSTOM OBJECT` Options Example | |
* | |
* Notes: | |
* + On the form, select `Custom Object` and enter the dotted notation path to where this file resides under `/sites/{SiteID}` | |
* - For example, if the file is located under `/sites/default/remote/muraFormCustomObjectOptions.cfc` | |
* - Enter: `remote.muraFormCustomOptions` | |
* - Keep in mind, Mura will be looking for the `getData()` method! See below. | |
* + How to use a REMOTE SOURCE for options: <https://gist.github.com/stevewithington/115b5ac681fe35d42505b1cdedad1593> |
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
/{SiteID}/includes/themes/MuraBootstrap/templates/inc/vertical_nav.cfm |
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
<!--- drop these methods into your Site or Theme contentRenderer.cfm ---> | |
<cfscript> | |
// props: http://cflib.org/udf/RGBtoHex | |
public any function RGBtoHex(r,g,b){ | |
var hexColor = ''; | |
var hexPart = ''; | |
var i = 0; | |
for (i=1; i <= 3; i++){ | |
hexPart = FormatBaseN(arguments[i],16); |
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
<!--- 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 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
<!--- Assuming you've created an extended attribute 'File' type called 'extAttributeImage' ---> | |
<!--- In a Mura Page Template ---> | |
#$.createHREFForImage(filename=$.content('extAttributeImage'),size='myCustomSize')# | |
<!--- In a Mura Component ---> | |
#$.createHREFForImage(filename=$.component('extAttributeImage'),size='myCustomSize')# | |
<!--- In the context of an iterator ---> | |
#$.createHREFForImage(filename=item.getExtAttributeImage(),size='myCustomSize')# |
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
<section> | |
<h2>Mura CMS</h2> | |
<cffeed query="rs" source="http://www.getmura.com/tasks/feed/?feedID=91B4E7A5-37AC-466A-ACDF6ABFD95ACCBD" /> | |
<cfset it = $.getBean('beanIterator').setQuery(rs) /> | |
<ul> | |
<cfif it.hasNext()> | |
<cfloop condition="it.hasNext()"> | |
<cfset item = it.next()> | |
<li> | |
<a href="#item.getValue('rsslink')#"> |
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
.masonryItem { | |
width: 8.65%; | |
margin-bottom: 10px; | |
float: left; | |
} | |
.masonryItem.w2 { | |
width: 19.5%; | |
margin-bottom: 10px; | |
} | |
#masonryContainer { |