Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
kkaste #1
Can't restrict Contribute from modifying anything andeverything
I am hand coding a website for a client. I don't use Dreamweaver. The client
wants to be able to modify text content on the home page and a few other pages.
Contribute seems like the perfect choice. The content on the home page that the
client wants to modify is contained in the cell of a table. Based on what I
understood from a previous job, I thought I could make this happen by encasing
the modifiable text with the following tags: <!-- InstanceBeginEditable
name="title" --> modifiable content <!-- InstanceEndEditable -->. The problem
is that Contribute allows me to edit any part of the page including the table
cell widths and heights.
Even more alarming is that I can use Contribute to edit any web page on the
site even though there are no Dreamweaver or Contribute tags to allow that to
happen. How do I restrict Contribute to edit only the areas where I want to
allow editing? Am I using the wrong Dreamweaver tags? How can Contribute modify
pages where it has no tags allowing it to do so?
Thanks to anyone who can shed light on this.
kkaste Guest
-
Modifying the PDF content on the fly from PHP/GNU C++
Hi, We have an existing PDF file - the brochure template. We would like to go through the database and replace the very small portion of the... -
Modifying pages
I have already built my site and have added some extra content to my pages. Each page has a footer with 3 buttons - Right now if I move the header... -
Modifying with odd characters
My primary key can be numbers or text and sometimes has # and + in its value. When I try to modify values with # or + it will not allow me to pull... -
modifying views
I read the following thread from Nov 2002 on the impossibilities of modifying a view and I was wondering if anything had changed in this regard... -
Modifying Forms
This doesn't sound too hard, just hide controls for one type and when you select the other hide and make visible the other. ... -
radsraman #2
Re: Can't restrict Contribute from modifying anythingand everything
Hi,
Any editable regions inserted using dreamweaver would be editable in
contribute. Other regions are non-editable.
it would be of this form
<!-- TemplateBeginEditable name="EditRegion1" -->EditRegion1<!--
TemplateEndEditable -->
Thank
radsraman Guest
-
kkaste #3
Re: Can't restrict Contribute from modifying anythingand everything
Thanks for your response. However, my version of Contribute can edit all pages
on the site whether or not they have the TemplatesBeginEditable tag. This
cannot be the intended function of Contribute. I don't want the client to have
the freedom to edit everything. I want to restrict his access. But at this
point he can bring any web page from his site into Contribute and screw it up.
You should only be able to edit content enclosed by the TemplatesBeginEditable
tag. Contribute is behaving as if the whole site was enclosed in this tag. How
can I restrict it?
Thanks!
kkaste Guest
-
ThinkInk #4
Re: Can't restrict Contribute from modifying anythingand everything
Maybe this will help you.
The basic template code in Dreamweaver 8 looks like this:
---
<!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" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>
<body>
<!-- TemplateBeginEditable name="EditRegion3" -->EditRegion3<!--
TemplateEndEditable -->
</body>
</html>
---
When you create a page from a template in Dreamweaver 8 it looks like this:
---
<!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"><!-- InstanceBegin
template="/Templates/template2.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
</head>
<body>
<!-- InstanceBeginEditable name="EditRegion3" -->EditRegion3<!--
InstanceEndEditable -->
</body>
<!-- InstanceEnd --></html>
ThinkInk Guest
-
kkaste #5
Re: Can't restrict Contribute from modifying anythingand everything
Thanks ThinkInk.
Your second html file with the tag <!-- InstanceBegin
template="/Templates/template2.dwt" codeOutsideHTMLIsLocked="false" --> makes
my page work. I can even leave out the attribute
'template="/Templates/template2.dwt"' and it still works fine.
Much appreciated!
kkaste Guest
-
scr #6
Re: Can't restrict Contribute from modifying anythingand everything
For a finer degree of control, I recommend the following:
1. Link every page to two style sheets - one that contains only the styles you
want the user to have access to, and one that contains everything else. Limit
the user to stylesheet #1. Turn off all other coding options - font selection,
background colors, etc.
2. Put your editable areas inside your markup. For example, don't just create
a big editable area in the center of the page. Instead create the page title,
let's say H1, and put the editable region inside of the tag:
<h1><!-- InstanceBeginEditable name="pagetitle" -->This is the Title<!--
InstanceEndEditable --></h1>
Do the same for the body copy, footer, etc. Dreamweaver doesn't especially
like this and will usually pop up some sort of warning, that you can just
ignore. This is the only way I have found to give users write access but force
them to use the site's pre-defined formatting.
scr Guest
-
Unregistered #7
Re: Can't restrict Contribute from modifying anything andeverything
I tried the above but it is not working. Even though i added the InstanceBeginEditable, the page is allowing me to edit completely.
Unregistered Guest



Reply With Quote

