Comments (5)
'template' => '<a href="{url}" data-method="post">{icon} {label}</a>'
from yii2-adminlte-asset.
Thanks! githubjeka
from yii2-adminlte-asset.
I`m refactor template, but this solution is also good, many thanks for link.
from yii2-adminlte-asset.
Thank you.
Great coding.
from yii2-adminlte-asset.
Add {linkOptions} in template
public $linkTemplate = '<a href="{url}" {linkOptions}>{icon} {label}';
and Add in renderItem in $replacements array
'{linkOptions}' => isset($item['linkOptions'])?http_build_query($item['linkOptions'],null, " "):'',
and now we can use linkOptions in this widget.
from yii2-adminlte-asset.
Related Issues (20)
- AdminLTE 3 HOT 49
- Modify size of left panel HOT 2
- The file or directory to be published does not exist HOT 2
- Update to AdminLTE 2.4.9 HOT 5
- Missing Layout Options tab?! HOT 5
- Box Refresh won't reload HOT 3
- url type error: How to prevent the Adminlte Asset layout render? i.e: http://backend.test/hfffhfhf HOT 2
- Add `badge` property to widgets\Menu HOT 3
- after yii2 combining-compressing-assets _all-skins.min.css link to my project web folder HOT 3
- Enable Guided Tour HOT 1
- Modal form HOT 1
- GET .../css/AdminLTE.min.css net::ERR_ABORTED 500 HOT 1
- Multilevel not working HOT 5
- Class 'dmstr\adminlte\web\AdminLteAsset' not found Version 3.0.0 beta1 HOT 1
- menu's options HOT 1
- no menu divider in left.php possible. HOT 1
- kartik's bootstrap 4 dropdowns not work well in adminlte 3
- The support for php 5.4 HOT 1
- Doesn't work kartik GridView in adminlte2. Не работает kartik GridView на adminlte
- bootstrap 5 support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yii2-adminlte-asset.