3 Replies Latest reply: Feb 28, 2013 10:36 AM by Andy Shaffer RSS

    Unable to set template properties

    Andy Shaffer Community Member

      I have a site which is based off of a responsive design (HTML5/CSS3/jQuery). I've setup a nice template for our Contribute users however I get the "Unable to set template properties" error when I would try to enter the template properties. Additionally, repeating regions don't work at all. No error, nothing. They work great with Dreamweaver, but not Contribute.

       

      I previously had this issue with an older (non-responsive) site which was based off of a Dreamweaver CS5.5 built in template. However with that site, I would get the following error when trying to work with a repeating region, "You can't add items to repeating regions because the draft's parent template is missing or not available to users in your role. Please contact the website administrator." I was able to fix this with the following Contribute 6.5 settings.

       

      1. Users can ONLY be able to create new pages from copies of select pages.
        • I just made blank versions of the templates I wanted people to use, and just saved them in the /Templates directory.
      2. Be sure creating new pages from site templates is turned OFF.
      3. Be sure creating new pages from content types is turned OFF.

       

      This is not the case with the newer site. I've tried both transitional and compatibility modes in the Contribute site settings but still nothing.

       

      Anyone experiencing this or have any fix ideas?

        • 1. Re: Unable to set template properties
          Andy Shaffer Community Member

          Update:

          Looks like I'm going to have to settle on not using nested templates. I gave it a try with on a page from a single un-nested template and both template properties and repeating regions worked.

           

          So now I'll be including all the global code via PHP includes rather than a master Dreamweaver template. Not sure how that will effect broken link reports or global link updates but it looks like it's the only solution for now.

          • 2. Re: Unable to set template properties
            Nancy O. CommunityMVP

            Nested templates are rarely if ever a good practice.

            PHP includes with site root relative links will work on your remote site, however they may not show up in your local test environment.

             

             

            Nancy O.

            • 3. Re: Unable to set template properties
              Andy Shaffer Community Member

              Yep, that's what I'm finding out. They were fine with older simpler sites. But looks like I'm over it

               

              As for the PHP includes, luckily I get to work directly on the production server. However I have installed WAMPserver locally just in case I'm not on the network.