Page 1 of 1

accessing FrontEndUsers smarty-functions from another module [solved]

Posted: Thu Feb 18, 2010 12:50 pm
by toillbaill
Hi!

I'm trying to access FrontEndUsers' smarty-function {$feu_smarty->get_users_by_groupname($groupname,$assign)} from another module with php (trying to make a dropdown input to choose which FEUser is resonsible for something.)

I have figured out i can get to the normal functions in the module, like this:

Code: Select all

var_dump($gCms->modules['FrontEndUsers']['object']->GetFullUsersInGroup(1));
but i haven't been able to get down to the smarty-functions provided in the modules helpfile. And i have a feeling it is something very easy I'm missing ???

Re: accessing FrontEndUsers smarty-functions from another module

Posted: Thu Feb 18, 2010 11:25 pm
by toillbaill
ah, nevermind, i copied the contents of the smartyfunction into my code instead.