Two On-Rev Scripts on One Web Page

Gregory Lypny gregory.lypny at videotron.ca
Wed Sep 15 12:02:50 EDT 2010


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


More information about the use-livecode mailing list