Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
Ian Hutchison #1
Non-Dreamweaver templates for Contribute
Are there any guidelines anywhere for creating the equivalent of Contribute
editable/non-editable templates for sections of HTML pages which were not
created by Dreamweaver; for example, guidelines on the use of <!--
begineditable--> etc.?
Ian Hutchison Guest
-
testing dreamweaver templates in contribute
I have a client that wants me to set up a template for sending mass HTML e-mail that they can edit in contribute. I have set up the page and... -
Linking in contribute templates made by dreamweaver
I am creating templates in Dreamweaver 8 for people using Contribute 3. When I am testing the templates I am unable to add more than one link at a... -
Using Contribute without Dreamweaver Templates
I have a newly created website that utilizes ASP includes and table less design. My clients just love Contribute and would still like to use it. ... -
Dreamweaver Templates, Contribute and .NET Custom'Page's
Hi all, I don't know if what I'm about to describe is at all possible, but it is the ideal solution to user collaboration issues we will soon be... -
Contribute 3 templates other than Dreamweaver
Does Contribute 3 allow the usage of templates not created in Dreamweaver, Frontpage for example? -
Murray *ACE* #2
Re: Non-Dreamweaver templates for Contribute
Notate your editable regions as shown in the following markup -
<!-- #BeginEditable "whatever" -->
Editable region content goes here
<!-- #EndEditable -->
and you should be OK.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Ian Hutchison" <webforumsuser@macromedia.com> wrote in message
news:eme649$3ot$1@forums.macromedia.com...> Are there any guidelines anywhere for creating the equivalent of
> Contribute
> editable/non-editable templates for sections of HTML pages which were not
> created by Dreamweaver; for example, guidelines on the use of <!--
> begineditable--> etc.?
>
Murray *ACE* Guest
-
Ian Hutchison #3
Re: Non-Dreamweaver templates for Contribute
Thanks for the guidance. However, we had already worked that out. I don't
think that actually does anything if you have not created a .dwt "copy"
template for that page. As far as we can see, you have to tell Conbtribute to
NOT allow changes outside the <! -- begineditable... <! -- enditable pairs by
creating a copy .dwt template for that page. Or is there another way of
blocking changes to everything except between the "editable" statements?
Ian Hutchison Guest
-
arfore #4
Re: Non-Dreamweaver templates for Contribute
Ian,
The Dreamweaver template system works from the standpoint of a "deny all,
allow some" mentality.
Initially a Dreamweaver template file allows no editing to any sections. When
modifying the template in Dreamweaver or any other text editor, the addition of
the begin/end editable pairs enables the editing of any content existing within
the tag pair.
If you want to create a template for use with Contribute outside of
Dreamweaver just create the file with any editable sections you desire then
change the file extension to .dwt and place it in the "Templates" directory on
your CPS managed webserver. Any files in the "Templates" directory that end
with ".dwt" will be loaded on the next startup of the Contribute client.
By default the Publisher and Writer roles allow access to all templates in the
"Templates" directory via the Contribute client.
Also, make sure that the "whatever" text mentioned by Murray is unique to each
individual editable region.
Please note that the Contribute/Dreamweaver template interaction is *not* a
run-time template system. Dreamweaver templates are design-time templates. If
you have sections of the template that change later then those changes will
need to be applied on a page-by-page basis to each page using a given template.
This functionality is automatically handled within the Macromedia workflow by
using Dreamweaver to download the entire site then having it update all pages
that are based on a given template.
The piece of the code that denotes which template is assigned to a given page
is as follows:
<!-- InstanceBegin template="/Templates/level2.dwt"
codeOutsideHTMLIsLocked="false" -->
with an acompanying closing tag of:
<!-- InstanceEnd -->
The "InstanceBegin" tag should follow the opening html tag and the
"InstanceEnd" tag should precede the closing html tag.
The important piece of the "InstanceBegin" tag is the value of the "template"
attribute. This needs to be the path to the specific template file relative to
the webroot on the server.
Hope this helps.
arfore Guest
-
Ian Hutchison #5
Re: Non-Dreamweaver templates for Contribute
Thanks. That's very helpful.
Ian Hutchison Guest



Reply With Quote

