On 27 Mar, Torben Nehmer wrote:
> Hi.

Greetings!

> Can I do something like this:
> In the Layout I define code-init.
> In a subpage I want do redefine code-init so that it first calls the
> orignial and then add's some improvement like:
> 
> code-init of subpage:
> ...some code
> <(code-init)>
> ...more code

Nope, this would just include the element back to
itself.

What you can do instead is to define another element
with your code, say my-code, and call that from both
the style's and the page's code-init elements:

global code-init:
<(my-code)>

code-init of a subpage:
...some code
<(my-code)>
...more code

> Torben Nehmer

/Bergie

-- 
-- Henri Bergius -- +358 40 525 1334 -- [EMAIL PROTECTED] --
               http://www.iki.fi/Henri.Bergius


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to