Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
Laiverd.COM #1
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
-
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... -
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... -
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... -
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... -
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:... -
Laiverd.COM #2
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



Reply With Quote

