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

Spry menu in an include

Community Beginner ,
Jul 13, 2010 Jul 13, 2010

Using DW CS5 I created a spry menu in a blank page and placed it in an include file "ZzipMenuBar.inc.php"

Created a template and put <?php include ('/ZzipMenuBar.inc.php'); ?> in the template.

Created a new doc and selected no to remove code.

Everything works at the root level

http://www.zzipper.com/index.php

Everything works at branch 1

http://www.zzipper.com/Gallery/index.php

Branch 2 I get a menu in live view but not on the web page

http://www.zzipper.com/Gallery/Coyote/index.htm

If I save the file and return live view doesn't show the menu.

Any comments? It's got to be simple and operator error. Need to get this up quickly.

Herman

TOPICS
Server side applications
670
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

correct answers 1 Correct answer

Community Expert , Jul 14, 2010 Jul 14, 2010

cycler wrote:

Using DW CS5 I created a spry menu in a blank page and placed it in an include file "ZzipMenuBar.inc.php"

Created a template and put <?php include ('/ZzipMenuBar.inc.php'); ?> in the template.

Created a new doc and selected no to remove code.

Everything works at the root level

http://www.zzipper.com/index.php

Everything works at branch 1

http://www.zzipper.com/Gallery/index.php

Branch 2 I get a menu in live view but not on the web page

http://www.zzipper.com/Gallery/Coyote/index.htm

If I sav

...
Translate
Community Expert ,
Jul 14, 2010 Jul 14, 2010

cycler wrote:

Using DW CS5 I created a spry menu in a blank page and placed it in an include file "ZzipMenuBar.inc.php"

Created a template and put <?php include ('/ZzipMenuBar.inc.php'); ?> in the template.

Created a new doc and selected no to remove code.

Everything works at the root level

http://www.zzipper.com/index.php

Everything works at branch 1

http://www.zzipper.com/Gallery/index.php

Branch 2 I get a menu in live view but not on the web page

http://www.zzipper.com/Gallery/Coyote/index.htm

If I save the file and return live view doesn't show the menu.

Any comments? It's got to be simple and operator error. Need to get this up quickly.

Herman

Because you are using PHP code within your document, your document must have a PHP extension. At the moment this is HTM.

I hope this helps.

Ben

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
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
Community Beginner ,
Jul 14, 2010 Jul 14, 2010
LATEST

I knew I was going to make myself feel stupid. . Thanks!

Could blame it on watching the Tour while doing the upgrades but in truth must have been a senior moment.

Have to create a coupe new pages. Will turn off the TV first.

Herman

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