#### Category : bootstrap-4

i’m new in the Laravel world, i have a question how i solve the problem ? I as Laravel 8 and Bootstrap 4 , I want to as Bootstrap Tab to call the Category ‘type’ My Database . my code is web.php : Route::get(‘products’, [ProductsController::class, ‘index’])->name("allProducts"); 2-ProductsController.php public function index(){ products = Product::paginate(8); return view("allproducts", .. Read more I am using an AdminLte template, which I use as a layout. In the part where I am going to put the content it is like this: <div class="content-wrapper"> <section class="content"> @yield(‘content’) </section> <!– /.content –> </div> In the view where I have the content to display I have: @extends(‘layouts.app’) @section(‘content’) <div> <img class="mx-auto my-auto .. Read more I’ve got problem with self-created sidebar in admin panel. It works fine on desktop, but I want that in mobile it should change position to top. At this moment it looks like this: LINK <div class="col-3" id="sticky-sidebar"> <div class="sticky-top"> <div class="card-body" align="center"> <h4>Admin Panel</h4> <div class="nav flex-column" align="center"> <div class="sidebar-menu-header"> <h5>Site</h5> </div> <button class="btn btn-outline-dark .. Read more I am trying to create a table which is scrollable within mobile view. Blade Below is the blade view which contains the table with the data which works fine within desktop view <div class="row"> <div class="col"> <div class="table-responsive"> <div class="table"> <div class="row table-head d-none d-md-flex"> <div class="col">Name</div> <div class="col">Email Address</div> <div class="col">Member Status</div> </div> @foreach(user->linkedUsers ..

this my view code here i try to do form with validate and div with type of errors: @if(count($errors) > 0) <div class="alert alert-danger"> <ul> @foreach ($errors->all() as $error) <li>{{$error }}</li> @endforeach </ul> </div> @endif <form action="add" method="POST"> {{ csrf_field() }} <!–Securite–> Product name <input type="text" value="{{ Request::old(‘name’) }}" class="form-control {{ $errors->has(‘name’) ? ‘is-invalid’ .. Read more I need to create a data collection, which will be recording as many times as the foreach runs, what is happening to me is that I only record the data from the last time the foreach runs. how can I solve? foreach($proposedphasesizes as $proposedphasesize) {$customizations = $proposedphasesize->customizations()->get();$counter = $proposedphasesize->customizations()->count(); foreach($customizations as $customization) { .. Read more I´m traying to show data en my modal with vueJS and Laravel. but when i clicked in my button to open modal and show data… my modal lose all shape. is how duplicate form also don´t show correct the data. If i do click in other button to show other object…. i have a function .. Read more Hello I have created two projects on Laravel one for Voyager package and other has my front end of my e commerce website. I have stored my entries on my database Named "LaravelPro" through Voyager successfully, but Now I wish to retrieve the stored data on the project which has front end of my website .. Read more I made a new project in Laravel where I’m attempting to edit the bootstrap HTML for the home page. Simple enough, I have experience with bootstrap. The default home page looks like this. So I went ahead and deleted the columns and page content and created my own. For example, here’s the very simple layout .. Read more Can someone tell me why do my cards stack like this: https://prnt.sc/vgvqkx Instead of going 3 in a row (I am using a free bootstrap template and the code is copy-pasted but for some reason, it does not work like in template): https://prnt.sc/vgvr7h Here is the part of the code from laravel blade: <div> @foreach($products ..

So basically i have a Dropdown-item and it should direct to a page but to get the right content a cookie needs to get a value . Is there a way to do both of these actions in one? The Value can be set by calling on a funktion in a different controller or an ..

Hi I am working on an existing project which use yajra laravel-datatables for its datatable usage, included yajra package installed via composer.json the problem I am facing is unable to wrap text properly, below is the screenshot of the problem appear when I put more character limit than the usual column can handle column address ..

I have created a custom.scss file next to the scss file locatce within the bootstrap node module on my laravel server, the contents of the file are /* custom.scss */ /* import the necessary Bootstrap files */ @import "~bootstrap/scss/functions"; @import "~bootstrap/scss/_variables"; //@import "~bootstrap/scss/mixins/_breakpoints"; /* make changes to the !default Bootstrap variables */ grid-breakpoints: ( xs: .. Read more The pagination is not working correctly, the arrows are all wrong. print here: https://prnt.sc/v82bfa My code: ´´´ ´´´ Sourc.. Read more I’m new in laravel and bootstrap ,i need to get the selected value of a dropdown button of bootstrap and send this value to my database Below the code of dropdown list button : <div class="dropdown col-md-6" aria-labelledby="dropdownMenu2"> <button class="btn btn-secondary dropdown-toggle" name="qty" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Quantity % </button> <div class="dropdown-menu" aria-labelledby="dropdownMenu2"> <button .. Read more I am currently creating a page which displays a collection of users within cards which allows someone to cancel the user via a button for each card but i am having issues linking the modal to the card so when you select cancel it loads up the correct user. Card This contains the card styling .. Read more I am currently creating a laravel bootstrap page and i am having issues trying to align the content on the page. I am fairly new to front end work so i am slowly learning the different aspects of Bootstrap but im not sure how to go about aligning content for a page i am trying .. Read more I’m looking for a solution on my problem. I’m using bootstrap4 on laravel project. I have a modal that has a button which close it self and open a new modal. This is the code:("#newAddressBtn").on(‘click’, function () { $(‘#modalAddressees’).modal(‘hide’)$(‘#modalAddressees’).on(‘hidden.bs.modal’, function () { // Load up a new modal… $(‘#modalNewAddress’).modal(‘show’); }) }); Inside this .. Read more I’m trying to display dynamic data in bootstrap tabs. For that I want to add active class to the first item. How can I do that?? My blade code <div id="rootwizard"> <ul class="nav nav-tabs wizard" role="tablist"> @foreach($places as $place) <li class=" active" style=""><a href="#{{$place->id}}" role="tab" data-toggle="tab">{{$place->name}}</a></li> @endforeach </ul> <div class="tab-content"> @foreach($places as $place) <div .. Read more I have an idea of doing basic posting website, which takes input may be from an input box and display it on another page called "Feeds", like general twitter, how can I do it and what framework should I use??? Sourc.. Read more I was testing this new laravel fortify with laravel 8 and got into an odd issue that I’ve never seen before. for the input field validation of the registration form and login form, the blade error message that I made doesn’t show if I don’t use @error(‘[field name]’) is-invalid @enderror to add the is-invalid class .. Read more I have a Laravel site that is beautifully responsive on my local machine, but after deploying to Godaddy server it is stuck like I’m on a mobile device, with the hamburger menu and huge fonts. I searched for this issue, but I can only find the opposite problem…desktop stuck on mobile. The meta tag for .. Read more I have made a simple project in Laravel. I am using Livewire v^2.2. When I add the code as described in the documentation, the previous and next buttons are dead. The code in php Component is: // If I comment this out, the view is horrible but is working. // use WithPagination; // protected$paginationTheme ..