Edit

Error message

  • Notice: Undefined variable: monthCounts in include() (line 12 of /homepages/21/d93015512/htdocs/library/organic_connectivity/date_overview.tpl.php).
  • Notice: Trying to access array offset on value of type null in include() (line 12 of /homepages/21/d93015512/htdocs/library/organic_connectivity/date_overview.tpl.php).
  • Notice: Undefined variable: monthCounts in include() (line 14 of /homepages/21/d93015512/htdocs/library/organic_connectivity/date_overview.tpl.php).
  • Warning: array_reverse() expects parameter 1 to be array, null given in include() (line 14 of /homepages/21/d93015512/htdocs/library/organic_connectivity/date_overview.tpl.php).
  • Warning: Invalid argument supplied for foreach() in include() (line 21 of /homepages/21/d93015512/htdocs/library/organic_connectivity/date_overview.tpl.php).

Items

Items

110

Per Page

/ 11

:attr.subject

Nodes Posts Things

Blocks

items_blocks.tpl.php

Nodes

items_nodes.tpl.php

  • Find which file a function is defined in

    Subtitle: 
    Context: 
    Connection: 
    Attribute Type: 
    Types
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Installation URL: 
    Notes: 
    <?php
    
    $reflFunc=new ReflectionFunction('name_of_function');
    
    echo($reflFunc->getFileName().':'.$reflFunc->getStartLine());
    
    ?>
  • Custom Post Types

    Context: 
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Attribute Type: 
    Types

    Adds custom post type called "Reviews"

    <?php
    function create_post_type(){
      register_post_type('review',
        array(
          'labels'=>array(
            'name'=>__('Reviews'),
            'singular_name'=>__('Review')
          ),
          'public'=>true,
          'has_archive'=>true,
          'capabilities'=>array(
              'edit_post'=>'edit_review',
              'edit_posts'=>'edit_reviews',
              'publish_posts'=>'publish_review',
              'read_post'=>'read_review',
          ),
        )
      );
    }
    add_action('init','create_post_type');
    ?>

    Add abilities to "Reviews" post type

    <?php
    function add_theme_caps(){
        $subscribers=get_role('subscriber');
        $subscribers->add_cap('edit_review');
        $subscribers->add_cap('edit_reviews');
        $subscribers->add_cap('publish_review');
        $subscribers->add_cap('read_review');
        $admins=get_role('administrator');
        $admins->add_cap('edit_review');
        $admins->add_cap('edit_reviews');
        $admins->add_cap('publish_review');
        $admins->add_cap('read_review');
    }
    add_action('admin_init','add_theme_caps');
    ?>

    Add custom fields to "Reviews" post type

    <?php
    add_action('admin_init','add_review_metas');
    function add_review_metas(){
      add_meta_box('review_rating-meta','Rating','review_rating','review','normal','low');
    }
    function review_rating(){
      global $post;
      $custom=get_post_custom($post->ID);
      $review_rating=$custom['review_rating'][0];
        for($x=1;$x<6;$x++){
            echo('<input');
            if($x==$review_rating) echo(' checked="checked"');
            echo(' type="radio" name="review_rating" id="review_rating_'.$x.'" value="'.$x.'"/><label for="review_rating_'.$x.'">'.$x.'</label>'."\n");
    
        }
    }
    add_action('save_post','save_details');
    function save_details(){
      global $post;
      update_post_meta($post->ID,'review_rating',$_POST["review_rating"]);
    }
    ?>
  • In the Weeds

    Subtitle: 
    Restaurant Management Tool
    Context: 
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Attribute Type: 
    Types
    Installation URL: 
    http://stage.orgnsm.org/in-the-weeds
    Images: 
  • Post referencing setup

    Subtitle: 
    Assign multiple disciplines to a project
    Context: 
    Connection: 
    Attribute Type: 
    Types
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    <?php
    
    
    // Adds custom post type for Projects and Services
    
    function create_post_type(){
    
      register_post_type('project',
        array(
          'labels' => array(
            'name' => __('Projects'),
            'singular_name' => __('Project')
          ),
          'taxonomies' => array('category'),
          'public' => true,
          'has_archive' => true,
          'capabilities' => array(
              'edit_post' => 'edit_project',
              'edit_posts' => 'edit_projects',
              'publish_posts' => 'publish_project',
              'read_post' => 'read_project',
          ),
          'supports' => array(
              'title','editor','thumbnail'
          ),
        )
      );
    
      register_post_type('service',
        array(
          'labels' => array(
            'name' => __('Services'),
            'singular_name' => __('Service')
          ),
          'public' => true,
          'has_archive' => true,
          'capabilities' => array(
              'edit_post' => 'edit_service',
              'edit_posts' => 'edit_services',
              'publish_posts' => 'publish_service',
              'read_post' => 'read_service',
          ),
          'supports' => array(
              'title','editor','thumbnail'
          ),
        )
      );
    
    }
    
    add_action('init','create_post_type');
    
    
    
    
    
    function add_theme_caps(){
    
        $subscribers = get_role( 'subscriber' );
    
        //$subscribers->add_cap( 'edit_project' );
        //$subscribers->add_cap( 'edit_projects' );
        //$subscribers->add_cap( 'publish_project' );
    
        $subscribers->add_cap( 'read_project' );
        $subscribers->add_cap( 'read_service' );
    
        $admins = get_role( 'administrator' );
    
        $admins->add_cap( 'edit_project' );
        $admins->add_cap( 'edit_projects' );
        $admins->add_cap( 'publish_project' );
        $admins->add_cap( 'read_project' );
    
        $admins->add_cap( 'edit_service' );
        $admins->add_cap( 'edit_services' );
        $admins->add_cap( 'publish_service' );
        $admins->add_cap( 'read_service' );
    
    }
    
    add_action('init','add_theme_caps');
    
    
    
    
    
    // Adds custom field to the PROJECT custom post type
    
    function add_project_metas(){
        add_meta_box(
            'project_service-meta',
            'Service',
            'project_service',
            'project',
            'normal',
            'low'
        );
    }
    add_action('admin_init','add_project_metas');
    
    
    function project_service(){
        global $post;
        $custom=get_post_custom($post->ID);
        $project_services=$custom['project_service'][0];
        $project_services=unserialize($project_services);
        $args=array(
            'post_type'=>'service',
            'posts_per_page'=>'200',
            'orderby'=>'title',
            'order'=>'ASC'
        );
        $loop=new WP_Query($args);
        while($loop->have_posts()):$loop->the_post();
            echo('<div><input type="checkbox" name="project_services[]" value="'.get_the_ID().'" id="project_service_'.get_the_ID().'"');
            if(is_array($project_services)&&in_array(get_the_ID(),$project_services)) echo(' checked="checked"');
            //checked($project_services,get_the_ID());
            echo('><label for="project_service_'.get_the_ID().'">'.get_the_title(get_the_ID()).'</label></div>');
        endwhile;
    }
    
    
    
    function save_details(){
        global $post;
        update_post_meta($post->ID,'project_service',$_POST["project_services"]);
    }
    
    add_action('save_post','save_details');
    
    
    
    
    ?>
  • Covidien Portal

    Subtitle: 
    A resource and tool for physicians
    Context: 
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Attribute Type: 
    Types
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Installation URL: 
    http://covidien.orgnsm.org
    Images: 
  • Foster Care Training

    Subtitle: 
    Education Service Promotion
    Context: 
    Connection: 
    Attribute Type: 
    Types
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Installation URL: 
    http://fostercaretraining.org
    Images: 
  • AG &amp; Associates

    Subtitle: 
    Construction Portfolio &amp; Promotion
    Context: 
    Connection: 
    Attribute Type: 
    Types
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Installation URL: 
    http://agassociatesinc.com
    Images: 
  • Calvin Associates

    Subtitle: 
    Lawyer Firm Promotional
    Context: 
    Connection: 
    Attribute Type: 
    Types
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Installation URL: 
    http://calvin-associates.com
    Images: 
  • Ferber Law

    Subtitle: 
    Lawyer Firm Promotional
    Context: 
    Connection: 
    Attribute Type: 
    Types
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Installation URL: 
    http://danvillelaw.com
    Images: 

