yii2-tileslidemenu Tile Slide Menu to show tiled images containing links

  1. Requirements
  2. Installation
  3. Usage
  4. Resources

This extension allows you to show a user menu based on tiled images sliding in the screen

This is a port to Yii2 of my previous extension tile-slide-menu


  • Tested on Yii 2.0.0


The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist arturoliveira/yii2-tileslidemenu "*"

or add

"arturoliveira/yii2-tileslidemenu": "*"

to the require section of your composer.json file.


Once the extension is installed, simply use it in your code by :

<?= \arturoliveira\TileSlideMenu::widget(
	'menuTitle'=>'Yii Framework',
			'text' => 'Main Site',
			'text' => 'Demos',
			'text' => 'Guide',
			'text' => 'Class Reference',
			'text' => 'Wiki',
			'text' => 'Extensions',
			'text' => 'Forum',
			'text' => 'Live Chat',
); ?>

The following widget options are available:

  • cssFile - CSS File based on the included CSS file to customize the aspect of the menus

  • menuTitle - A string to show as a menu title. If empty no title is displayed

  • imageWidth - the value for width img tag property. Defaults to 100

  • imageHeight - the value for height img tag property. Defaults to 100

  • defaultImage - The default image to show if no image is configured for a menu item. Defaults to included Yii logo

  • defaultUrlTarget - The default url target. Uses the same allowed values as target property. See http://www.w3schools.com/tags/att_a_target.asp

  • items - array containing the menu items. Each item is allowed to have the following options:


0 0
Yii Version: 2.0
License: BSD-2-Clause
Category: User Interface
Developed by: Artur Oliveira
Created on: Oct 16, 2014
Last updated: 9 years ago

Related Extensions