Ignore:
Timestamp:
06/27/10 00:33:52 (23 months ago)
Author:
mattlevine
Message:
  1. Adding the ability to have theme local contentRenderer.cfc files. One major point is that the theme contentRenderer does not replace the default site contentRender but rather adds a place where new methods can be created and then used in your theme with the mura scope (ie. $.dspCustomThemMethod() )
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.2/www/requirements/mura/MuraScope.cfc

    r2434 r2435  
    3333                <cfif isObject(getEvent()) and structKeyExists(variables.instance.event,MissingMethodName)> 
    3434                        <cfset object=variables.instance.event> 
     35                <cfelseif isObject(getContentRenderer()) and structKeyExists(getContentRenderer(),MissingMethodName)> 
     36                        <cfset object=getContentRenderer()> 
    3537                <cfelseif isObject(getThemeRenderer()) and structKeyExists(getThemeRenderer(),MissingMethodName)> 
    3638                        <cfset object=getThemeRenderer()> 
    37                 <cfelseif isObject(getContentRenderer()) and structKeyExists(getContentRenderer(),MissingMethodName)> 
    38                         <cfset object=getContentRenderer()> 
    3939                <cfelseif isObject(getContentBean()) and structKeyExists(getContentBean(),MissingMethodName)> 
    4040                        <cfset object=getContentBean()> 
Note: See TracChangeset for help on using the changeset viewer.