Created
September 11, 2013 17:06
-
-
Save Reyjay/6526665 to your computer and use it in GitHub Desktop.
Code Snippits
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
Associated Image URL - #item.getImageURL()# | |
*****ATRIBUTE SET**** | |
Add custom attribute set to iterator loop - #item.getValue('ContentTypes')# | |
<cfproperty name="contentHistID" type="string" default="" required="true" /> | |
<cfproperty name="contentID" type="string" default="" required="true" /> | |
<cfproperty name="sourceID" type="string" default="" required="true" /> | |
<cfproperty name="active" type="numeric" default="0" required="true" /> | |
<cfproperty name="approved" type="numeric" default="0" required="true" /> | |
<cfproperty name="orderno" type="numeric" default="0" required="true" /> | |
<cfproperty name="metaDesc" type="string" default="" required="true" /> | |
<cfproperty name="metaKeyWords" type="string" default="" required="true" /> | |
<cfproperty name="displayStart" type="date" default="" required="true" /> | |
<cfproperty name="displayStop" type="date" default="" required="true" /> | |
<cfproperty name="body" type="string" default="" required="true" /> | |
<cfproperty name="title" type="string" default="" required="true" /> | |
<cfproperty name="menuTitle" type="string" default="" required="true" /> | |
<cfproperty name="URLTitle" type="string" default="" required="true" /> | |
<cfproperty name="HTMLTitle" type="string" default="" required="true" /> | |
<cfproperty name="filename" type="string" default="" required="true" /> | |
<cfproperty name="oldfilename" type="string" default="" required="true" /> | |
<cfproperty name="lastUpdate" type="date" default="" required="true" /> | |
<cfproperty name="display" type="numeric" default="" required="true" /> | |
<cfproperty name="parentID" type="string" default="" required="true" /> | |
<cfproperty name="type" type="string" default="Page" required="true" /> | |
<cfproperty name="newfile" type="string" default="" required="true" /> | |
<cfproperty name="lastUpdateBy" type="string" default="" required="true" /> | |
<cfproperty name="lastUpdateByID" type="string" default="" required="true" /> | |
<cfproperty name="summary" type="string" default="" required="true" /> | |
<cfproperty name="siteID" type="string" default="" required="true" /> | |
<cfproperty name="moduleID" type="string" default="00000000000000000000000000000000000" required="true" /> | |
<cfproperty name="isNav" type="numeric" default="1" required="true" /> | |
<cfproperty name="restricted" type="numeric" default="0" required="true" /> | |
<cfproperty name="target" type="string" default="_self" required="true" /> | |
<cfproperty name="restrictGroups" type="string" default="" required="true" /> | |
<cfproperty name="template" type="string" default="" required="true" /> | |
<cfproperty name="childTemplate" type="string" default="" required="true" /> | |
<cfproperty name="responseMessage" type="string" default="" required="true" /> | |
<cfproperty name="responseChart" type="numeric" default="0" required="true" /> | |
<cfproperty name="responseSendTo" type="string" default="" required="true" /> | |
<cfproperty name="responseDisplayFields" type="string" default="" required="true" /> | |
<cfproperty name="moduleAssign" type="string" default="" required="true" /> | |
<cfproperty name="notes" type="string" default="" required="true" /> | |
<cfproperty name="inheritObjects" type="string" default="Inherit" required="true" /> | |
<cfproperty name="isFeature" type="numeric" default="0" required="true" /> | |
<cfproperty name="isNew" type="numeric" default="1" required="true" /> | |
<cfproperty name="releaseDate" type="date" default="" required="true" /> | |
<cfproperty name="isLocked" type="numeric" default="0" required="true" /> | |
<cfproperty name="nextN" type="numeric" default="10" required="true" /> | |
<cfproperty name="sortBy" type="string" default="orderno" required="true" /> | |
<cfproperty name="sortDirection" type="string" default="asc" required="true" /> | |
<cfproperty name="featureStart" type="date" default="" required="true" /> | |
<cfproperty name="featureStop" type="date" default="" required="true" /> | |
<cfproperty name="fileID" type="string" default="" required="true" /> | |
<cfproperty name="fileSize" type="numeric" default="0" required="true" /> | |
<cfproperty name="fileExt" type="string" default="" required="true" /> | |
<cfproperty name="contentType" type="string" default="" required="true" /> | |
<cfproperty name="contentSubType" type="string" default="" required="true" /> | |
<cfproperty name="forceSSL" type="numeric" default="0" required="true" /> | |
<cfproperty name="remoteURL" type="string" default="" required="true" /> | |
<cfproperty name="remoteID" type="string" default="" required="true" /> | |
<cfproperty name="remotePubDate" type="string" default="" required="true" /> | |
<cfproperty name="remoteSource" type="string" default="" required="true" /> | |
<cfproperty name="remoteSourceURL" type="string" default="" required="true" /> | |
<cfproperty name="credits" type="string" default="" required="true" /> | |
<cfproperty name="audience" type="string" default="" required="true" /> | |
<cfproperty name="keyPoints" type="string" default="" required="true" /> | |
<cfproperty name="searchExclude" type="numeric" default="0" required="true" /> | |
<cfproperty name="displayTitle" type="numeric" default="1" required="true" /> | |
<cfproperty name="path" type="string" default="" required="true" /> | |
<cfproperty name="tags" type="string" default="" required="true" /> | |
<cfproperty name="doCache" type="numeric" default="1" required="true" /> | |
<cfproperty name="created" type="date" default="" required="true" /> | |
<cfproperty name="mobileExclude" type="numeric" default="0" required="true" /> | |
<cfproperty name="changesetID" type="string" default="" required="true" /> | |
<cfproperty name="imageSize" type="string" default="small" required="true" /> | |
<cfproperty name="imageHeight" type="string" default="AUTO" required="true" /> | |
<cfproperty name="imageWidth" type="string" default="AUTO" required="true" /> | |
<cfproperty name="majorVersion" type="numeric" default="0" required="true" /> | |
<cfproperty name="minorVersion" type="numeric" default="0" required="true" /> | |
<cfproperty name="expires" type="date" default="" required="true" /> | |
<cfproperty name="assocFilename" type="date" default="" required="true" /> | |
<cfproperty name="displayInterval" type="string" default="Daily" required="true" /> | |
<cffunction name="init" access="public" returntype="any" output="false"> | |
<cfset super.init(argumentCollection=arguments)> | |
<cfset variables.instance.ContentHistID = "" /> | |
<cfset variables.instance.Contentid = "" /> | |
<cfset variables.instance.sourceID = "" /> | |
<cfset variables.instance.Active = 0 /> | |
<cfset variables.instance.OrderNo = 1 /> | |
<cfset variables.instance.MetaDesc = "" /> | |
<cfset variables.instance.MetaKeyWords = "" /> | |
<cfset variables.instance.Approved = 0 /> | |
<cfset variables.instance.DisplayStart = "" /> | |
<cfset variables.instance.Displaystop = ""> | |
<cfset variables.instance.Body = "" /> | |
<cfset variables.instance.Title = "" /> | |
<cfset variables.instance.MenuTitle = "" /> | |
<cfset variables.instance.URLTitle="" /> | |
<cfset variables.instance.HTMLTitle="" /> | |
<cfset variables.instance.Filename = "" /> | |
<cfset variables.instance.OldFilename = "" /> | |
<cfset variables.instance.LastUpdate = now() /> | |
<cfset variables.instance.Display = 1 /> | |
<cfset variables.instance.ParentID = "" /> | |
<cfset variables.instance.newFile = "" /> | |
<cfset variables.instance.type = "Page" /> | |
<cfset variables.instance.subType = "Default" /> | |
<cfif isDefined("session.mura") and session.mura.isLoggedIn> | |
<cfset variables.instance.LastUpdateBy = left(session.mura.fname & " " & session.mura.lname,50) /> | |
<cfset variables.instance.LastUpdateByID = session.mura.userID /> | |
<cfelse> | |
<cfset variables.instance.LastUpdateBy = "" /> | |
<cfset variables.instance.LastUpdateByID = "" /> | |
</cfif> | |
<cfset variables.instance.Summary = "" /> | |
<cfset variables.instance.SiteID = "" /> | |
<cfset variables.instance.ModuleID = "00000000000000000000000000000000000" /> | |
<cfset variables.instance.IsNav = 1 /> | |
<cfset variables.instance.Restricted = 0 /> | |
<cfset variables.instance.Target = "_self" /> | |
<cfset variables.instance.RestrictGroups = "" /> | |
<cfset variables.instance.Template = "" /> | |
<cfset variables.instance.childTemplate=""/> | |
<cfset variables.instance.ResponseMessage = "" /> | |
<cfset variables.instance.ResponseChart = 0 /> | |
<cfset variables.instance.ResponseSendTo = "" /> | |
<cfset variables.instance.ResponseDisplayFields = "" /> | |
<cfset variables.instance.ModuleAssign = "" /> | |
<cfset variables.instance.notes = "" /> | |
<cfset variables.instance.inheritObjects = "Inherit" /> | |
<cfset variables.instance.isFeature = 0 /> | |
<cfset variables.instance.isNew = 1 /> | |
<cfset variables.instance.releaseDate = "" /> | |
<cfset variables.instance.targetParams = "" /> | |
<cfset variables.instance.IsLocked = 0 /> | |
<cfset variables.instance.nextN = 10 /> | |
<cfset variables.instance.sortBy = "orderno" /> | |
<cfset variables.instance.sortDirection = "asc" /> | |
<cfset variables.instance.FeatureStart = "" /> | |
<cfset variables.instance.FeatureStop = ""> | |
<cfset variables.instance.FileID = ""> | |
<cfset variables.instance.FileSize = 0> | |
<cfset variables.instance.FileExt = ""> | |
<cfset variables.instance.ContentType = ""> | |
<cfset variables.instance.ContentSubType = ""> | |
<cfset variables.instance.forceSSL = 0> | |
<cfset variables.instance.remoteURL = ""> | |
<cfset variables.instance.remoteID = ""> | |
<cfset variables.instance.remotePubDate = ""> | |
<cfset variables.instance.remoteSource = ""> | |
<cfset variables.instance.remoteSourceURL = ""> | |
<cfset variables.instance.credits = ""> | |
<cfset variables.instance.audience = ""> | |
<cfset variables.instance.keyPoints = ""> | |
<cfset variables.instance.searchExclude = 0> | |
<cfset variables.instance.displayTitle = 1> | |
<cfset variables.instance.Path = ""> | |
<cfset variables.instance.tags = ""> | |
<cfset variables.instance.doCache = 1 /> | |
<cfset variables.instance.created = now() /> | |
<cfset variables.instance.mobileExclude = 0 /> | |
<cfset variables.instance.changesetID = "" /> | |
<cfset variables.instance.tcontent_id = 0 /> | |
<cfset variables.instance.imageSize = "small" /> | |
<cfset variables.instance.imageHeight = "AUTO" /> | |
<cfset variables.instance.imageWidth = "AUTO" /> | |
<cfset variables.instance.majorVersion = 0 /> | |
<cfset variables.instance.minorVersion = 0 /> | |
<cfset variables.instance.expires = "" /> | |
<cfset variables.instance.assocFilename = "" /> | |
<cfset variables.instance.displayInterval = "Daily" /> | |
<cfset variables.instance.errors=structnew() /> | |
<cfset variables.instance.categoryID = "" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment