Skip navigation
Currently Being Moderated

Spry menu bar won't update when published

Jul 24, 2012 5:18 PM

Tags: #help #error #adobe #jquery #template #cs5.5 #dreamweaver #javascript #spry #menu #html5

I am building a dreamweaver webpage though a template.

for some reason it will not change the spry menu bar to update the changes made to the links on it.

that and the links won't work on the website (i uploaded it to a test website).

I am not sure if it is the same problem.

I changed the links from site to document relative.

I also checked the codes in http://validator.w3.org/check and http://jigsaw.w3.org/css-validator/ .

I also read this link and it didn't help me http://helpx.adobe.com/dreamweaver/kb/paths-dreamweaver-templates.html .

 

 

Can someone help please!

 

Thank you

 
Replies
  • Currently Being Moderated
    Jul 24, 2012 5:26 PM   in reply to jsmcrawler

    Please post a link to the site so we can view it and the code.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 24, 2012 7:44 PM   in reply to jsmcrawler

    When I look at the markup for the menu

    <ul id="MenuBar">

      <li> <a href="#">Home</a></li>

      <li> <a href="#">About Jan Kardys</a></li>

      <li> <a href="#">Resources</a>

        <ul>

          <li> <a href="#">Education Connection</a></li>

          <li> <a href="#">Submission Guidelines</a></li>

          <li> <a href="#">Blogs</a>

            <ul>

              <li> <a href="#">Unicorn Writers Conference</a></li>

              <li> <a href="http://advancenetworkingunicorn.blogspot.com/">Advanced Netwroking Blog</a></li>

            </ul>

          </li>

          <li> <a href="#">First Steps to Publishing</a></li>

          <li> <a href="#">Library &amp; Publishing Events</a></li>

          <li> <a href="#">Art Gallery</a></li>

        </ul>

      </li>

      <li> <a href="#">Clients</a></li>

      <li> <a href="#">Contact Jan Kardys</a></li>

    </ul>

    I see just one link that being for Advanced Networking Blog.

     

    There are several possible reasons

    1. When you updated the template, did you also update the pages that use the template?
    2. When the changes were made to the pages, did you upload these pages?

     

    Gramps

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 25, 2012 7:04 AM   in reply to jsmcrawler

    Sorry, but that is not what is on line and that is what matters.

     

    If you open the site in your browser, then right click on the page and choose View Source or similar, you will see what I mean.

     

    Gramps

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 25, 2012 4:27 PM   in reply to jsmcrawler

    The page on-line is neither a Template.dwt file or a Child page spawned from a Template file.  Soooo... something is broken somewhere.

     

    Go to File > New Page from Template. 

    SaveAs test.html.

     

    Do you see the correct menu on your test page?

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 26, 2012 5:02 AM   in reply to jsmcrawler

    There are several problems that I see immediately in this TEST file:

     

    1. First, there is clearly a problem with your site definition since a number of your links are poorly formed -

     

    <!-- InstanceBegin template="file:///C|/Users/james/Documents/DREAMWEAVER SITES/JanKardys.com/Templates/Main_sitepage_template.dwt" codeOutsideHTMLIsLocked="false" -->

    (That 'file:///' link should never happen - see the corresponding link in your second file)

     

    also -

     

    <li> <a href="file:///C|/Users/james/Documents/DREAMWEAVER SITES/JanKardys.com/about_jankardys.html">About Jan Kardys</a></li>

          <li> <a href="#">Resources</a>

            <ul>

              <li> <a href="/Education_connection.html">Education Connection</a></li>

     

    Note that the first link is broken suggesting that DW thinks that file is OUTSIDE the root folder of the site, while the second link is a normal root relative link.

     

    2.  Your links in both pages are all either ABSOLUTE links, or ROOT RELATIVE links.  Why are you not using simple document relative links?  The link styles you are using will both cause you problems in maintaining or building your pages.

     

    3.  Your menu is within an editable region of the template.  As such, changes made to the template in that region will never propagate to the child pages.  It's only changes made to the non-editable regions of the template file that will propagate to child pages.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points