vertebraeSemantic Content Relationship

built by
page template example

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

  • tree layer nested subjects

    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>');
    }
    ?>
  • tree layer nested subjects

    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,
    )));
    ?>
  • sized cloud subjects

    CloudInline Weighted Categories

    <?php
    echo(theme('cloud',array(
        'mine_children'=>TRUE,
        'show_displays'=>FALSE,
        'show_nid'=>TRUE,
        'break_by_user'=>FALSE,
        'show_sorting'=>FALSE,
    )));
    ?>
  • nonhierarchical subjects with children

    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

    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,
    )));
    ?>
  • interconnection of subjects

    NeuronForce-Directed graph

    <script src="d3v4.js"></svg>
    <script src="organic_connectivity/d3_init.js"></svg>
    <svg id="d3_force" style="height:300px;"></svg>
  • Categories Sunburst on Ouroboros

    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

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,
    ));
    ?>

Social WidgetsService Interconnectivity

  • Twitter Feed

    <?php?>
  • Tumblr Feed

    <?php?>
  • Youtube Feed

    <?php?>
  • Bookmarks Feed

    <?php?>

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.