-
1. Re: Making a Template for Adobe Contribute - without Dreamweaver
MurraySummers Jul 30, 2010 3:43 PM (in response to Template_Maker)Template_Maker wrote:
Given the task of making a web page that must exhibit regions editable with Adobe Contribute CS5, and having only a plain text editor (not Dreamweaver), exactly what needs to be done to the associated XHTML file? For example:
1. Does the XHTML file need to be named with an extension other than ".html"?
The 'child' page can be named with any extension.
2. When denoting an editable region within the XHTML, what is the exact syntax of the "begin editable" and "end editable" tags?
<!-- InstanceBeginEditable name="editable_region_name" -->
<!-- InstanceEndEditable -->
3. Is a CSS file referenced within the XHTML in the typical fashion, or must something special be done to reference a CSS file?
It's all just HTML - and needs to work properly on the server. Nothing special needs to be done.
Are there other changes that need to be made to an XHTML file in order for it to work properly with Adobe Cintribute CS5?
No.
I assume your client IS using Contribute.
But - a word of skepticism. This sounds like a project bound to fail. I know templates like the back of my hand (liver spots and all) and would hesitate to take it on....
-
2. Re: Making a Template for Adobe Contribute - without Dreamweaver
Template_Maker Jul 31, 2010 10:28 AM (in response to MurraySummers)In some scenarios, skepticism can be healthy. Thank you for your helpful reply. May I ask:
1. Your post mentions 'child' page and thereby suggests that there must also be a separate 'parent' page. Can Contribute CS5 be used successfully with the associated web pages (about 20 of them) all named with their native ".html" extensions and all using only the tags referenced in your reply? Is a separate '.dwt' file necessary if no additional web pages are to be made?
2. Specifically, what prompts the notion of project failure? Your post suggests that you have previously experienced a similar project. -
3. Re: Making a Template for Adobe Contribute - without Dreamweaver
MurraySummers Jul 31, 2010 10:37 AM (in response to Template_Maker)1. Your post mentions 'child' page and thereby suggests that there must also be a separate 'parent' page. Can Contribute CS5 be used successfully with the associated web pages (about 20 of them) all named with their native ".html" extensions and all using only the tags referenced in your reply? Is a separate '.dwt' file necessary if no additional web pages are to be made?
No, I don't think so. But it's important to add that I don't like Contribute because of the overhead that its use imposes on me as the developer of the site. When you use Contribute, I find that it changes the entire paradigm that I need to use for my activities. Instead of using the local site as a resource for my files, I am forced to use the remote site as that resource, relegating the local site to a 'scratchpad' only function. If you are not using DW to work on the site, you won't experience that. The consequence of this personal preference is that I don't work in Contribute frequently - in fact I avoid its use. The last CT site I worked on was more than several years ago. So there may be details that I don't have the correct answer about.
2. Specifically, what prompts the notion of project failure? Your post suggests that you have previously experienced a similar project.
I have no such previous experience. It's just that I think the separation between a plain text editor and some native DW functions may be the source of operational difficulties.
-
4. Re: Making a Template for Adobe Contribute - without Dreamweaver
Template_Maker Jul 31, 2010 2:44 PM (in response to MurraySummers)During a test website editing session with Adobe Contribute CS5 today, it is being observed that the hand-inserted:
<!-- InstanceBeginEditable name="Some_Name" -->
<!-- InstanceEndEditable -->
tags do not prevent editing outside of the tags. If the proper insertion of the aforementioned tags is supposed to enable making a template as previously described, without Dreamweaver, then the Adobe Contribute CS5 program simply does not work as advertised. -
5. Re: Making a Template for Adobe Contribute - without Dreamweaver
MurraySummers Aug 1, 2010 4:35 AM (in response to Template_Maker)Let's see your test code, please.
And to make sure I understand, you added that code to a test page, and then tried editing that test page in Contribute? You may need to also add an appropriate template parent line, e.g.,
<html>
<!-- InstanceBegin template="/Templates/page.dwt" codeOutsideHTMLIsLocked="false" -->
-
6. Re: Making a Template for Adobe Contribute - without Dreamweaver
Template_Maker Aug 4, 2010 5:39 PM (in response to MurraySummers)<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<link href="../twoColFixLtHdr.css" rel="stylesheet" type="text/css" />
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head><body>
<div class="container">
<div class="header"><a href="#"><img src="" alt="Insert Logo Here" name="Insert_logo" width="180" height="90" id="Insert_logo" style="background: #C6D580; display:block;" /></a>
<!-- end .header --></div>
<div class="sidebar1">
<ul class="nav">
<li><a href="#">Link one</a></li>
<li><a href="#">Link two</a></li>
<li><a href="#">Link three</a></li>
<li><a href="#">Link four</a></li>
</ul>
<p>Some text here</p>
<!-- end .sidebar1 --></div>
<div class="content">
<h1><!-- TemplateBeginEditable name="EditRegion3" -->Instructions<!-- TemplateEndEditable --></h1>
<p>Some text here </p>
<h2> </h2>
<!-- end .content --></div>
<div class="footer">
<p>Some text here</p>
<!-- end .footer --></div>
<!-- end .container --></div>
</body>
</html> -
7. Re: Making a Template for Adobe Contribute - without Dreamweaver
MurraySummers Aug 5, 2010 1:16 PM (in response to Template_Maker)But that would be the code for a TEMPLATE, which is not what Contribute can edit. You need a CHILD page with appropriate Child page markup. Try using your non-DW editor to change each instance of "<!-- Template" to "<!-- Instance". Then try editing it in Contribute.
-
8. Re: Making a Template for Adobe Contribute - without Dreamweaver
Template_Maker Aug 6, 2010 7:22 AM (in response to MurraySummers)The "Instance" type of tags work. Thank you.
Is there a complete list of "Instance" tags somewhere?
-
9. Re: Making a Template for Adobe Contribute - without Dreamweaver
MurraySummers Aug 6, 2010 7:24 AM (in response to Template_Maker)Read Adobe's Help pages about templates - they are pretty comprehensive. The most commonly used ones though are the InstanceBeginEditable, and InstanceEnd. Their function is as already demonstrated.


