Raised This Month: $ Target: $400
 0% 

if module doesn't exists don't use it


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-29-2009 , 11:37   Re: if module doesn't exists don't use it
Reply With Quote #4

You are wrong, return HANDLED if module checked is csdm, then, in plugin_init, check if module is loaded and set the global var that will tell later to your plugin wheter he should use csdm natives or not.
I suggest you to have a look at plmenu.sma from default package.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode