http://docs.getmura.com/v6/installation-setup/settingsinicfm-reference/
admindomain=
adminemail=
adminssl=0
assetdir=
assetpath=
| <displayobject name="YouTube Video" contenttypes="*"/> |
| component { | |
| /* | |
| Parts of this are based on Tim Dawe's | |
| http://amazonsig.riaforge.org | |
| and | |
| Joe Danziger's Amazon S3 REST Wrapper | |
| http://amazons3.riaforge.org/ | |
| .bgimage { | |
| width:100%; | |
| height:500px; | |
| background: url('https://images.unsplash.com/photo-1438109491414-7198515b166b?q=80&fm=jpg&s=cbdabf7a79c087a0b060670a6d79726c'); | |
| background-repeat: no-repeat; | |
| background-position: center; | |
| background-size:cover; | |
| background-attachment: fixed; | |
| } | |
| .bgimage h5 { |
| <cfoutput> | |
| <cfset catList=""> | |
| <cfset it=$.content().getCategoriesIterator()> | |
| <!--- Only run if there are categories applied to the page ---> | |
| <cfif it.hasNext()> | |
| <!--- Loop through the categories and append them to the list ---> | |
| <cfloop condition="it.hasNext()"> | |
| <cfset cat=it.next()> | |
| <!--- Append the current category to the list ---> |
| <!--- | |
| Author: Stephen J. Withington, Jr. | |
| Notes: Place this under a temp directory within your Mura CMS root to test. | |
| For example: http://yourdomain.com/temp/json-test.cfm | |
| ---> | |
| <cfscript> | |
| param name="form.endpoint" default="content/new"; | |
| param name="form.method" default="GET"; | |
| param name="form.context" default=""; | |
| param name='session.siteid' default='default'; |
http://docs.getmura.com/v6/installation-setup/settingsinicfm-reference/
admindomain=
adminemail=
adminssl=0
assetdir=
assetpath=
| <!--- Adapted from Steve's original gist - https://gist.github.com/stevewithington/5880459 getCustomSearch.cfm ---> | |
| <!--- Needed a way to display content a user was credited for or had edited on the front end ---> | |
| <!---Add this to the Theme or Site contentrenderer.cfc---> | |
| <cffunction name="getUserActivity" output="no"> | |
| <cfargument name="authorid" default="" required="yes" /> | |
| <cfscript> | |
| var local = {}; | |
| local.feed=$.getBean('feed'); |
| <cfoutput> | |
| <cfset cats = 'Weather,Local News,Arts & Culture' /> | |
| <ul> | |
| <cfloop array="#ListToArray(cats)#" index="c"> | |
| <li> | |
| <h3>#HTMLEditFormat(c)#</h3> | |
| <cfscript> | |
| catBean = $.getBean('category').loadBy(name=c, siteid=$.event('siteid')); | |
| feed = $.getBean('feed'); |
| <cffunction name="onContentEdit"> | |
| <cfargument name="$" /> | |
| <cfset var scripts = ''> | |
| <cfif $.getSubType() Eq 'Vacancy'> | |
| <cfsavecontent variable="scripts"> | |
| <script> | |
| jQuery(document).ready(function($){ | |
| var newSummary = 'Vacancy summary ' + '<br /><span style="font-weight:normal">Place the single line vacancy description here, this will be visible in the vacancy search</span>'; | |
| $('.summaryContainer label a').html(newSummary); |