Is it possible to change the revlet embed html?
J. Landman Gay
jacque at hyperactivesw.com
Sat Dec 5 16:53:23 EST 2009
>> So, a step further, how to make two _independent_ revlets communicate?
> I tried with two stacks -- the first trying to write some data to a text
> file, and the second to read the text file
> it was impossible to show two revlets on the same page ;-<
> even with two different (or identical) instanceIDs
I can't test it right now, but did you also try changing the source
parameter? They will be different if you are using two independent
stacks. That might work. The instanceID must be the same for both.
> moreover, it seems that a revlet cannot write a text file onto the
They can, but you need to make sure the text file you are writing to has
correct permissions on the server.
> I tried first assuming that the standard was that the file is written by
> default in the directory (as for .html files)
> I tried next with the Rev default (to fix "the directory" to the folder
> where the revlet resides): no luck
Revlet file paths are local to the user's hard drive and act like
desktop standalones. Their default directory is not on the server, it is
the folder where the plugin is installed on the user's drive. To write
to a server, you need to use the same techniques that you'd use for a
remote desktop application.
> in the end I tried to replicate the example given by Jacque, with a
> simple stack with a substack: I cannot see the two instances, i.e. I see
> only the mainstack!
> I ensured myself I did operate in exactly the same way: no luck!
Also make sure the source parameter is the name of your mainstack in
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode