Two On-Rev Scripts on One Web Page

Mike Bonner bonnmike at gmail.com
Wed Sep 15 12:11:22 EDT 2010


Can you post a link to your page?

On Wed, Sep 15, 2010 at 10:02 AM, Gregory Lypny
<gregory.lypny at videotron.ca>wrote:

> Hello everyone,
>
> I have an On-Rev script called from an HTML markup item in a web page.  It
> works fine in that the information I want generated is displayed.  I call
> the script like this (thanks for help with the syntax, André):
>
>        <?rev include "../myScript.irev" ?>
>
> The trouble is, if I put the exact same statement in another HTML markup
> item anywhere else on the page, nothing is displayed and other static text
> items on the page are blanked out.  The implication seems to be that more
> than one reference, using Include, to On-Rev scripts cannot exist on the
> same page.  Is that correct or am I doing something wrong (likely)?  If the
> second item does not use an include statement to reference a script but is a
> script itself, then there is no problem.  For example,
>
>        <?rev put the long date && the long time ?>
>
> works fine on the same page with myScript.irev.
>
> Any thoughts?
>
> Regards,
>
> Gregory_______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list