Server Side Include with Contribute 3

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

  1. #1

    Default Server Side Include with Contribute 3

    An earlier thread about Server Side Include said to use <!-- #include
    virtual=... in place of <!-- #include file=...

    But I am confused if the include file neds to have a .dwt. And, if so, since
    it is an incomplete page (no HTML tags), what is the exact set up to make it
    work?

    If no .dwt is needed for the include file, then should the <!--
    InstanceBeginEditable name=... tags be around the reference to the include on
    the HTML page or in the include file? I have tried it both ways and have had no
    luck. I have used the virtual reference and still can't get the region to be
    editable.

    Can someone tell me the proper form for this?

    Thanks. Exhausted from trying many variables!
    - Janet

    janetzag Guest

  2. Similar Questions and Discussions

    1. Server-side include
      I try to access a file in other directory using server-side include from dreamweaver toolbox, and always give me this error: Warning:...
    2. Any way to include an HTML form with server-side controls?
      Hi all, I have a page with a mutli view control where one of the views needs to contain a separate HTML get form with a submit button that goes...
    3. Alternative to Server Side Include?
      Is there any alternative way to put one file on a server and have it update itself to everypage like SSI does? I am looking for a modern way? Is...
    4. Server Side Include Inside Template?
      Hi Johnny sort of. The include pulls in an htm file that has a table of rollover buttons in it. When I do a DW preview (F12), the code is...
    5. Server Side Include
      dw preferences-->Invisible Items the listing on bottom- render included files in design view. -- Team Macromedia Volunteer for Dreamweaver...
  3. #2

    Default Re: Server Side Include with Contribute 3

    Answering my own question.
    I researched this complete forum and with taking ideas from different posts, I
    was able to figure this out. I thought I would post it for anyone else needing
    to know the answer in one place:

    Include tags must read:
    <!--#include virtual="includes/fileName.html"-->
    (Include file is NOT a real HTML doc -- no tags in file except for CSS, as it
    would be used if not using Contribute.)

    No reference to .dwt needed nor Template created.
    No Edit instance tags needed anywhere.

    Contribute user navigates to page:
    [Upper right corner] Click Choose...
    [In my structure] User opens includes folder (double clicks)
    User selects THE file (clicks OK)
    User clicks on Edit Page button

    (Text is now editable.)
    User edits text.
    User clicks on Publish button.

    Worked for me several times trying.

    - Janet

    janetzag Guest

  4. #3

    Default Re: Server Side Include with Contribute 3

    Hi,

    Maybe it's a tread I posted long time ago:


    [url]http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=55&catid=29[/url]
    0&threadid=1054726&arctab=arc&highlight_key=y

    Search for message from richsky in Archived treads.

    hope that helps

    richsky 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