I'm new to phpnuke but I want to create a block where I will use the is_active function whether to know which module is active and so to change the content of this block.
But unfortunately I can't use is_active in my new block because the PHP Compiler can't find the function.
So I thought I would just include the file which has this function but then it can't find sql_db on line 94 in file db.php
And now I don't know what to do... I just want to use is_active in my block-newblock.php file to get the content changed when a specific module is active.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum