I am creating a custom module in a warp7 master theme, and I want to get information from K2 that is used as a content management option.
I have created a sidebar and inserted a custom module (the one from helloworld tutorial). Now I want to have access k2 in there to get some specific extra field values to display.
Can you point me to what to do? I've managed to get the K2 Item id so far but I don't know how to get all the other information.
Thank you in advance
EDIT Inside helper.php of the module I am developing, I have this code:
public static function getHello($params) {
$k2params = \K2HelperUtilities::getParams('com_k2');
$mainframe = JFactory::getApplication();
$id = JRequest::getInt('id'); // $id is the K2 item id
return $id;
}