Can't restrict Contribute from modifying anything andeverything

Ask a Question related to Macromedia Contribute General Discussion, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. 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...
    5. 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. ...
  3. #2

    Default 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

  4. #3

    Default 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

  5. #4

    Default 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

  6. #5

    Default 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

  7. #6

    Default 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

  8. #7

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139