Skip to content

Articles are not imported properly #28

@obuisard

Description

@obuisard

The workflow tables must be filled up or else articles won't show.

From conversation on Mattermost:

image

Information needs to be added to the asset table as well.

Use the Content model to properly insert data into those tables.

$factory = Factory::getApplication()->bootComponent('com_content')->getMVCFactory();
$content_model = $factory->createModel('Article', 'Administrator', ['ignore_request' => true]);

And save through the model

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions