I have a form created with RSForm Pro and I am loading this form in some K2 items with the RSForm Content Plugin.
I want to get the title of k2 item that form submitted from it. in k2 item view I solve this problem with this code.
$K2Itemid = JRequest::getInt('id');$db = JFactory::getDBO();$db->setQuery("SELECT title FROM #__k2_items WHERE id = ".$K2Itemid );$K2Catid = $db->loadResult(); return $K2Catid;
but what is solution in category blog view of k2 items?