Professional Web Applications Themes

Publishing PHP with Contribute - Macromedia Contribute General Discussion

Hello, We want some users to publish php files with Contribute to our sites. We do these steps; - Edit Page with en External Application - Write <?php ?> codes <b>(Source Code : <?php echo "Tek_As";?>)</b> - Save - Publish via Contribute but Contribute removes <?php?> tags and publishes the file like an html file. <b>(Source Code : Tek_As)</b> We set "Protect Scripts and Forms" option unchecked in the "Editing" tab of "Edit Role Settings" but nothing changes. Is there any way to do this?...

  1. #1

    Default Publishing PHP with Contribute

    Hello,

    We want some users to publish php files with Contribute to our sites. We do
    these steps;

    - Edit Page with en External Application
    - Write <?php ?> codes <b>(Source Code : <?php echo "Tek_As";?>)</b>
    - Save
    - Publish via Contribute

    but Contribute removes <?php?> tags and publishes the file like an html file.
    <b>(Source Code : Tek_As)</b>

    We set "Protect Scripts and Forms" option unchecked in the "Editing" tab of
    "Edit Role Settings" but nothing changes.

    Is there any way to do this?

    Tek_As Guest

  2. #2

    Default Re: Publishing PHP with Contribute

    Strange. Do your pages have a ".php" extension?
    mzanime.com Guest

  3. #3

    Default Re: Publishing PHP with Contribute

    Yes mzanime.com the extension is .php

    Do you do something different while publishing .php files? Or the same as .html files?
    Tek_As Guest

  4. #4

    Default Re: Publishing PHP with Contribute

    No, I handle them the same as HTML files as far as I know. It won't render PHP
    includes inside of edit mode though, but other than that I have never had any
    problems editing (The HTML part of) PHP pages.

    Contribute is not supposed to modify scripts of any kind, so why its doing
    this, sounds very unusual.

    mzanime.com Guest

  5. #5

    Default Re: Publishing PHP with Contribute

    Contribute seems to like rewriting php code outside of template directives.

    Specifically with the include tag.
    HdotNET Guest

  6. #6

    Default Publishing PHP with Contribute

    I'm looking for a way to publish PHP using Contribute CS3, but from what I can tell, there is no way.
    Unregistered Guest

Similar Threads

  1. Is Contribute Publishing Server REQUIRED for draftreview & publishingContribute Publishing Server
    By RichardG in forum Macromedia Contribute Connection Administrtion
    Replies: 3
    Last Post: December 12th, 12:10 PM
  2. Is Contribute Publishing Server REQUIRED for draftreview & publishing
    By Dominic Michael in forum Macromedia Contribute General Discussion
    Replies: 0
    Last Post: December 11th, 04:49 AM
  3. Publishing on Contribute
    By equestrianman in forum Macromedia Contribute Connection Administrtion
    Replies: 1
    Last Post: August 10th, 03:13 PM
  4. Do I need Contribute AND Contribute Publishing Server?
    By AnRe in forum Macromedia Contribute General Discussion
    Replies: 2
    Last Post: June 19th, 01:18 PM
  5. Contribute closes when publishing
    By Refix in forum Macromedia Contribute General Discussion
    Replies: 0
    Last Post: June 12th, 10:57 AM

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