Skip to main content
Known Participant
June 17, 2018
Question

module_contentholder OK in DW CS6 but not OK in DW CC (2018)

  • June 17, 2018
  • 3 replies
  • 2169 views

I have recuperated all the files from an entire site created with Dreamweaver CS6 in the latest version of Dreamweaver CC. The Main Template.dwt is in the directory Templates. Here is the code referring to the menu.html (in _System/ContentHolders/) which never appear in index.html nor in any other files based on the same template :

<body>

   

    <header class="page">

      <div class="container">

        <div class="sixteen columns logo">

          <h3><a href="/">An OBR Esprit instance on the web</a></h3>

         

          <div class="menu full">

         

            <!-- you can edit the menu from "_System/ContentHolders/menu.html" -->

            {module_contentholder,name="menu"}

          </div>

         

          <div class="menu dropdown">

            <ul>

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

             

                <!-- you can edit the menu from "_System/ContentHolders/menu.html" -->

                {module_contentholder,name="menu"}

             

              </li>

            </ul>

          </div>

        </div>

      </div>

    </header>

    This code worked perfectly in DW CS6 but no longer in DW CC.

Having published the site, I see only  {module_contentholder,name="menu"} in place the menu

What happen?   

This topic has been closed for replies.

3 replies

TheBCMan
Participating Frequently
June 25, 2018

As others have pointed out, your hosting provider by Adobe is shutting their service down. It is still unclear how the recent magento purchase will fit with DW but consider moving the site and changing your includes to a static file.

Known Participant
June 21, 2018

In DW CC as in DW CS6, referring to the root directory is allowed by this:

- Select Manage sites... (under Site)

- Click on the name of your site

- Site setup for "your site" appears

- Select Advanced Settings

- On Local Info, two radio buttons gives you the choice between Document and Site Root.(Links relative to:)

- I have chosen Site Root.

Despite all of this,

<!-- you can edit the menu from "_System/ContentHolders/menu.html" -->

            {module_contentholder,name="menu"}

does not work.

Nancy OShea
Community Expert
Community Expert
June 22, 2018

It looks like you're working on a Business Catalyst site.  Business Catalyst Templates only work on BC Servers.

Connect to your site using Dreamweaver CC 2014 or later

In case you missed the memo, Business Catalyst is EOL which means the servers will be taken down in March 2021. You will need to make plans to move your current sites from BC to a new web host.

Important Update about the Business Catalyst End of Life

The ability to create new BC trial sites ended on Monday 6/18.

Nancy O'Shea— Product User & Community Expert
Known Participant
June 23, 2018

My question may be stupid but what do you mean by "Business catalyst site"? I created my site originally with DW CS6 and tried to recuperate it in DW CC. I don't know nearly nothing about BC. My site was put on a server from en Belgian provider and is liable to be totally independent from  BC structure or any what else that could involves restrictions on the generality of the JavaScript generated by DW CS6 or coded in it by myself. As  DW CS6 is free for those who have bought DW CC, I downloaded again DW CS6 and experienced with horror that it works not better with this one than with the new DW CC, while I developed my site with DW CS6! What does mean such a mess ?!

In Design mode, I click on a container area and the properties pane (for the container) appears and I have only to drag a file in the link field and drop this file in it (or select the file in the files tree). Whatever the way is use, the file does not appear in the link field. When I click on the help button, I get an obsolete link on the web.

About the support: it comes to nothing as soon as we go beyond the limits of elementary use of the interface. At least, I have to retry, chatting and chatting again...

Nancy OShea
Community Expert
Community Expert
June 17, 2018

The code you're showing us is neither a DW Template.dwt or a child page spawned from a DW Template.

Nancy O'Shea— Product User & Community Expert
Known Participant
June 17, 2018

Please, see below  the full code of Main Template.dwt of which a skeleton was generated by DW CS6 and which I modified so that it meets more precisely my needs. I assure you that It worked perfectly so in DW CS6. It seems that DW CC does not recognize /_System/ContentHolders/    and can not reach the files placed in this supposedly standard directory.

<!doctype html>

<html>

  <head>

   

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <!-- TemplateBeginEditable name="doctitle" --><title>An OBR Esprit instance on the web TEST 2</title><!-- TemplateEndEditable --><!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->

   

    <link href="/stylesheets/base.css" type="text/css" rel="stylesheet" />

    <link href="/stylesheets/skeleton.css" type="text/css" rel="stylesheet" />

    <link href="/stylesheets/layout.css" type="text/css" rel="stylesheet" />

   

    <!--[if lt IE 9]>

        <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>

    <![endif]-->

   

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

    <script src="/javascripts/sorttable2.js"></script>   

   

    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

 

  </head>

  <body>

   

    <header class="page">

      <div class="container">

        <div class="sixteen columns logo">

          <h3><a href="/">An OBR Esprit instance on the web</a></h3>

         

          <div class="menu full">

         

            <!-- you can edit the menu from "_System/ContentHolders/menu.html" -->

            {module_contentholder,name="menu"}

          </div>

         

          <div class="menu dropdown">

            <ul>

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

             

                <!-- you can edit the menu from "_System/ContentHolders/menu.html" -->

                {module_contentholder,name="menu"}

             

              </li>

            </ul>

          </div>

       

        </div>

      </div>

    </header>

   

    <div class="container">

      <!-- TemplateBeginEditable name="ContentArea" -->{tag_pagecontent}<!-- TemplateEndEditable -->

    </div>

   

    <footer class="container">

      <div class="sixteen columns">

        <nav role="navigation">

         

          <!-- you can edit the menu from "_System/ContentHolders/menu.html" -->

          {module_contentholder,name="menu"}

       

        </nav>

        <p>Copyright © 2012 Company Co. All rights reserved.</p>

      </div>

    </footer>

   

    <!-- Scripts moved at the end for a faster page rendering -->

   

    <script src="/javascripts/menu.js"></script>

   

    <script type="text/javascript">

      $(document).ready(function() {

        $('.menu.dropdown ul li').click(function(){

           $(this).find('ul').toggle();

        });

      });

    </script>

  </body>

</html>

Nancy OShea
Community Expert
Community Expert
June 17, 2018

It's looks like you're using Root Relative links.  See screenshot below.  My template contains a link to my external CSS file but it's document relative (../css/my_styles.css).

Try changing your links to document relative and see if thiat helps.

Nancy O'Shea— Product User & Community Expert