Table

items_table.tpl.php

ID Images/Body Types Title Subjects Attributes Edit
138 HostingLawyer Firm Promotional
EDIT
135 <?php $reflFunc=new ReflectionFunction('name_of_function'); echo($reflFunc->getFileName().':'.$reflFunc->getStartLine()); ?> Find which file a function is defined inLawyer Firm Promotional
EDIT
134 Adds custom post type called "Reviews" <?php function create_post_type(){ register_post_type('review', array( 'labels'=>array( 'name'=>__('Reviews'), 'singular_name'=>__('Review') ), 'public'=>true, 'has_archive'=>true, 'capabilities'=>array( 'edit_post'=>'edit_review', 'edit_posts'=>'edit_reviews', 'publish_posts'=>'publish_review', 'read_post'=>'read_review', ), ) ); } add_action('init','creat Custom Post TypesLawyer Firm Promotional
EDIT
71 In the WeedsLawyer Firm Promotional
EDIT
132 <?php // Adds custom post type for Projects and Services function create_post_type(){ register_post_type('project', array( 'labels' => array( 'name' => __('Projects'), 'singular_name' => __('Project') ), 'taxonomies' => array('category'), 'public' => true, 'has_archive' => true, 'capabilities' => array( 'edit_post' => 'edit_project', 'edit_posts' => 'edit_projects', 'publish_posts' => 'publish_project', Post referencing setupLawyer Firm Promotional
EDIT
36 Covidien PortalLawyer Firm Promotional
EDIT
131 Foster Care TrainingLawyer Firm Promotional
EDIT
130 AG & AssociatesLawyer Firm Promotional
EDIT
129 Calvin AssociatesLawyer Firm Promotional
EDIT
128 Ferber LawLawyer Firm Promotional
EDIT

Rotator

items_cinema.tpl.php

Calendar

date_overview.tpl.php

Start date

  • After Christ (Era Vulgaris)
  • New Aeon
Total Items

Global

items_map.tpl.php

RSS

items_syndicate.tpl.php




    

        Organic Interfaces

        http://interfaces.orgnsm.org/syndicate

        Recent Web Design & Info Code

        en

        Mon, 17 Jul 2017 11:54:30 -1000

        


 Hosting
 http://interfaces.orgnsm.org/node/138
 
  ]]>
 138
 Mon, 17 Jul 2017 11:54:30 -1000
 http://interfaces.orgnsm.org/sites/interfaces.orgnsm.org/files/styles/large-landscape-or-portrait/public/webhosting.png?itok=P_Wuceo8



 Find which file a function is defined in
 http://interfaces.orgnsm.org/node/135
 <?php

