Added component.php for popup and print view