Ok.. just so I am clear, I create a snippet directory, insert all my library files and then export using Repligard.
Now after I have this newly created snippet directory with all my library files, how do I include the functionality (class objects and functions) within "Page" and "Page Element" items. From what I can tell from the NemeinNavBar Addon there is an Init file, but where can I call the mgd_include_snippet("NemeinNavBar/Init"); so that the functionality is in the entire website?
there is a "magic" style element called code-global which is called before code-init (which is called before ROOT) which is usually used to load global variables and include librararies that are needed everywhere. there is also element code-compat but it's in theory reserved for making compatibility hacks (something that changed between versions and need to be taken into account), this is called before code-global.
Just add
<?php mgd_include_snippet("/path/to/your/snippet"); ?>
to element "code-global" in the style and you're set.
/Rambo
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