$reflFunc=new ReflectionFunction('name_of_function');

echo($reflFunc->getFileName().':'.$reflFunc->getStartLine());

?>
]]> 135 Mon, 26 Dec 2016 10:42:09 -1000 Custom Post Types http://interfaces.orgnsm.org/node/134 Adds custom post type called "Reviews"
<?php
function create_post_type(){
  register_post_type('review',
    array(
      'labels'=>array(
        'name'=>__('Reviews'),
        'singular_name'=>__('Review')
      ),
      'public'=>true,
      'has_archive'=>true,
      'capabilities'=>array(
          'edit_post'=>'edit_review',
          'edit_posts'=>'edit_reviews',
          'publish_posts'=>'publish_review',
          'read_post'=>'read_review',
      ),
    )
  );
}
add_action('init','create_post_type');
?>

Add abilities to "Reviews" post type

<?php
function add_theme_caps(){
    $subscribers=get_role('subscriber');
    $subscribers->add_cap('edit_review');
    $subscribers->add_cap('edit_reviews');
    $subscribers->add_cap('publish_review');
    $subscribers->add_cap('read_review');
    $admins=get_role('administrator');
    $admins->add_cap('edit_review');
    $admins->add_cap('edit_reviews');
    $admins->add_cap('publish_review');
    $admins->add_cap('read_review');
}
add_action('admin_init','add_theme_caps');
?>

Add custom fields to "Reviews" post type

