Download the PHP package homm/hommsocialfeed without Composer
On this page you can find all versions of the php package homm/hommsocialfeed. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package hommsocialfeed
HOMM Social Feed plugin for Craft CMS
HOMM Social Feed Adapter for Juicer
Requirements
This plugin requires Craft CMS 4.x.
For the Craft CMS 3.x plugin version, see 1.x tags.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require homm/hommsocialfeed
- In the Control Panel, go to Settings → Plugins and click the “Install” button for HOMM Social Feed.
HOMM Social Feed Overview
HOMM Social Feed is a Craft adapter for juicer.io to collect all of your social media feeds for easy integration in your application.
Configuring HOMM Social Feed
Go to Settings > HOMM Social Feed to setup the basic configuration options:
- Social Feed API path: The path to your Juicer API (for example: https://www.juicer.io/api/feeds/artdecohotelmontana)
- Number of Posts: The amount of posts to query by default
- Colors: The available colors you can set per feed. These values are only used for the CP section. In the query you retrieve the handles dark, highlight and muted.
Add the following CronJob, to regularly update your social feeds:
Using HOMM Social Feed
Select HOMM Social Feed in the left navigation.
You can set following properties:
- Status: Disable or enable specific posts
- Color: Change or reset the color for specific posts
- Hide image/video: Hide the image or video for specific posts
Basic usage in the template (Twig):
More complex example in the template (Twig):
The craft.socialFeed.all()
function accepts following parameters:
(array) $conditions
: An array ofwhere
-/andWhere
-Conditions (see example above).(?int) $limit
: Overwrite the default limit provided in the settings page.(?array) $orderBy
: Order by one or multiple columns. The default is['homm_socialfeeds.feedDateCreated' => SORT_DESC]
.
HOMM Social Feed Roadmap
Some things to do, and ideas for potential features:
- Add filters in the CP section
- Allow to save social feed images locally
Brought to you by HOMM interactive