Re: [Rest2web-develop] Getting the current page object
Brought to you by:
mjfoord
|
From: martin f k. <ma...@ma...> - 2006-08-05 19:31:28
|
also sprach martin f krafft <ma...@ma...> [2006.08.05.1917 +0100]:
> - how can I get the page object (indextree node) of the page
> currently being rendered? Do I really have to do a recursive
> search through the tree until thispage is true?
Ah, there is 'thispage', which you can use just like 'indextree'.
Sorry, didn't spot that earlier.
> - I saw the target value, which is the URL of any page relative to
> the one currently being rendered. I wonder whether it is
> possible to get the URL of the currently rendered page relative
> to the root as well? So page_url:target:base_url triplets would
> be (for foo/index.txt)
This is still an issue though.
--=20
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
=20
spamtraps: mad...@ma...
=20
"those are my principles, and if you don't like them...
well, I have others."
-- groucho marx
|