33 Commits

Author SHA1 Message Date
0895f212c6 improved docs about tag option in HTML options 2016-07-03 10:57:47 +02:00
cd7039e97c WIP #10764 2016-02-07 16:39:41 +01:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
b548c8f710 Fixed determine active menu item with url-alias in route
close #8900
2015-06-25 23:53:48 +02:00
91a6e4bc8e Fixed incorrect URL config processing at yii\web\Application::handleRequest() and yii\widgets\Menu::items if route element is not a first one 2015-04-22 17:43:15 +03:00
cafd135022 Fixes #8064: Added ability to remove containing menu tag by setting yii\widgets\Menu::$options['tag'] to false 2015-04-15 13:21:14 +03:00
81bcd116a8 Added "submenuTemplate" property for "items" config in Menu widget
fixes #5681
close #5897
2015-03-01 00:33:00 +01:00
a5b9aec6cd Fixed phpdoc typo 2015-02-24 03:05:43 +03:00
02f8f7ef9d Fixes #7332: Added ability to remove yii\widgets\Menu container tag by setting options['tag'] to false 2015-02-24 02:06:42 +03:00
e385f323eb Update Menu.php
The feature:
http://getbootstrap.com/components/#list-group-linked

Currently, Menu isnt capable of creating a bootstraps list-group-linked because:
- Menu forces a item container around the link

Menu does allow:
- defining the tag of the menu container
- defining the tag of the item container
- defining the template of the link

This means, that it is a small step to enable a menu like the list-group-linked in which:
- menu container is a DIV
- there are no item containers
- there are only links which should get the correct status by the (link)template

I provided a patch in which you can set the item-tag on false. When this is done,
the item tag is ignored and no LI is created, which is necessary for the list-group-linked.
2015-02-24 01:52:00 +03:00
03a9ed70b2 Fixes #6557: Link URLs generated by yii\widgets\Menu are not encoded 2014-12-17 22:08:20 -05:00
9ae538e602 Fixed doc [skip ci] 2014-11-27 22:03:31 -05:00
79f9f85ff2 Fixes #4024, Fixes #4028 2014-06-24 02:43:42 +04:00
85fd823ee6 Added ability to yii\widgets\Menu to encode each item's label separately (creocoder, umneeq) 2014-06-24 00:34:17 +03:00
f27edcc27d Fix Menu bug when using template with encodeLabel => false 2014-06-12 20:30:56 +03:00
d2fcbcc0e0 Hide menu container tag when items is empty 2014-05-30 02:19:07 +03:00
0b29c9607d fixed broken API links [skip ci] 2014-04-09 22:22:49 -04:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
ca3b2cd057 Fix some references to removed Html::url in phpdoc 2014-03-11 11:15:21 +01:00
6fff5662df better use @see for See in phpdoc 2014-03-11 05:38:35 +01:00
c94a40e90d added a large amount of missing documentation 2014-03-11 05:38:35 +01:00
5d6c314d4e Adjusted URL helper, fixed usage 2014-03-10 15:25:15 +04:00
92b381795b Adjusted Url helper methods 2014-03-10 01:34:05 +04:00
3400eb5215 #2630: yii\heplers\Html::url moved to new yii\helpers\Url::create 2014-03-09 16:41:55 +04:00
150d71368b Merge branch 'request-params-refactoring' of github.com:cebe/yii2 into cebe-request-params-refactoring
Conflicts:
	framework/CHANGELOG.md
2014-01-26 17:41:14 -05:00
c74db68ce7 Fixes #1974. 2014-01-22 12:55:35 -05:00
e7e6bee928 replaced usages of $_GET with Request::queryParams 2014-01-21 15:13:51 +01:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
17807874b6 Fixes issue #53: implemented Menu. 2013-05-07 15:46:21 -04:00
48d04fbb8c !== array() => !empty() 2013-05-07 19:57:27 +04:00
235ad40c2b Menu WIP 2013-05-06 14:52:26 -04:00