Code:
JFactory::getApplication()->getMenu()->getActive()
function returns home page id.
It looks like home page is active somehow.
I tried to get Itemid from GET or POST but
parameters are empty after submitting the form and there is no 'Itemid' inside the
array.
Since I can't get the correct Itemid, I assigned 0 in line number 830 not to append the Itemid to redirect URL. At least it doesn't redirect to the home page.
Code:
$Itemid = 0; // $_CB_framework->itemid();
Anyway, thank you for your reply.