Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Adding Events to Site
There are 4 different viewTypes that pass events or coupons based on adId or organizationId.
{ viewType: eventsForAd, adId: 360APIAdId, limit: LIMIT} -- limit is optional
{ viewType: couponsForAd, adId: 360APIAdId }
{ viewType: couponsSmallForAd, adId: 360APIAdId }
{ viewType: eventsForOrganization, organizationId: 360DurangoAPIOrganizationId }
{ viewType: adsForOrganization, organizationId: 360DurangoAPIOrganizationId }
{ viewType: couponsForOrganization, organizationId: 360DurangoAPIOrganizationId }
Adding Script to Html based on version. Be sure to match the id of the div with the fullcircle declaration..
<script type="text/javascript">// <![CDATA[ $.noConflict(); // ]]></script>
<script src=""></script>
<link rel="stylesheet" href="" >
<div id="org-event-list"></div>
<p><script> jQuery( function($){$("#org-event-list").fullcircle({viewType: "eventsForAd", adId: 89540});}); </script> </p>
<script type="text/javascript">// <![CDATA[ $.noConflict(); // ]]&gt;</script><br>
<script src=""></script>
<link rel="stylesheet" href="">
<div id="org-event-list"></div>
<p><script> jQuery( function($){$("#org-event-list").fullcircle({viewType: "eventsForOrganization", organizationId: 66});}); </script> </p>
Customizing CSS
.event .event-text-wrapper {
text-align: left;
font-size: 1.2em !important;
.event .event-description {
#org-event-list .event-title, #event-list .event-title {
font-size: 1.8em !important;
line-height:1.6em !important;
Adding default image if no image script hack
<script type="text/javascript">// <![CDATA
setTimeout(function() {
$(".event-image").each(function() {
if ($(this).attr("src") ==""){
$(this).attr("src", '');
}, 2000);
// ]]&gt;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.