Try something like the code below...  I can explain it futher if you want...
just got to leave now...

This will only work with Spectra 1.5 or newer..  ;-)

<!--- sitename (or hardcoded home) > sectionname > pagename --->

<cfa_cfaPageSettingsGet
    dataSource="#request.CFA.SMETechWeb.datasource#"
 elementID="#request.cfa.siteModel.pageID#"
    r_siteName="sitename"
    r_sectionName="Sectionname"
    r_pageName="Pagename">


<cfif ListContains(Sectionname,",","all")>
<cfset name1 = ListFirst(Sectionname, ",")>
<cfset name2 = ListRest(Sectionname, ",")>
 <cfif ListContains(name2,",","all")>
 <cfset name3 = #Replace(name2,","," > ","all")#>
 <cfoutput>
  <a href="../home/" class="sitePath">Home</a>
  <a href="home.cfm" class="sitePath"><span class="sitePath">&gt;
#name1#</span></a>

  <span class="sitePath">&gt; #name3#</span>
  <span class="sitePath">&gt; #pagename#</span>
 </cfoutput>
 <cfelse>
 <cfoutput>
  <a href="../home/" class="sitePath">Home</a>
  <a href="home.cfm" class="sitePath"><span class="sitePath">&gt;
#name1#</span></a>
  <span class="sitePath">&gt; #name2#</span>
  <!--- <span class="sitePath">&gt; #name3#</span> --->
  <span class="sitePath">&gt; #pagename#</span>
 </cfoutput>
 </cfif>
<cfelse>

<cfoutput>
 <a href="../home/" class="sitePath">Home</a>
 <a href="home.cfm" class="sitePath"><span class="sitePath">&gt;
#Sectionname#</span></a>
 <span class="sitePath">&gt; #pagename#</span>

</cfoutput>
</cfif>


Hope this works for you

Cheers

Steini
----- Original Message -----
From: "Huzir Sulaiman" <[EMAIL PROTECTED]>
To: "Spectra-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 8:26 AM
Subject: Site Tree


> Guys,
>
> Any ideas how to publish the site tree ?....(e.g : home>page1>page2)
>
> Best Regards
>
>
>
> 
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to