robuust / craft-clientonline
ClientOnline RSS Importer for Craft 3
Installs: 91
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:craft-plugin
Requires
- php: ^7.0 || ^8.0
- craftcms/cms: ^3.0
This package is auto-updated.
Last update: 2024-12-04 19:27:25 UTC
README
Plugin that allows you to import ClientOnline RSS feeds.
Requirements
This plugin requires Craft CMS 3.1.0 or later.
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 robuust/craft-clientonline
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Client Online.
Config
Create a file called clientonline.php
in you Craft config folder with the following contents:
<?php return [ // General 'office_id' => 9999, // YOUR OFFICE_ID // Section 'sectionHandle' => 'YOUR_NEWS_SECTION_HANDLE', 'entryTypeHandle' => 'YOUR_NEWS_ENTRY_TYPE_HANDLE', // Fields 'articleIdField' => 'YOUR_NEWS_ARTICLE_ID_FIELD', // PlainText 'imageField' => 'YOUR_NEWS_IMAGE_FIELD', // Asset 'textField' => 'YOUR_NEWS_TEXT_FIELD', // Redactor ];
Usage
Run craft clientonline/import
on the CLI to import the newest items.