PDA

View Full Version : Template - editable region problem


tommisauce
03-16-2007, 11:08 AM
Hi folks,
I'm designing a site using CSS as opposed to tables and I've hit on a problem. For info the site is broken down into a 'header', 'left hand column' and a 'right hand column'. The 'left hand column' is a class and on the template I'm trying to make it an editable region, However when I've done editable regions in tables in the past they're always worked but this time out when attempting to make the left hand column editable using CSS the following message is displayed:

You have placed the editable region "EditColumn" inside a block tag. Users of this template will not be able to create new blocks in this region. Move the region outside the block tag if you want users to be able to do this.

Now I'm not sure what I'm doing wrong, however it is within this region I want to be able to edit data. I want to be able to apply a Bg image to this region and also add images or text and links - however I cant.

I have tried to edit the above (Bg image, text, rollovers) on a separate DW8 file and it works fine (which it should do) - it's just in the template version I cant. Can anyone shed any light on this problem. I'm not a hardcore coder so any breakdown in this problem would be absolutley welcomed.

Many thanks
Tommisauce

westmatrix99
03-16-2007, 11:42 AM
1234567890

tommisauce
03-16-2007, 11:52 AM
I've altered the code so that the tag is in the editable region rather than the editable region being in the tag:

<!-- TemplateBeginEditable name="LeftColumn" --><div class="Left" id="Edit"></div><!-- TemplateEndEditable -->

However this still isn't working!

The previous 'error' message is no longer displayed when I save the .dwt file. However when I go to create a new doc based on the template and edit onto the region - this message is displayed: Making this change would require changing code that is locked by a template or a translator. The change will be discarded.

I've tried playing around with the code but nothing is working. Any ideas?
Cheers

westmatrix99
03-16-2007, 11:58 AM
1234567890

tommisauce
03-16-2007, 12:51 PM
Hi again - here's my page code, I've actually had a play with the code but even this version isn't working - which I completely dont understand now and am within minutes of banging my head against the proverbial wall:

</head>

<body>
<!-- TemplateBeginEditable name="LeftColumn" --><div class="Left" id="Edit"><h1></h1></div><!-- TemplateEndEditable -->

<p align="left"><img src="../image/Front_Page/IUKwebLogo.gif" alt="Intuition UK: Business Consultants" width="245" height="60" class="Logo" /><div class="MenuHeader"><a href="#">HOME</a> &nbsp; &nbsp;&nbsp;<a href="#">ABOUT US</a> &nbsp;&nbsp;&nbsp; <a href="#">SERVICES</a>&nbsp;&nbsp; &nbsp; <a href="#">NEWS</a> &nbsp;&nbsp;&nbsp;<a href="#">ADVERTISEMENT</a> &nbsp;&nbsp;&nbsp; <a href="#">PAYMENTS</a>&nbsp; &nbsp;&nbsp; <a href="#">CONTACT</a></div>

<span class="Right"><img src="../image/Front_Page/Latest.gif" alt="Intuition UK: Business Consultants - graphic for latest news" width="320" height="30" hspace="5" vspace="5" /><br />
&nbsp;&gt; <a href="#">But perspiciatis unde omnis iste natus error sit &nbsp;&nbsp;&nbsp;&nbsp;voluptatem accusantium But perspiciatis unde</a><br />
&nbsp;&gt; <a href="#">Tomnis iste natus error sit</a> <br />
&nbsp;&gt; <a href="#">voluptatem accusantium doloremque &nbsp;</a><br />
&nbsp;&gt; <a href="#">laudantiumdoloremque laudantium</a><br />
<img src="../image/Front_Page/RightPI/RightPanelImageA.jpg" alt="Intuition UK: Business Consultants - graphic of a computer close up" width="320" height="125" hspace="5" vspace="5" /><img src="../image/Front_Page/contact.gif" alt="Intuition UK: Business Consultants - graphic for Contact us: xxxx@xxxxxxx.info" width="320" height="30" hspace="5" /><br />
<br />
&nbsp;&nbsp;Please contact one of Intuitons experienced &nbsp;&nbsp;consultants who will only be too happy to help on <br />
<br />
&nbsp;&nbsp;<span class="style4"><span class="Telephone">020 xxxx xxxx</span><br />
<br />
&nbsp;&nbsp;Or send an e-mail querie to:<br />
&nbsp;&nbsp;<a href="mailto:xxxx@xxxxxxx.info">xxxx@xxxxxxx.info </a><br />
</span></span> <br />
</p>
<p><p class="Copyright">Intuition UK 2007&copy;</p>
</body>
</html>


Any help would be appreciated!!

westmatrix99
03-16-2007, 01:09 PM
1234567890

domedia
03-16-2007, 02:32 PM
However when I go to create a new doc based on the template and edit onto the region - this message is displayed: Making this change would require changing code that is locked by a template or a translator. You're trying to edit an area which is not set to be editable in your template. Go back tot he .dwt file and mark the area you are trying to edit as an editable area.