Theme Updates

If you downloaded the two most recent themes, Summer Sunset, or Autumn Harvest before today, You may want to redownload and update your theme. I found an embarasing oversight in the theme template where posts that had excerpts did not display the full post once clicking through to the post.cfm page. Post.cfm was the only page effected.


1 response to “Theme Updates ”

  1. On Aug 3, 2009 at 8:39 PM - Steve 'Cutter' Blades Said:
    @Mark,

    To maintain hierarchal listings of Pages, the pageMenu.cfm would need to be adjusted similar to:

    <cfsilent>
    <cfimport prefix="mango" taglib="../../tags/mango">
    <cfimport prefix="mangox" taglib="../../tags/mangoextras">
    <cfimport prefix="template" taglib=".">
    <cfparam name="attributes.start" default="root">
       <!--- get first parent --->
       <cfset ancestorlist = getbasetaglist() />
       <cfif attributes.start EQ "root">
          <cfset parent = "" />
       
       <cfelseif listfindnocase(ancestorlist,"cf_page") AND attributes.start EQ "parent">
          <cfset data = GetBaseTagData("cf_page")/>
          <cfset currentPage = data.currentPage />
          <cfset parents = currentPage.getHierarchy() />
          <cfif len(parents)>
             <cfset parent = listgetat(parents,1,"/") />
          <cfelse>
                <cfset parent = currentPage.getId() />
          </cfif>
       <cfelse>
             <cfset parent = "-1" />
       </cfif>
    </cfsilent>

    <cfif thisTag.executionMode EQ "start">
    <ul class="module-list">
       <mango:Pages parentPage="#parent#">
          <mango:Page>
                <mango:PageProperty ifiscurrentpage><li class="module-list-item"><mango:PageProperty title />
                   <template:pageMenu start="context">
                </mango:PageProperty>
                <mango:PageProperty ifisnotcurrentpage ifIsAncestorOfCurrentPage><li class="module-list-item"><a href="<mango:PageProperty link/>"><mango:PageProperty title /></a>
                   <template:pageMenu start="context">
                </mango:PageProperty>
                <mango:PageProperty ifisnotcurrentpage ifIsNotAncestorOfCurrentPage><li class="module-list-item not"><a href="<mango:PageProperty link/>"><mango:PageProperty title /></a></mango:PageProperty>
             </li>
          </mango:Page>
    </mango:Pages></ul>
    </cfif>

Leave a comment

Leave this field empty: