Next to enabling to create widgets in the Kalooga Publisher Tool, Kalooga provides services to facilitate the creation of widgets from within a content management system (CMS). With this strategy, a web content editor does not have to leave the CMS and use the Publisher Application, but can place a Kalooga widget on a page or next to an article from within the CMS.
The concept works as follows; the publisher sets up a base widget once in which settings like colors and dimensions are tailored to suit the publisher site template. Then, the 'content edit' screens from the CMS are extended to provide an integration link, opening a content selection pop-up window. The integration link points to a web page in the publisher tool and contains identifiers that link the content being selected uniquely to the article being edited. When a page on the site is generated, the same identifiers can be used to retrieve the widget to show. To accomplish this, the site template needs to be extended. These identifiers are based on the publisher id and a content id that uniquely identifies an article, blog post or page for a publisher.
This strategy requires a small CMS extension. Additional documentation and a sample Wordpress plugin facilitate this job for CMS Developers.
The HTML code typically that needs to be put in a site template typically looks like:
<script src="http://publishing.kalooga.com/overloadWidget
?publisherId=123456&overloadId=${content_id}"/>
Here, ${content_id} refers to aforementioned content id.