Terry,
I usually stick to using text files with libCGI, I never tried a content stack like that. I would suggest you try one of these:
First option: Make agenda a substack of your mainstack, this way it would load anyway.
Second option: try using go invisible stack <filepath>, on your libraryStack handler, load agenda this way, so when you need to performe any command, it will be in memory.
Tell me if you managed that.
Andre
On Aug 19, 2004, at 10:16 AM, Terry Vogelaar wrote:
Hi all,
While LibCGI helped me a lot in building my website, there is one issue I can't resolve yet.
I have a 'content' stack and I want to access information in another stack named 'agenda'. And I can't figure out how.
I tried:
lock messages start using "path/to/agenda.rev" put functionInAgenda() into a
That worked as long as I let functionInAgenda just return plain information. If I want to access a field on a card, it fails.
I even tried:
put url "http://www.de-mare.nl/cgi-bin/form.cgi?stack=agenda&cmd=cmdinagenda" into a
The space where the data should be inserted stayed empty, while the url itself worked OK in a browser.
I also tried to mare agenda a substack of content an do: put value("functionInAgenda()",stack "agenda") into a
Same result. If I specify a card in "agenda" it can't be found. If I check the name of the first card, it gives the name of the first card of stack 'content' instead. If I add 'of stack "agenda"' it solves the problem in the development environment, but the webbrowser gives an infinite load time.
Any suggestions?
Terry
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
-- Andre Alves Garzia 2004 BRAZIL http://studio.soapdog.org
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
