Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
skozey #1
MMC 3/3.1: repeating regions breaking includes
I've posted already on this topic regarding CFINCLUDEs, but further testing has
shown that we can break pages with SSI/ASP includes as well. Basically, if we
create a dreamweaver template that has both includes and a repeating region,
when you go to create a new page or edit an existing page based on that
template adding new elements to the repeating region on a page will cause
Contribute (in edit mode) to refresh the page and render the contents of the
includes inline. When you save the page and open up the source file in a text
editor the include syntax is gone, replaced with what the post server-side
processing contents of the includes would be. It doesn't matter how
complex/simple the code in the page or the include files are. And the problem
is reproduceable across multiple page and various Contribute installs (but very
frustratingly, not all Contribute installs; the problem is somewhat
inconsistent). Is anyone else having this problem? Macromedia has acknowledged
that it's a bug but so far no workaround or fix (bug #187898). It's causing us
huge amounts of grief, as we're looking at either having to place all the
include file contents inline in our pages/templates, or look at a different CMS
solution. Here's an basic ASP template that breaks on some (but not all) of
our 10+ Contribute installs at our studio (and on installs on home machines;
Mac and Windows).
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Include test</title>
</head>
<body>
<!--#include virtual="/includes/inc-branding.asp"-->
<table cellpadding="0">
<!-- TemplateBeginRepeat name="Event" -->
<tr>
<td class="column1"><!-- TemplateBeginEditable name="EventContent" -->
<p><strong>Many Faces, Many Paths: Art of Asia</strong><br />
<em>Thursday and Sundays, 1:30 p.m.</em><br />
<a href="#">Tours</a> </p>
<p><em>Journey to exotic Asia and learn about Buddist and Hindu cultures with
a knowledgeable guide in our world class Asian Gallery.</em></p>
<!-- TemplateEndEditable --></td>
<td><!-- TemplateBeginEditable name="EventImage" -->
<img src="/images/en/icon-pro-family.gif" alt="family" width="70" height="24"
/>
<!-- TemplateEndEditable --></td>
</tr>
<!-- TemplateEndRepeat -->
</table>
</body>
</html>
skozey Guest
-
Contribute 3 Repeating Regions
I am trying to convert a site to a template driven site through dreamweaver, to make it easier for my client to update the site, and so far... -
Contribute 4 and Repeating Regions
I have researched this topic but didn't find a satisfactory answer. I have created a DW template with repeating regions. In DW I am able to get... -
Problems with repeating regions
I have a Contribute user who's having problems with repeating regions on at least one page. She was initially able to use them without issue (and... -
Editable Repeating regions
I have a template created in DW with a "Last updated : dd/mm/yy" field that I want the client to be able to change everytime they update something... -
repeating regions
I have the same problem (and there appear to be several other threads on this forum talking about exactly the same thing). I see the same thing in...



Reply With Quote

