Contribute 3 replacing cfincludes with the include'scontents

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

  1. #1

    Default Contribute 3 replacing cfincludes with the include'scontents

    I am creating a new page in Contribute 3, based on a Dreamweaver MX 2004
    template. When I publish this page and view the source code (in Dreamweaver or
    Homesite) Contribute has replaced my <cfinclude> tags with the actual contents
    of the include files. I have defined editable regions of the page and the
    include tags exist in the non-editable regions. Furthermore, all the dynamic CF
    code that existed within the include file has been stripped out.

    However, if I create a new page in Contribute 3 based on an exisiting page, or
    a page I've designated as a template in Contribute 3, the <cfinclude> tags are
    preserved.

    Does anyone know how I can use Dreamweaver templates without my include tags
    being replaced with their contents?

    glemon@ecentricarts.com Guest

  2. Similar Questions and Discussions

    1. problem with role settings and cfincludes
      Currently, I have created dreamweaver templates with cf includes. The pages seem to work correctly and are editable when the user role is set so the...
    2. Contribute Creates a Draft instead of Replacing Document
      This email came from a client who's purchased two Contribute site licenses, and is having the following problem: "Every time I go to update our...
    3. Help with Font size and cfincludes
      Can anyone help... I am collaborating on a site that uses includes. (i am not the include person, rather the designer). is the code below the reason...
    4. Matching/replacing
      LoneWolf wrote: What exactly is it you need help with? The only potential problem that I see is that the while loop needs a closing '}' bracket....
    5. replacing everything between 2 strings
      Is there a way to replace everything between 2 given strings if it exists? Say I have: $str = "replace anything and everything in here."; Now...
  3. #2

    Default Re: Contribute 3 replacing cfincludes with the include's contents

    If I understand your question, I don't think you understand how
    includes are supposed to work. If you publish a page built with
    includes, and then view the source from a browser and open it in any
    editor, you are supposed to see the content, not the tags.

    Since you can indeed create a new page based on this template, I'm not
    seeing what the problem is. But maybe I don't understand your
    question...

    Christine

    cmitchell 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