Professional Web Applications Themes

Can Contribute edit a DW template and allow it topropagate? - Macromedia Contribute General Discussion

I've created a fairly straightforward html/css site in DW CS3 based around a template and have uploaded both the site and template to the client's web server. There's a little set of static text on the template which cross-populates all the html pages. If I edit the template in DW, it updates all the pages that are based on that template. I'm hoping that if I set up the client with Contribute, they can access the template, edit it, and see the changes propagate to all the html pages that are based on that particular template. Is this possible? If ...

  1. #1

    Default Can Contribute edit a DW template and allow it topropagate?

    I've created a fairly straightforward html/css site in DW CS3 based around a
    template and have uploaded both the site and template to the client's web
    server.

    There's a little set of static text on the template which cross-populates all
    the html pages. If I edit the template in DW, it updates all the pages that
    are based on that template. I'm hoping that if I set up the client with
    Contribute, they can access the template, edit it, and see the changes
    propagate to all the html pages that are based on that particular template.

    Is this possible? If not, is there a breathtakingly simple approach I might
    be able to give the client to use?

    Many thanks.

    TrentSC Guest

  2. #2

    Default Re: Can Contribute edit a DW template and allow it topropagate?

    Users of Contribute cannot update templates.
    The 'breathtakingly simple approach' could be to use an SSI (server side
    include) in your template.
    Example php: <?php include("inc.included-file.php"); ?>
    You provide your user with an url to the include file, so he can edit the file
    in Contribute.
    NB: works also great with menu's (make an include file with just an unordered
    list, style it with css, and provide your user with the url to the menu).

    ThinkInk Guest

  3. #3

    Default Re: Can Contribute edit a DW template and allow it topropagate?

    Thanks for the helpful and extremely prompt suggestion.

    For the most part, these are fairly straightforward news story links - a short
    para with a thumbnail image and a headline, linking to the main news page.

    I think I need to go and do some research on SSIs and see if I can get my head
    around them. Are they relatively straightforward?

    Cheers

    TrentSC Guest

  4. #4

    Default Re: Can Contribute edit a DW template and allow it topropagate?

    Do you want more straightforward then this: <?php
    include("inc.included-file.php"); ?> ?
    That's all there is to it.
    Your files need the extension .php, but can contain all the html you want, so
    just renaming your pages from .html to .php is enough. Then you can call the
    indluded files like I suggested: <?php include("inc.included-file.php"); ?>

    ThinkInk Guest

Similar Threads

  1. Edit Template Itself in Contribute
    By jetmaster in forum Macromedia Contribute General Discussion
    Replies: 4
    Last Post: December 10th, 02:44 PM
  2. Edit Doent Template
    By mathetes in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 1
    Last Post: October 10th, 03:31 AM
  3. Edit on Template Column
    By randy in forum ASP.NET Data Grid Control
    Replies: 0
    Last Post: June 28th, 02:49 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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