
FunctionalitiesPage Elements
oConnectivity comes with these theme-able outputs of HTML, SVG, RSS, & JSON.
Add these PHP snippets to your theme templates to add oConnectivity displays to your site.
Subject ViewersSitemaps
-
NestingsTree layers
<?php if($page&&arg(0)=='node'&&isset($node)){ echo('<div id="nestings_full">'); echo(theme('context_layer',array( 'context'=>$node->nid, 'image_style'=>'medium', 'mine_children'=>TRUE, ))); echo('</div>'); } ?>
-
SetlistJust a different css/js than Nestings
<?php echo(theme('context_layer',array( 'context'=>variable_get('organic_connectivity_context_prototype',''), 'image_style'=>'thumbnail', 'mine_children'=>TRUE, ))); ?>
-
CloudInline Weighted Categories
<?php echo(theme('cloud',array( 'mine_children'=>TRUE, 'show_displays'=>FALSE, 'show_nid'=>TRUE, 'break_by_user'=>FALSE, 'show_sorting'=>FALSE, ))); ?>
-
BoardsNon-hierarchical subjects overview
To obtain a straight list of subjects with 3 children shown for each, you may use the item viewer like this
<?php echo(theme('items',array( 'by_type'=>$GLOBALS['SUBJECT_TYPE_NID'], 'show_contexts'=>2,//0=no,1=yes,2=only 'show_random_child'=>3, 'perpage'=>150, 'show_children'=>TRUE, 'show_multi_image'=>FALSE, 'show_date'=>FALSE, 'show_outer_contexts'=>FALSE, 'ordering'=>'random', ))); ?>
-
Tree of LifeQabalistic Attribute Map
<?php echo(theme('tree_of_life',array( 'sephiroth_prototype'=>variable_get('organic_connectivity_sephiroth_prototype',''), 'path_prototype'=>variable_get('organic_connectivity_path_prototype',''), 'image_style'=>'thumbnail', 'show_displays'=>TRUE, ))); ?>
-
NeuronForce-Directed graph
<script src="d3v4.js"></svg>
<script src="organic_connectivity/d3_init.js"></svg>
<svg id="d3_force" style="height:300px;"></svg>
-
SunburstExpandable Pie graph
<script src="d3v4.js"></svg>
<script src="organic_connectivity/d3_init.js"></svg>
<svg id="d3_sunburst" style="height:250px;"></svg>
Item Viewersgallery&journal
-
BlocksTeaser view of content nodes as a stream of blocks
<?php echo(theme('items',array('viewer'=>'blocks',))); ?>
-
CinemaRotating Slideshow style content node stream presentation
<?php echo(theme('items',array('viewer'=>'cinema',))); ?>
-
TableNodes as tabular row data
<?php echo(theme('items',array('viewer'=>'table',))); ?>
-
CalendarDated display of content nodes
<?php?>
-
Calendar/[YEAR]Dated display of content nodes
<?php?>
-
Calendar/[YEAR]/[MONTH]Dated display of content nodes
<?php?>
-
RSS SyndicationFeed
<?php?>
-
Single ItemNode
<?php?>
Sorting OptionsAffect Viewers (above)
Datecreated timestamp sort field
<?php theme('items',array( 'ordering'=>'created', 'perpage'=>9, 'show_pagination'=>FALSE, 'show_sorting'=>FALSE, 'image_size'=>'thumbnail', 'show_multi_image'=>FALSE, )); ?>
Featured(by Weight, Descending)
<?php theme('items',array( 'ordering'=>'weight', 'perpage'=>9, 'show_pagination'=>FALSE, 'show_sorting'=>FALSE, 'image_size'=>'thumbnail', 'show_multi_image'=>FALSE, )); ?>
Random(mySQL-based randomization)
<?php theme('items',array( 'ordering'=>'random', 'perpage'=>9, 'show_pagination'=>FALSE, 'show_sorting'=>FALSE, 'image_size'=>'thumbnail', 'show_multi_image'=>FALSE, )); ?>
ExtendMore Viewers
The addition of OrganicGallery, OrganicCalendar and Javascript Infovis Toolkit (which are now packaged with oConnectivity) can provide numerous, beautiful and informative displays of your contextualized and attributed data to your sites.
MobileiOS App
Soon.
Social WidgetsService Interconnectivity
Twitter Feed
Tumblr Feed
Youtube Feed
Bookmarks Feed