?
Solved

CFMenu Not working - not displaying properly at all

Posted on 2008-06-12
5
Medium Priority
?
887 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 750 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

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

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

This is an updated version of a post made on my blog over 3 years ago. It is unfortunately, still very relevant as we continue to see both SQLi (SQL injection) and XSS (cross site scripting) attacks hitting some of the most recognizable website and …
CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month10 days, 10 hours left to enroll

765 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