Tag archives for interface

PanelTableUI - CakePanel

PanelTableUI is a component you can use to generate tables.

In many application interfaces you generates data-sheets to be served as tables:

// UsersController.php
public function index() {
  $this->set( 'list', $this->paginate() );
}

You can use PanelTableUI to present an HTML TABLE in a very easy way:

// Users/index.ctp
App::uses('Vendor', 'CakePanel.PanelTableUi');
$tb = new PanelTableUI($this);
echo $tb->render($list);

// or a more compact notation using CakePanel.Panel helper:
echo $this->Panel->table( $list );

Result may be something like:

  • all data sheet columns are presented into resulting table
  • some css classes are applied to beautify data-table (thanks to TwitterBootstrap!)
  • columns are sortable!

All of these features comes with zero configuration!

… but there are several things you can configure to fit your needs!

Continue reading »

Posted in CakePOWER | Leave a comment

How to create a quick menu in your view

Quick Menu is a very simple way to change the scope of an admin action with a click.

If you are editing a user profile you are doing something like:

  • controller: users
  • action: edit
  • scope: 53 (the user’s id)

When you need to switch to another user profile you need to change the scope of your action, not the action itself so a little jump menu may be the really easiest way to perform this action.

Continue reading »

Posted in CakePHP | Leave a comment

PowerMenu – an interface for building menus

If you build web apps like me you often need menus in your admin interface (or public too) to teach your users about the app capabilities.

This post show you how easy is to build and edit menus with CakePower!

Continue reading »

Posted in CakePHP | 3 Comments

Swedish Greys - a WordPress theme from Nordic Themepark.