[Solved] ForumMadeSimple instance

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
s7orm
New Member
New Member
Posts: 8
Joined: Tue Mar 18, 2008 11:09 am

[Solved] ForumMadeSimple instance

Post by s7orm »

How to get an instance of the ForumMadeSimple object and is this object a singleton?

Thanks in advance.
Last edited by s7orm on Fri Apr 18, 2008 10:35 am, edited 1 time in total.
s7orm
New Member
New Member
Posts: 8
Joined: Tue Mar 18, 2008 11:09 am

Re: ForumMadeSimple instance

Post by s7orm »

Okay, I could generalize my question a bit - how to get an instance of any module?
I saw few examples and in some of them, there is a method in CMSModule - GetSearch() (or similar) to get an instance of the search module, so I suppose, that there are few build-in functions... For other modules people use a method GetModuleInstance() (or something like this, I dont remember the name correctly), however when applied like GetModuleInstance('Forum') I receive an error message...
Can I somehow get an instance from the Forum or some random (e.g. my own) module?

Thanks in advance.
alby

Re: ForumMadeSimple instance

Post by alby »

s7orm wrote: Okay, I could generalize my question a bit - how to get an instance of any module?
Look here

Alby
Post Reply

Return to “Modules/Add-Ons”