Skip to content

Instantly share code, notes, and snippets.

@pauldenato
pauldenato / getContentByLastUpdateAndCredits.cfm
Last active December 30, 2015 00:42 — forked from stevewithington/getCustomSearch.cfm
Get the Content a User most Recently Updated or is Credited in.
<!--- 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');