Re: Need help with modules

Scott Kindley <ckindley-/Nmu/[email protected]> 17 Nov 2002 21:09:44 -0500
Newsgroups gmane.comp.web.encompass.user
Message-ID <[email protected]>
On Sun, 2002-11-17 at 16:56, Stretchr wrote:
> I need to have 7 separate modules exactly like Sections, but each having a
> different name.
> 
> My first attempt was to find/replace every instance of Sections in the
> Sections module, but although the module initializes and activates, when I
> try to get into it, I get an error:
> 
> Fatal error: Call to a member function on a non-object in
> /home/web/www/members/modules/air/index.php on line 84
> 
> Obviously, this module I named Air. I've been through the Envolution docs
> and now I could use some help. If someone could at least point me in the
> right direction to solving this, I would appreciate it.
> 
> Thanks,
> Stretchr
> 
While I've not personally tried to run multiple instances of the
Sections module you should be able to do it.

However, remember that Sections has database tables called envo_seccont
and envo_sections...so you'll have to create new tables for each
instance of Sections you run and make sure that each "duplicate" module
accesses the correct tables.

Zoom