Solved

CFMenu Not working - not displaying properly at all

Posted on 2008-06-12
5
874 Views
Last Modified: 2008-06-12
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.
0
Comment
Question by:dpedersen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 4

Expert Comment

by:msfletch
ID: 21772794
Have you tried including the cfAjaxImport Tag?

<cfajaximport tags="cfmenu">
0
 

Author Comment

by:dpedersen
ID: 21772878
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>
       
   
0
 
LVL 36

Accepted Solution

by:
SidFishes earned 250 total points
ID: 21772898
there is no access to cfide folder on your server

this needs to be available for cfmenu to work

http://darrenpedersen.com/cfide/scripts/ajax/yui/menu/menu.js
0
 

Author Comment

by:dpedersen
ID: 21773012
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
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 21773047
"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

0

Featured Post

Quiz: What Do These Organizations Have In Common?

Hint: Their teams ended up taking quizzes, too.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PROBLEM:  How to open a cfwindow or run a function on double click of a cfgrid row. One of my clients wanted to be able to double click on a row item to get more detailed information about a transaction and to be able to modify the line items i…
Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question