Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CakePHP 3.x Helpers for Bootstrap 3 and 4.

License

NotificationsYou must be signed in to change notification settings

CakePHP-Bootstrap/cakephp3-bootstrap-helpers

 
 

Repository files navigation

Software LicenseTravisPackagist

CakePHP 4.x Helpers to generate HTML with @Twitter Boostrap style:Breadcrumbs,Flash,Form,Html,Modal,Navbar,Card andPaginator helpers available!

How to... ?

Installation

If you want theBootstrap 4 version of the plugin:

  • Add the plugin to yourcomposer.json:
# Stable version:composer require holt59/cakephp3-bootstrap-helpers:4.0.3
$this->loadHelper('Html', ['className' =>'Bootstrap.Html',// Other configuration options...]);

Breaking changes from previous versions

  • FormHelper:

    • it is not possible to place error message in a separate column in horizontal form, the error messagewill always be put below the input.
  • NavbarHelper:

    • the following options of thecreate() methods have been removed or have had their meaning changed:
      • static is nowsticky
      • responsive has been dropped and replace by acollapse option with the following meaning:truefor always collapsed,false for never collapsed, or a string representing indicating when the contentshould collapse ('lg' is the default).
      • fluid has been dropped.
      • container is a new option (bool, default isfalse) to indicate if the content of the navbarshould be wrapped inside a<div></div>.
      • inverse has been dropped.
    • a newtheme option has been added to thecreate() method to control, possible values are'light','dark',false (no theme), or an array[$theme, $bg].
    • when adding alink() to an inner menu, the$linkOptions parameters is not usable anymore and the$options parameters should be used directly (their are no wrapping<li> anymore for inner menu).

The full plugin documentation is available athttps://holt59.github.io/cakephp3-bootstrap-helpers/.

Table of version and requirements

VersionBootstrap versionCakePHP versionInformation
master3>= 3.7.0Current active V3 branch.
4.0.34>= 3.7.0Current active V4 branch.
4.0.24>= 3.7.0Latest V4 release.
3.1.43>= 3.7.0Open issue(s) if necessary.
<=3.1.23< 3.4.0Deprecated.

Contributing

Do not hesitate topost a github issue orsubmit a pull request if you find a bug or want a new feature.

Who is using it?

Non-exhaustive list of projects using these helpers, if you want to be in this list, do not hesitate toemail me or post a comment onthis issue.

Copyright and license

The MIT License (MIT)

Copyright (c) 2013-2020, Mikaël Capelle.

Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.

SeeLICENSE.


[8]ページ先頭

©2009-2025 Movatter.jp