{"id":2089,"date":"2020-04-24T17:22:27","date_gmt":"2020-04-24T20:22:27","guid":{"rendered":"https:\/\/danielamaksoud.com.br\/blog\/?p=2089"},"modified":"2020-07-20T01:56:46","modified_gmt":"2020-07-20T04:56:46","slug":"cakephp-como-integrei-com-o-bootstrap","status":"publish","type":"post","link":"https:\/\/danielamaksoud.com.br\/blog\/cakephp-como-integrei-com-o-bootstrap\/","title":{"rendered":"CakePHP: Como integrei com o Bootstrap?"},"content":{"rendered":"<ul class=\"heart-list\">\n<li>Fiz o <em>download<\/em> do <em>Bootstrap<\/em> <a href=\"https:\/\/getbootstrap.com\/docs\/4.5\/getting-started\/download\/\" target=\"_blank\" rel=\"noopener noreferrer\">aqui<\/a>.<\/li>\n<\/ul>\n<ul class=\"heart-list\">\n<li>Salvei o arquivo <b><em>bootstrap.min.css<\/em><\/b> no diret\u00f3rio <b>webroot\/css<\/b>.<\/li>\n<\/ul>\n<ul class=\"heart-list\">\n<li>Adicionei o seguinte c\u00f3digo em <b>templates\/layout\/login.php<\/b> e <b>templates\/layout\/admin.php<\/b>:<\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"html\"><!-- <?= $this->Html->css(['bootstrap.min']) ?> -->\r\n<\/pre>\n<ul class=\"heart-list\">\n<li>Salvei o arquivo <b><em>bootstrap.min.js<\/em><\/b> no diret\u00f3rio <b>webroot\/js<\/b>.<\/li>\n<\/ul>\n<ul class=\"heart-list\">\n<li>Adicionei o seguinte c\u00f3digo em <b>templates\/layout\/login.php<\/b> e <b>templates\/layout\/admin.php<\/b>:<\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"html\"><!-- <?= $this->Html->script(['bootstrap.min']) ?> -->\r\n<\/pre>\n<ul class=\"heart-list\">\n<li>Salvei o arquivo <b><em>popper.min.js<\/em><\/b> no diret\u00f3rio <b>webroot\/js<\/b>.<\/li>\n<\/ul>\n<ul class=\"heart-list\">\n<li>Adicionei o seguinte c\u00f3digo em <b>templates\/layout\/admin.php<\/b>:<\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"html\"><!-- <?= $this->Html->script(['popper.min']) ?> -->\r\n<\/pre>\n<ul class=\"heart-list\">\n<li>E pronto!<\/li>\n<\/ul>\n<ul class=\"heart-list\">\n<li>\u00c9 necess\u00e1rio retirar as <em>tags<\/em> de coment\u00e1rio em <em>HTML<\/em> para que os c\u00f3digos em <em>PHP<\/em> acima funcionem.<\/li>\n<\/ul>\n<p><\/p>\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/danielamaksoud.com.br\/blog\/wp-content\/uploads\/2020\/04\/makeup-makeover.gif?ssl=1\"><figcaption>\u00c9 agora que as p\u00e1ginas v\u00e3o ficar arrumadas!<\/figcaption><\/figure>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fiz o download do Bootstrap aqui. Salvei o arquivo bootstrap.min.css no diret\u00f3rio webroot\/css. Adicionei o seguinte c\u00f3digo em templates\/layout\/login.php e templates\/layout\/admin.php: Salvei o arquivo bootstrap.min.js no diret\u00f3rio webroot\/js. Adicionei o&#8230;<\/p>\n<div class=\"post-bottom\"><a class=\"button\" href=\"https:\/\/danielamaksoud.com.br\/blog\/cakephp-como-integrei-com-o-bootstrap\/\">Leia Mais<\/a><\/div>\n<div class=\"cf\"><\/div>\n","protected":false},"author":1,"featured_media":2049,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[55,59],"tags":[62,56,57],"class_list":["post-2089","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-desenvolvimento-web","category-projeto","tag-cakephp","tag-desenvolvimento-web","tag-php"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/danielamaksoud.com.br\/blog\/wp-content\/uploads\/2020\/04\/pink-frosting.png?fit=3375%2C2250&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paVjRH-xH","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/danielamaksoud.com.br\/blog\/wp-json\/wp\/v2\/posts\/2089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/danielamaksoud.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/danielamaksoud.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/danielamaksoud.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/danielamaksoud.com.br\/blog\/wp-json\/wp\/v2\/comments?post=2089"}],"version-history":[{"count":12,"href":"https:\/\/danielamaksoud.com.br\/blog\/wp-json\/wp\/v2\/posts\/2089\/revisions"}],"predecessor-version":[{"id":2116,"href":"https:\/\/danielamaksoud.com.br\/blog\/wp-json\/wp\/v2\/posts\/2089\/revisions\/2116"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/danielamaksoud.com.br\/blog\/wp-json\/wp\/v2\/media\/2049"}],"wp:attachment":[{"href":"https:\/\/danielamaksoud.com.br\/blog\/wp-json\/wp\/v2\/media?parent=2089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/danielamaksoud.com.br\/blog\/wp-json\/wp\/v2\/categories?post=2089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/danielamaksoud.com.br\/blog\/wp-json\/wp\/v2\/tags?post=2089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}