Link to home
Create AccountLog in
Avatar of dpedersen
dpedersen

asked on

CFMenu Not working - not displaying properly at all

I have a test environment with coldfusion 8 running.  i am trying to use cfmenu however it doesnt display properly at all.  it jsut looks like an html list. my code is:
   
    <cfmenu type="vertical">
    <cfmenuitem display="file">
          <cfmenuitem display="test" />
                  <cfmenuitem display="test"/>
                </cfmenuitem>
               
    <cfmenuitem display="tools"/>

</cfmenu>

THE URL IS http://darrenpedersen.com/vpf/present.cfm

is there something missing on my cf server?  am i not calling to ajax right?  please help.
Avatar of msfletch
msfletch
Flag of United States of America image

Have you tried including the cfAjaxImport Tag?

<cfajaximport tags="cfmenu">
Avatar of dpedersen
dpedersen

ASKER

yes i just did and still same result....
new code as follwos
  <html xmlns="http://www.w3.org/1999/xhtml">
    <cfajaximport tags="cfmenu">
    <cfmenu type="vertical">
    <cfmenuitem display="file">
          <cfmenuitem display="test" />
                  <cfmenuitem display="test"/>
                </cfmenuitem>
               
    <cfmenuitem display="tools"/>

</cfmenu>
       
   
ASKER CERTIFIED SOLUTION
Avatar of SidFishes
SidFishes
Flag of Canada image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
THANKS!! that wasnt totally it however it led me into the right direction...i copied the CFIDE folder under the default website to the darrneepdersen.com root and it is wokring now...is that what needs to be done.  permissions seemed ok on the default website but copying to this site did it...

does the CFIDE folder need to be under every site root?
SIDFISES  - YOU GET POINTS, however can you answre my questions above?

thanks again
"does the CFIDE folder need to be under every site root?"

every site that uses all the fun stuff in CF8 (cfmenu, cfform, cfwindow etc)  needs access to cfide

 what most do is create virtual directories for each site rather than copy it to each site.

just remember to remove access to cfide/administrator on production servers