dachcom-digital / pimcore-social-data

Provide social data from different networks like facebook instagram or youtube.
https://www.dachcom.com/de-ch/leistungen/digital-solutions
Other
9 stars 1 forks source link

SET-UP ??? #8

Closed ismetsener closed 2 years ago

ismetsener commented 3 years ago
Q A
Bug report? no
Feature request? no
BC Break report? no
RFC? no

I installed this plugin, bu what to at step SETUP


The Data Class needs to provide some predefined fields and needs to implement the SocialPostInterface. Just import the preconfigured SocialPost Definition to kickstart your data class.


solverat commented 2 years ago

The available Documentation should be enough.

Create a new DataObject called SocialPost and import the definition from https://github.com/dachcom-digital/pimcore-social-data/blob/master/src/SocialDataBundle/Resources/install/class/SocialPost.class.json

ismetsener commented 2 years ago

Hi, where I have to insert this comment $collection->addBundle(new SocialData\Connector\Facebook\SocialDataFacebookConnectorBundle());

in "/opt/pimcore/src/Kernel.php":

    public function registerBundlesToCollection(BundleCollection $collection)
    {
        if (class_exists('\\AppBundle\\AppBundle')) {
            $collection->addBundle(new \AppBundle\AppBundle);

        }

        if (class_exists('\Pimcore\Bundle\LegacyBundle\PimcoreLegacyBundle')) {
            $collection->addBundle(new \Pimcore\Bundle\LegacyBundle\PimcoreLegacyBundle);

        }

    }
solverat commented 2 years ago

Yes, in Kernel.php. Please use the community channels for supporting questions.