[Resolved] How to get module id?
Posted: Tue Jul 29, 2008 11:36 am
I have built two modules, I need to be able to put a form on module A that submits to module B. In module A, I tried this:
but when I submit the form in module A it doesn't send it to module B as expected.
is that the right way to get the module number?
Code: Select all
$members = $this->GetModuleInstance('Members');
$mid = $members->cms->variables['modulenum'];
$smarty->assign('formStart2', $this->CreateFormStart($mid, 'login', $returnid,'post','',true,'',array(),'class="LoginForm"'));
...
is that the right way to get the module number?