close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Menu code in a Dreamweaver Template...

Thread began 8/18/2011 8:43 am by markhaynes75235 | Last modified 8/23/2011 12:16 pm by Lon Winters | 2670 views | 6 replies |

markhaynes75235

Menu code in a Dreamweaver Template...

Hi Gang:

I've been using the CSS MenuWriter code in several websites with great success for some time but today I hit a proverbial wall in a DWT file. the menu is appearing on the pages from the template as an unordered list, indicating that the CSS link which works on the index.php page is not working in the template. Here's the code in question:

<style type="text/css" media="all">
<!--
@import url("CSSMenuWriter/cssmw3/menu.css");
@import url("CSSMenuWriter/cssmw4/menu.css");
-->
</style>

(there are two menus on the page)
What appears to be happening is the css links are not connecting to enable the menu to display properly. I've tried using ../ and / before the CSSMenuWriter... references with no luck. Any ideas what I'm doing wrong here?

Thanks as always!

enthusiastically,
mh

Sign in to reply to this post

Jason ByrnesWebAssist

hard to tell what is wrong without seeing it in a browser, can you send a link to your template file so i can investigate the cause.

Sign in to reply to this post

markhaynes75235

Menu code in a Dreamweaver Template...

Hi Jason.

I've got it on one of my internal servers now and I've sent you an email (I hope I remember the format) so you can take a look at it.

Thanks as always!

enthusiastically,
mh

Sign in to reply to this post

Jason ByrnesWebAssist

Hi Mark, I did not get any email from you, I sent an email to the address we have on record for you.

Sign in to reply to this post

Mike Perry

Originally Said By: markhaynes75235
  Hi Gang:

I've been using the CSS MenuWriter code in several websites with great success for some time but today I hit a proverbial wall in a DWT file. the menu is appearing on the pages from the template as an unordered list, indicating that the CSS link which works on the index.php page is not working in the template. Here's the code in question:

<style type="text/css" media="all">
<!--
@import url("CSSMenuWriter/cssmw3/menu.css");
@import url("CSSMenuWriter/cssmw4/menu.css");
-->
</style>

(there are two menus on the page)
What appears to be happening is the css links are not connecting to enable the menu to display properly. I've tried using ../ and / before the CSSMenuWriter... references with no luck. Any ideas what I'm doing wrong here?

Thanks as always!

enthusiastically,
mh  


Mark -- what is the folder structure for your site? Is the Template folder in the main site folder??

Sign in to reply to this post

markhaynes75235

Menu code in a Dreamweaver Template...

The template is in the templates subfolder under the site root.

I went into the editable region in the <head> of each of the files generated from the template and placed the code:

<style type="text/css" media="all">
<!--
@import url("CSSMenuWriter/cssmw3/menu.css");
@import url("CSSMenuWriter/cssmw4/menu.css");
-->
</style>
<!--[if lte IE 6]>
<style type="text/css" media="all">
@import url("CSSMenuWriter/cssmw3/menu_ie.css");
@import url("CSSMenuWriter/cssmw4/menu_ie.css");
</style>
<![endif]-->

Now the menus work - I'm curious as to why Dreamweaver did not include the required code in the <head>...</head> region.

enthusiastically,
mh

Sign in to reply to this post

Lon WintersBeta Tester

Is the template a PHP template, or HTML? I'm just guessing, but there may be a disconnect somewhere along those lines. One thing I like about Menu writer, is that when you apply a menu to. PHP page, the actual list is in the form of a PHP include.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...