How to run scripts on Edit/Publish Actions in Contribute

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

  1. #1

    Default How to run scripts on Edit/Publish Actions in Contribute

    I have a situation where my web pages are created dynamically. For example,
    the address might be index.aspx?pageid=3. It would then dynamically create
    page 3 and display to the user. I already use Contribute for the smaller,
    simplier websites that are file based, and like the ease of use for the person
    writing content. I wanted to find a way that if you were in Contribute and
    tried to edit index.aspx?pageid=3 that it would allow me to run some type of
    script where I would render page 3 and create a temporary static page that
    Contribute could edit and redirect Contribute to the temporary file after it
    was created. The user would edit the static page like normal. Then when they
    hit publish I would run a reverse script and parse the static page updating the
    database.

    Has anybody done something like this, and is there any documenation to how
    this could be done?

    Thanks.

    wescomputer Guest

  2. Similar Questions and Discussions

    1. Contribute CS3 embeds the contents off SSI Includes intopage after Edit and Publish
      I have tried every possible way to figure this out but it seems as though no one has this problem or a solution... My Dreamweaver CS3 Template...
    2. Cannot publish, edit oe send drafts
      Hi A user has sent a draft for review, but for some reason, that draft cannot be opened, edited, published blah blah blah. Even if I delete the...
    3. Edit than Publish = no changes
      When I publish a changed page, the resulting page will not have any changes. If I choose edit again, my page will have the changes but still won't...
    4. Scripts Included in Actions
      When I include a script in an action, close and re-start illustrator, the script is missing from the action set. If I save the action set to the...
    5. edit actions
      Is there anyway to edit an existing action without recreating the whole thing over again? Thanks. Michael
  3. #2

    Default Re: How to run scripts on Edit/Publish Actions inContribute

    I would be interested to know what if any progress you were able to make with this.
    thombr Guest

  4. #3

    Default Re: How to run scripts on Edit/Publish Actions inContribute

    Please see [url]http://www.macromedia.com/devnet/contribute/articles/contribute_php.html[/url]

    Author Jesse Rodgers wrote it for PHP. I've translated it to ColdFusion.

    Hope that helps!,
    -Aaron Neff
    tommyviper 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