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

Spry menu in an include

Community Beginner ,
Jul 13, 2010 Jul 13, 2010

Copy link to clipboard

Copied

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

Views

571
Translate

Report

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

...

Votes

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

Copy link to clipboard

Copied

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, the only real Dreamweaver alternative.

Votes

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Report

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