Contribute and ASP.Net 2.0

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

  1. #1

    Default Contribute and ASP.Net 2.0

    I use Visual Studio 2003 to create ASP.Net 2.0 .aspx web pages and I
    would like to give my clients Contribute to allow them to edit certain
    regions of certain pages on the site.

    Is it possible to add simple comment tags inline (on the .aspx page
    rather than in any template file) that mark regions editable while the
    rest of the page is untouchable? I am aware of the old "<!-- Begin
    Editable "blah" -->" and "<!-- End Editable -->" comment tags but they
    do not seem to protect the page when I attempt to edit with Contribute.
    I've tried connecting as Administrator (in which case I would expect
    to be able to edit anything) and as Writer and Publisher and in all
    cases, the entire page is editable, which I definitely do not want.

    I am new to the Contribute concept so I'm unsure how it works and,
    since Visual Studio is my preferred tool, I have no reason to use
    Dreamweaver.

    Shadow Lynx Guest

  2. Similar Questions and Discussions

    1. Admin Contribute in Drmwvr - "must install Contribute"
      I have been administering the Contribute site from Dreamweaver 8, with Contribute 4 installed on the same machine. Now when I try to "Administer...
    2. Is Contribute 4 compatible with Contribute CS3?
      I have Contribute 4 and my customer has Contribute CS3. Can I set up their site for editing with 4 or will I need to upgrade my version to CS3?
    3. Do I need Contribute AND Contribute Publishing Server?
      Do I need to have Contribute Publishing Server installed on the web server on order to update web pages with Contribute? - Andrea
    4. Contribute 2 Connection Keys using Contribute 3?
      Is it possible to create a Contribute 2 Connection Key using Contribute 3? If so, how?
    5. Problem creating keys in Contribute 2 for Contribute 3users
      Hi I'm using Contribute 2 or Dreamweaver MX to administer a site. I created a key for a Contribute 3 user. When they try and install the key they...
  3. #2

    Default Re: Contribute and ASP.Net 2.0

    Shadow Lynx wrote:
    > I use Visual Studio 2003 to create ASP.Net 2.0 .aspx web pages and I
    > would like to give my clients Contribute to allow them to edit certain
    > regions of certain pages on the site...
    Even though I'm answering my own question, I'd still be interested to
    hear any other replies on this (and if someone has actually found a
    resource that gives all template tags/useage/placement/etc. that would
    be excellent.)

    To make a page "locked" using in-line Contribute comment/tags, the
    following line must appear between </head> and <body>:
    <!-- #BeginTemplate -->
    and the following tag must appear between </body> and </html>:
    <!-- #EndTemplate -->
    Note that putting those tags elsewhere, like within the <body> does not
    seem to work.

    To mark a region as an editable region, the following tag must appear
    at the start of the region:
    <!-- #BeginEditable "[NameOfSection]" -->
    and the following tag must appear at the bottom of the region:
    <!-- #EndEditable --> (Note that there cannot be any "[NameOfSection]"
    value in this end tag or it will not work.

    Example ASPX Page:

    <%@ Page Language="VB" AutoEventWireup="false" %>
    <html>
    <head runat="server">
    <title>Test Page</title>
    </head>
    <!-- #BeginTemplate -->
    <body>
    <form id="form1" runat="server">
    <div>
    This should not be editable<br />
    <!-- #BeginEditable "Main" -->
    This should be editable!<br />
    <!-- #EndEditable -->
    This should not be editable</div>
    </form>
    </body>
    <!-- #EndTemplate -->
    </html>

    Shadow Lynx 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