/viewpath

Viewpath: View file path display plugin for CakePHP

Primary LanguagePHP

Viewpath: View file path display plugin for CakePHP

for Designer…

Features

  • Display (layout, view, element) file path of current page.

Usage

with DebugKit

First, put `viewpath’ directory on app/plugins in your CakePHP application.
Second, add the following code in app_controller.php.

<?php
class AppController extends Controller {
    var $components = array('DebugKit.Toolbar' => array('panels' => array('Viewpath.viewpath')));
}
?>

Requirement

  • DebugKit

Standalone

First, put `viewpath’ directory on app/plugins in your CakePHP application.
Second, add the following code in app_controller.php.

<?php
  class AppController extends Controller {
    var $components = array('Viewpath.Viewpath');

Click icon.

Requirement

  • jQuery

Author

Kenichirou Oyama <k1lowxb@gmail.com>
slywalker <slywalker.net@gmail.com>

License

MIT License