Publishing PHP with Contribute

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

  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. Similar Questions and Discussions

    1. Is Contribute Publishing Server REQUIRED for draftreview & publishingContribute Publishing Server
      I want to set up a very basic workflow with one or more writers and a publisher who does final review and then publishes the pages. Is Contribute...
    2. Is Contribute Publishing Server REQUIRED for draftreview & publishing
      Please have look on the below mentioned link to have an idea of CPS and few advantages of it...
    3. Publishing on Contribute
      after editing a page on contribute, when i try to publish i get an error message coming up,stating 'Contribute could not connect because server is...
    4. Do I need Contribute AND Contribute Publishing Server?
      Do I need to have Contribute Publishing Server installed on the web server on order to update web pages with Contribute? - Andrea
    5. Delayed publishing with contribute
      My corporation is thinking of going to contribute but our marketing team is looking for the ability to make delayed publishing and removal of pages...
  3. #2

    Default Re: Publishing PHP with Contribute

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

  4. #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

  5. #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

  6. #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

  7. #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

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