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

  1. #1

    Default Bug or feature ?

    Within a website I'm working on I include price tables through a php
    include() statement. Each of these tables itself is derived from a template.
    So in each page based on a template, I'm including a price table which is
    also based on a template.

    As these tables are included through php I did not expect them to show up in
    edit mode in Contribute (CS3), but as it is, they do show up. All very nice
    and dandy of course; only thing is I get slapped with dozens of javascript
    errors when trying to change data in these tables.

    First question:
    Is this a bug or a feature; and if a feature, how come the php include
    statement is obviously rendered in edit mode, while other php statements
    aren't (which I would expect).

    Second question:
    How to overcome these highly irritating multiple javascript errors as soon
    as I'm trying to edit these tables. I was expecting that I would have to
    send the editor to a special folder containing all the pricetables. I still
    can of course, but these tables show up in the page they belong so the
    editor will definitely be tempted to edit them there; with all resulting
    javascript errors.

    Tnx for any input,
    John


    Laiverd.COM Guest

  2. Similar Questions and Discussions

    1. Feature or Bug
      I have noticed while reading these newsgroups for information that when I click on a supplied link in a post, that IE 7 will open but the web page...
    2. Log-in feature
      Okay, I have run into a little problem in creating an asp site. Many thanks to anyone who has any ideas. This is a rather complicated site--let me...
    3. the 3d feature
      other than not having to launch classic and use another app (dimensions) whats the point of the 3d feature in cs? the 3d feature is slo and maybe...
    4. feature or bug?
      Forwarding to Aspnet and Aspnet.Security. They may have run across this question before. Shel -- This posting is provided "AS IS" with no...
    5. Bug or feature in SQL SP
      Hi all. In db2diag.log I found next record 2003-07-03-13.21.46.812000 Instance:DB2 Node:000 PID:2096(db2dari.exe) TID:3144 Appid:...
  3. #2

    Default Re: Bug or feature ?

    To answer my own question partially:

    Including php files like

    <?php include_once("file.php"); ?>

    Would cause errors while in edit mode in Contribute.

    The solution:

    <?php
    //
    include_once("file.php");
    ?>

    So far: "Keep it simple stupid"

    John

    "Laiverd.COM" <share_your_knowledge@someserver.nl> wrote in message
    news:f397t1$2vv$1@forums.macromedia.com...
    > Within a website I'm working on I include price tables through a php
    > include() statement. Each of these tables itself is derived from a
    > template. So in each page based on a template, I'm including a price table
    > which is also based on a template.
    >
    > As these tables are included through php I did not expect them to show up
    > in edit mode in Contribute (CS3), but as it is, they do show up. All very
    > nice and dandy of course; only thing is I get slapped with dozens of
    > javascript errors when trying to change data in these tables.
    >
    > First question:
    > Is this a bug or a feature; and if a feature, how come the php include
    > statement is obviously rendered in edit mode, while other php statements
    > aren't (which I would expect).
    >
    > Second question:
    > How to overcome these highly irritating multiple javascript errors as soon
    > as I'm trying to edit these tables. I was expecting that I would have to
    > send the editor to a special folder containing all the pricetables. I
    > still can of course, but these tables show up in the page they belong so
    > the editor will definitely be tempted to edit them there; with all
    > resulting javascript errors.
    >
    > Tnx for any input,
    > John
    >
    >

    Laiverd.COM 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