I was recently working with one of my SP 2010 Lists and found that tab category List Tools with the Tabs of Items and Lists was missing. It wasn’t too hard to find the problem but I couldn’t find anywhere that gave you step-by-step instructions on how to fix it.

MissingTabs SP

 

The problem is that a Content Editor Webpart was added to the List Page but was left blank. Essentially, someone accidently added an extra webpart but didn’t populate it with any actual data. All the advice I found suggested removing the extra web part. I didn’t know how to do this.

Here’s how

  1. Navigate to the List in question (not a Page displaying the list, but the list itself)
  2. From the Site Actions drop-down (upper left) choose Edit Page
  3. Click the arrow (upper right) of the offending Content Editor Webpart and choose Delete
  4. Then, click the Page Tab
  5. Click Stop Editing

You should now see your tabs where they belong! Hooray.

For more information about how Acumen can help with your SharePoint needs, contact us today!

For additional help, contact Microsoft Support by clicking the link below:

https://support.microsoft.com/en-us

PHP

Getting Started

This tutorial assumes you have the following applications installed:

PHPTools for Visual Studio

DEVSENSE has developed a fascinating plugin for Visual Studio – PHPTools. This plugin supplies IntelliSense and code completion, function definitions and documentation, as well as the ability to debug PHP – all inside of Visual Studio 2012.

Download the PHP Tools trial for free for 30 days to get started. Once it is installed, restart your Visual Studio project.

Creating and Debugging a Solution in Visual Studio

To create a project, go to FILE -> New Project… and select “PHP Web Project” under Templates -> PHP (image: http://d.pr/i/dQeq). Let’s start with some basic PHP for us to debug:

NewProject

< ?php

class Car {
    private $make;
    private $model;
    private $year;

    public function __construct($make, $model, $year) {
        $this->make = $make;
        $this->model = $model;
        $this->year = $year;
    }
    
    public function render() {
        echo $this->year . " " . $this->make . " " . $this->model;
    }
}

$mustang = new Car("Ford", "Mustang", 2002);
$mustang->render();

?>

Now, let’s set a breakpoint on line 19 and press the “Start” button in Visual Studio to debug and let’s see what happens.

Start

Hitting “Start” will allow Visual Studio to hook into your local HTTP server (Apache) and XDEBUG (an extension installed by XAMPP) to allow you to debug (you will see “?XDEBUG_SESSION_START=1” in the URL).

So now they we’ve started debugging, we quickly hit the breakpoint we set. If you right-click $mustang and click “Add Watch”, you can see the value of $mustang. At line 19, it is has not yet been set.

AddToWatch PHP

Press F10 to go to the next line – you will see in your Watches window that we now have a Car object.

Watch1

While on line 20, press F11 to step into the Car->render() function. We can see that the code ready to echo out the variables. Press “Continue” to finish the script and the result will display in your browser.

BrowserDisplay

You have now successfully debugged a PHP script in your browser! This approach can be taken with many applications – including WordPress

See our CMS Web Development Page for more ways we can help you!