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

  1. #1

    Default cf includes

    Can someone please help me on this!?

    Contribute 3.11 claims to protect CF scripts and includes, but users can very
    easily select and delete the CF 'shield icons' representing include scripts in
    my pages. Deleting a shield icon would catastrophically remove navigation from
    the page. Since Contribute claims to protect CF scripts and includes, I
    elected not to use DW Templates and only use include files. Besides, DW
    templates are hard-coded into the page, which is bad news for global changes in
    my very large site.

    Is there a secret method to coding the include path? Right now, I'm trying
    this code, rendering an easily removable "shield icon", which users can click
    and delete in Contribute:

    <div id="tabs"><cfinclude template="/tabs_hr.cfm"</div>



    benhollis Guest

  2. Similar Questions and Discussions

    1. includes
      when ever i use the insert include on a site page dreamweaver 8 display view goes funny and does not display the page correctly making it very...
    2. PHP includes in DW Mx
      I have just built a site and used php includes for the menu, for some reason when I am in design view it totally screws the page up and I am unable...
    3. includes and ASP
      I am writing a mail order site using includes and nested includes for ASP code. I have no idea if this is rendered without error in all browsers....
    4. Includes Ugh...
      Because sometimes people want them to be relative to the calling page. That makes applications more portable to other servers / directory...
    5. XP includes ???????
      ah, ok, thanks
  3. #2

    Default Re: cf includes

    You protect the shield icon being removed by the following settings.
    1) Administer the site.
    2) Edit the role, for the user you want to protect the cf scripts.
    3) Edit Role setting dialog opens, select the Editing option listed in the
    category.
    4) Under General editing restrictions, check the option "Protect scripts and
    forms".
    5) Click OK to the opened dialogs and try the same scenario again.

    Hope this helps you.

    Dominic Michael Guest

  4. #3

    Default Re: cf includes

    Thank you for the reply.

    Unfortunately, I enabled/checked the "protect scripts and forms" option
    without any luck. I even tried version CS3, and some of my includes or "shield
    icons" are deletable, others are not. I found a tech note today from Adobe,
    which talks about dynamic content not being protected.

    I think I may fall into this unfixable category:

    "In some cases, the dynamic content will still be editable even with
    correct protective options set. This is a known issue in Contribute and there
    is no work-around at this time. It does not happen in all cases and Adobe
    Technical Support has been unable to the reproduce this issue."


    [url]http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16651&sliceId=2[/url]

    benhollis Guest

  5. #4

    Default Re: cf includes

    You could also combine templates in Dreamweaver with include files. This way
    you get the benefits of both temlate editable regions (content and design
    seperated) and includes. The includes are placed outside editable regions and
    this way you users won't be able to get to the includes. I realise that maybe
    this is not possible to accomplish this in this case, since the website is
    already there and not using templates, but maybe it's something to consider in
    future projects

    ThinkInk Guest

  6. #5

    Default Re: cf includes

    Thank you for the template/include combination idea. I explored this option
    early on, but I really wanted to avoid templates entirely.

    My "fix" for now is only allowing users to edit text only, which is what 95%
    of the users change anyways (text, links, documents).

    benhollis Guest

  7. #6

    Default Re: cf includes

    Eureka! I upgraded to CS3 and found things to work better. I then found that
    Contribute only protects includes to .htm files. I inlcuded a .cfm file in my
    code, and Contribute made it completely removable. I'm not certain if the
    upgrade to CS3 fixed the include problem, but it difinately solve tons of CSS
    mis-rendering issues that were show stoppers in v3.

    Now I just have to do a global find and replace, rather than going down the
    dark path of DW templates.

    benhollis 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