Preventing the client from destroying the beauty

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

  1. #1

    Default Preventing the client from destroying the beauty

    I am usually a hand coder, not a dreamweaver user, but I do have experience
    with it. I want to build a site that will allow our computer un-savvy clients
    to edit it (including adding images as they wish). Now I realize that I can
    control what size of an image the client can put in (based on security
    settings), but:

    1) is there was for me to make it so they can only put images in certain
    locations (not text)?
    2) is there a way for me to put in placeholder images (say 1 image that is
    320x240 and a second that is 150x600) that the client can change, but that the
    client can only change with the right sized image? Preventing them from putting
    a wide graphic into a narrow slot and messing up the layout (for example).
    3) does anyone have any advice - dos and don'ts for creating a site, making it
    more bulletproof against the client messing it up? I am use to having fully
    control on content edits and while text changes are fairly safe, when the
    client wants to add images I get a shutter down my spine.

    Any help is appreciated.

    Glen@DIRTT Guest

  2. Similar Questions and Discussions

    1. Flash Webcam client <-> client (not client <-> server<-> client)
      Dear Flash Team, supporter and regular mortals (Like myself) I am currently running a IRC chat with mostly webclients connected. We currently offer...
    2. Destroying models...
      Hello, I'm making a game for a class and need some help. What I'm doing is making a 2D side scroller that is technically 3D. I'm doing this...
    3. #24641 [Opn->Fbk]: Displaying Warnning While Destroying Registered Session.
      ID: 24641 Updated by: sniper@php.net Reported By: ashish1_sharma at rediffmail dot com -Status: Open +Status: ...
    4. #24641 [NEW]: Displaying Warnning While Destroying Registered Session.
      From: ashish1_sharma at rediffmail dot com Operating system: Advance Server 2000 PHP version: 4.3.2 PHP Bug Type: Session...
    5. destroying a session
      I know from php.net that when register_globals is turned on, session_start(); session_unset(); session_destroy(); will succeed in unsetting...
  3. #2

    Default Re: Preventing the client from destroying the beauty

    Do's and don'ts
    1) To my knowledge that is not possible with the program as it is right now.
    It is possible to let users edit only text, but not only images (main menu:
    Edit, Administer websites, Users and Roles, Edit Role Settings, Editing)
    2) That's not possible, but maybe you can create a small PHP app. that takes
    care of that.
    3) You can limit the size (width, height, size) of placed images (main menu:
    Edit, Administer websites, Users and Roles, Edit Role Settings, Nerw images).
    4) You can limit the uploaded filesize (main menu: Edit, Administer websites,
    Users and Roles, Edit Role Settings, File placement).
    5) You can give the users 'Writer-roless', that doesn't give them publishing
    rights, so you can see the draft-pages before you publish them.
    Hope this helps.

    ThinkInk Guest

  4. #3

    Default Re: Preventing the client from destroying the beauty

    Issue #1.
    Why not just simply put in the editable regions instructional text.

    Like:
    <!-- TemplateBeginEditable name="HappyImage" -->
    Image goes here
    Max width = 465px
    Min width = 100px
    Max height = 450px
    Min height = 100px
    IF you don't follow these rules do not bug me when it breaks.
    <!-- TemplateEndEditable -->

    If they cannot follow simple rules, or basically if they cannot read, then
    well i think unfortunately you have other problems. Problems you really should
    not be too concerned about.

    Issue #2:
    As far as limiting the area of the editable region this is achievable through
    CSS.

    Just put a div or span around the editable region and make overflow: scroll or
    hidden...then when they cry about the image looking all bogus... u simply tell
    them you did that to enforce the width/height of that image area.

    Template based design only goes so far. If you don't want them to screw it up
    make them use Contribute this by it's very nature limits most screw ups since
    they prob won't be using HTML at all and thus cannot miss a closing div or
    table etc. Also make the end users library items so they can insert them and
    just fill in values. Like you can create a table that is setup to handle
    styles already, so they just insert that table library object into the editable
    region and fill it in. Thus they don't have to do anything at all except fill
    in the blanks.

    In the end tho they can always bypass your protections if they wish-- through
    html snippits or editing in external browser that is not dreamweaver. that is
    not something you can control, and it's something you should just let them know
    if they do it will cost them, either in time (if your salrey, or in money if
    your a contractor).



    Charles_G Guest

  5. #4

    Default Re: Preventing the client from destroying the beauty

    I also hand code. My solution is to use the Contribute option to limit the
    user to style sheets that I define. They cannot create any objects, change
    structure, or use other formatting except what I permit in the styles. If you
    carefully design this way, it keeps their changes consistent with the layout
    and formatting you originally create. On caveat... all styles must be in one
    CSS file. I normally segregate layout styles from format styles in two
    separate CSS files. That won't work with Contribute.

    GGinPA Guest

  6. #5

    Default Re: Preventing the client from destroying the beauty

    Thanks for your contributions. I will look into "library items" to see what they can do, and GGinPA - that sounds like what I was thinking. Lock it down as much as possible so they can't screw it up.
    Glen@DIRTT 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