pp wrote: > Let's say I got snippetdir with id=90, > I log to nadmin, create sub snippetdir , > and everything is almost ok. > I can see and edit it. > Next I make "mgd_include_snippet(path to that snippet) > mgd_errstr() says "Object doesn't exist" > > Strange? > That sub snippet is created with up=0, > but it can be edit with nadmin, as sub snippet > of proper snippet.
I don't know how exactly NAdmin manages snippet(dir)s, but the up field of a snippet should never be 0. It must belong to a snippetdir. AFAIK it isn't even possible to create a snippet with up=0; the create_snippet function explicitly tests for the existence of the snippetdir, which is a required parameter. Emile --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
