Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Newbie to cfmenu

New Here ,
Dec 10, 2008 Dec 10, 2008
To the group,

Hoping you can help. I am just trying to implement a basic cfmenu with cfmenuitems, but when I display this in my browser, the menus are not in a drop down format, in fact they appear as if they have been indented in that the bullets images are one level in if I was to do this in a word document format. Can someone help? Below is the link.

http://ora253.dce.harvard.edu:7779/~smartino/ps6/menu/menu.cfm

thanks

Steve
587
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Dec 10, 2008 Dec 10, 2008
Hi,

Check whether your CFIDE directory is mapped in the Coldfusion Administrator, if not map it and try again...

If it is already mapped, check and make sure that your mappings are valid.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 10, 2008 Dec 10, 2008
I am student using the schools coldfusion and web server, so I do not have access to this. What is the CFIDE directory for?

sorry for being a newbie to this...

Hi,

Check whether your CFIDE directory is mapped in the Coldfusion Administrator, if not map it and try again...

If it is already mapped, check and make sure that your mappings are valid.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Dec 10, 2008 Dec 10, 2008
Hi GusAva,

If you don't have the access, you can check it with your Administrator, may be he can guide you through.

HTH
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 10, 2008 Dec 10, 2008
thanks....

I keep reading that the Yahoo scripts (YUI) are necessary for this to work, and just noticed that I have these scripts in my home directory, how do I reference them, do I need to copy them to my public_html directory for this to work, or are these scripts not the reason I am having a problem?

thanks

Steve
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Dec 10, 2008 Dec 10, 2008
Hi Steve,

You don't have to worry about having it in your own directory, as the CFIDE/scripts directory (which you normally include in your coldfusion files) has already got all those stuff (YUI, ExtJS and all)..
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 10, 2008 Dec 10, 2008
Can you give me the include statement that people normally put in the .cfm files to do this?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Dec 10, 2008 Dec 10, 2008
Yeah you can do that like this,

<cfajaximport scriptsrc="/your_scripts_directory">
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 10, 2008 Dec 10, 2008
Below is the mapping to our scripts directory, does the below make sense, and is my statement correct?

http://ora253.dce.harvard.edu:7779/CFIDE/scripts

Where I implemented it:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
" http://www.w3.org/TR/html4/strict.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Sample CFMenu Tag</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<cfajaximport
cssSrc = " http://ora253.dce.harvard.edu:7779/CFIDE/scripts"
scriptSrc = " http://ora253.dce.harvard.edu:7779/CFIDE/scripts">
</head>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Dec 10, 2008 Dec 10, 2008
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 10, 2008 Dec 10, 2008
unfortunately still does not work.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Dec 10, 2008 Dec 10, 2008
Hi Steve,

You can not put your script location as url's in the scriptSrc and cssSrc attributes, and you can only reference the directory in where you have the AJAX scripts (i.e javascript files).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Dec 10, 2008 Dec 10, 2008
LATEST
Check with your administrator and make sure that CFIDE/scripts is not blocked, so that you don't have to do these work arounds.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources