In my module i get the articles via this way:
$model = JModelLegacy::getInstance('Articles', 'ContentModel', array('ignore_request' => true)); $model->setState('params', JFactory::getApplication()->getParams()); $model->setState('filter.category_id', 22);
This gets all the articles from a specific category. But now I have the issue that the Fields from the com_fields component are not retrieved via this method. I probably have to do that myself. Does anyone know how to add the fields?