<?php
add_action('admin_init','add_review_metas');
function add_review_metas(){
  add_meta_box('review_rating-meta','Rating','review_rating','review','normal','low');
}
function review_rating(){
  global $post;
  $custom=get_post_custom($post->ID);
  $review_rating=$custom['review_rating'][0];
    for($x=1;$x<6;$x++){
        echo('<input');
        if($x==$review_rating) echo(' checked="checked"');
        echo(' type="radio" name="review_rating" id="review_rating_'.$x.'" value="'.$x.'"/><label for="review_rating_'.$x.'">'.$x.'</label>'."\n");

    }
}
add_action('save_post','save_details');
function save_details(){
  global $post;
  update_post_meta($post->ID,'review_rating',$_POST["review_rating"]);
}
?>
]]>
134 Sun, 25 Dec 2016 13:03:50 -1000
In the Weeds http://interfaces.orgnsm.org/node/71 ]]> 71 Tue, 06 Dec 2016 17:03:10 -1000 http://interfaces.orgnsm.org/sites/interfaces.orgnsm.org/files/styles/large-landscape-or-portrait/public/itw_homepage_2_0.png?itok=zrQuef0l Post referencing setup http://interfaces.orgnsm.org/node/132 <?php // Adds custom post type for Projects and Services function create_post_type(){ register_post_type('project', array( 'labels' => array( 'name' => __('Projects'), 'singular_name' => __('Project') ), 'taxonomies' => array('category'), 'public' => true, 'has_archive' => true, 'capabilities' => array( 'edit_post' => 'edit_project', 'edit_posts' => 'edit_projects', 'publish_posts' => 'publish_project', 'read_post' => 'read_project', ), 'supports' => array( 'title','editor','thumbnail' ), ) ); register_post_type('service', array( 'labels' => array( 'name' => __('Services'), 'singular_name' => __('Service') ), 'public' => true, 'has_archive' => true, 'capabilities' => array( 'edit_post' => 'edit_service', 'edit_posts' => 'edit_services', 'publish_posts' => 'publish_service', 'read_post' => 'read_service', ), 'supports' => array( 'title','editor','thumbnail' ), ) ); } add_action('init','create_post_type'); function add_theme_caps(){ $subscribers = get_role( 'subscriber' ); //$subscribers->add_cap( 'edit_project' ); //$subscribers->add_cap( 'edit_projects' ); //$subscribers->add_cap( 'publish_project' ); $subscribers->add_cap( 'read_project' ); $subscribers->add_cap( 'read_service' ); $admins = get_role( 'administrator' ); $admins->add_cap( 'edit_project' ); $admins->add_cap( 'edit_projects' ); $admins->add_cap( 'publish_project' ); $admins->add_cap( 'read_project' ); $admins->add_cap( 'edit_service' ); $admins->add_cap( 'edit_services' ); $admins->add_cap( 'publish_service' ); $admins->add_cap( 'read_service' ); } add_action('init','add_theme_caps'); // Adds custom field to the PROJECT custom post type function add_project_metas(){ add_meta_box( 'project_service-meta', 'Service', 'project_service', 'project', 'normal', 'low' ); } add_action('admin_init','add_project_metas'); function project_service(){ global $post; $custom=get_post_custom($post->ID); $project_services=$custom['project_service'][0]; $project_services=unserialize($project_services); $args=array( 'post_type'=>'service', 'posts_per_page'=>'200', 'orderby'=>'title', 'order'=>'ASC' ); $loop=new WP_Query($args); while($loop->have_posts()):$loop->the_post(); echo('<div><input type="checkbox" name="project_services[]" value="'.get_the_ID().'" id="project_service_'.get_the_ID().'"'); if(is_array($project_services)&&in_array(get_the_ID(),$project_services)) echo(' checked="checked"'); //checked($project_services,get_the_ID()); echo('><label for="project_service_'.get_the_ID().'">'.get_the_title(get_the_ID()).'</label></div>'); endwhile; } function save_details(){ global $post; update_post_meta($post->ID,'project_service',$_POST["project_services"]); } add_action('save_post','save_details'); ?> ]]> 132 Thu, 01 Dec 2016 16:46:51 -1000 Covidien Portal http://interfaces.orgnsm.org/node/36 ]]> 36 Thu, 03 Nov 2016 14:38:17 -1000 http://interfaces.orgnsm.org/sites/interfaces.orgnsm.org/files/styles/large-landscape-or-portrait/public/2014-02-03_1.png?itok=R5zFP4zs Foster Care Training http://interfaces.orgnsm.org/node/131 ]]> 131 Tue, 25 Oct 2016 10:58:38 -1000 http://interfaces.orgnsm.org/sites/interfaces.orgnsm.org/files/styles/large-landscape-or-portrait/public/fostercaretraining_1.png?itok=RsX5KtlF AG & Associates http://interfaces.orgnsm.org/node/130 ]]> 130 Tue, 25 Oct 2016 10:57:52 -1000 http://interfaces.orgnsm.org/sites/interfaces.orgnsm.org/files/styles/large-landscape-or-portrait/public/agassociates_1.png?itok=8e78XVFA Calvin Associates http://interfaces.orgnsm.org/node/129 ]]> 129 Tue, 25 Oct 2016 10:57:28 -1000 http://interfaces.orgnsm.org/sites/interfaces.orgnsm.org/files/styles/large-landscape-or-portrait/public/calvin_2.png?itok=zy0cDiNQ Ferber Law http://interfaces.orgnsm.org/node/128 ]]> 128 Tue, 25 Oct 2016 10:41:45 -1000 http://interfaces.orgnsm.org/sites/interfaces.orgnsm.org/files/styles/large-landscape-or-portrait/public/ferberlaw_1.png?itok=_Y6l_Vqr