Just a question for some clarifications, i've often wondered about this, but
hey! it allways works so I haven't bothered. Here goes:
If I got a page hierarcy like this:
page1
|
|\
|\page2
| page3
I make some code (f.x. a class or function declaration) in code init on
page1, and then I make it inheritable.
Now this code is a part of the subpages as well, UNLESS I make a code-init
element in that subpage as well, right?
Tarjei
> -----Original Message-----
> From: Philipp Rotmann, Linksystem Muenchen
> [mailto:[EMAIL PROTECTED]]
> Sent: 2. juni 2001 15:35
> To: [EMAIL PROTECTED]
> Subject: Re: [midgard-user] snippets
>
>
>
> Hi,
>
> On 02.06.01 (15:20), Vidar Berg wrote:
> > I've included a snippet in code-global, how do I run the
> > snippet in my pages?
>
> If you have included a snippet in a code-global element (with
> mgd_include_snippet) and marked the element as "inherited" then
> the page where the element belongs to and all its descendants
> automatically make use of the snippet, as if it were just
> eval()ed before your page code starts.
>
> phr
> --
> Linksystem Muenchen GmbH [EMAIL PROTECTED]
> Schloerstrasse 10 http://www.link-m.de
> 80634 Muenchen Tel. 089 / 890 518-0
> We make the Net work. Fax 089 / 890 518-77
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]