82 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for codingin

I am new to Laravel. I am now able to register users, log them in. But after login, I don't want to display register and login pages. I want to display logout link. This is easy for me with core php. I want something similar like the one below. <?php …

Member Avatar for Alisha_8
1
146
Member Avatar for jj.dcruz

I have this code foreach loop it will get the first data form my table every iteration on the next output. I would like to have a guidance on this <select class="selectpicker form-control" data-live-search="true"> @foreach ($IncidentTypes as $Incident) <optgroup label="{{ $Incident->incident_type ." ". $Incident->id }}"> @foreach ($Incident->IncidentSubType as $subTypes) <option> …

Member Avatar for Dani
1
221
Member Avatar for jeffersonalomia

Hi, I would like to ask how to redirect to another page, like for example dashboard page (because normally after successful login it will redirect the user to home page) ? I am new at laravel environment and I will highly appreciate all your comments and looking forward to learn …

Member Avatar for Dani
0
75
Member Avatar for muralibobby2015

Can anyone please help on this. Tenanti Version: ^5.0 Laravel Version: 7.x PHP Version: 7.4 Database Driver & Version: mysql-5.7.31 **Description**: When I install tenanti version getting an error in service provider. Illuminate\Contracts\Container\BindingResolutionException Unable to resolve dependency [Parameter #1 [ array $config ]] in class App\Providers\AppServiceProvider Steps To Reproduce: "orchestra/tenanti": …

0
71
Member Avatar for jeffersonalomia

Hi, I would like to ask for help regarding on passing multiple data or array in View Composer The error that I encounter is **Trying to get property 'settings_cust_comments' of non-object (View: B:\projects\web\redesign\resources\views\myapps\myapps\index.blade.php)** Please see code below Thanks in advance MyComposer.php <?php namespace App\Http\View\Composers; use Illuminate\View\View; use App\Model\MyApp\SettingsApps; use App\Model\MyApp\SettingsMainMenu; …

0
54
Member Avatar for beniwalsanjeev

I have a website, got it developed from someone, Need help in redirecting back after login in php. After Login it redirects to Home Page. But i want user to go back where he came from. logincontroller.php public function checklogin(Request $request){ $phone = DB::table('users')->where('contact','=',$request->input('code').$request->input('contact'))->get(); if(count($phone)>0){ $user_data = array( 'email' => …

Member Avatar for Dani
0
288
Member Avatar for Turkish_1

Hello guys and gals. I have finally launched my new website and hope I can get your ideas on the design. The name of the site stands out what it will be used for. The best of all is that it is Free ! Please take a look here https://TurkishClassified.com …

Member Avatar for Dani
0
189
Member Avatar for SpottyBlue

Hi, I do need help with my solo project called Salary Expenses project in PHP and Laravel and I don't see any data for the current month in the **Monthly Expenses page**, even the data is recorded during the current matching month. Can help? My project file: https://drive.google.com/open?id=11qrmVHOwdgiiYQbw981o4y_CNp9DrTUM

0
221
Member Avatar for azegurb

Hi there, recently I have created stored procedure in **Postgres Sql** which deals about with hashing passwords. When used via **pgAdmin** tool it works like a charm as stated below. SELECT horeca_user.update_token( 1, //user_id 1, //type 'sdsfsdfs' //token ) I have also installed extension **pgcrypto**. It works when called via …

0
246
Member Avatar for SpottyBlue

Hi, When I was trying to create the IT Request Form and testing it out, I got some problems during the testing. The home page (index.blade.php) ended up getting an error called "Undefined offset: 1", maybe due to the table database problem. ![0TyCAu.png](/attachments/large/4/8730ed8f11be3f5ed672376eee11d83f.png) The checkboxes in the Request Form (requestForm.blade.php) …

0
277
Member Avatar for iqlas

Laravel App checks redis database for data pushed by 3rd Party. Laravel Scheduler runs artisan command `php artisan check:redis` every 10 mins. I am expecting about 20k records to be checked every hour at peak times. Please also suggest me if my whole approach as a whole is flawed. 1. …

0
264
Member Avatar for baig772

I am using `passport` in `laravel` for authenticating my users in APIs. I am able to authenticate different types of users from different tables and generating different token for them but the routes are not protected. For example. A user can access the routes like this Route::group(['middleware' => 'auth:api'], function …

Member Avatar for PARDEEP_2
0
967
Member Avatar for davy_yg

I get this message: The foto ktp must be an image. The foto ktp must be a file of type: jpg, jpeg, png. The foto profile must be an image. The foto profile must be a file of type: jpg, jpeg, png. I wonder why it does not pass the …

Member Avatar for davy_yg
0
405
Member Avatar for davy_yg

How to create a button that redirect to certain location in a website which is still on the same page?

Member Avatar for Daniel_87
0
509
Member Avatar for jj.dcruz

Hi there been having this problem for a while now and i need guidance the only thing that is showing me only **111** when looping through i have 3 data in my database and its not showing me the result i want any ideas?? thanks in advance **edit** the result …

0
286
Member Avatar for Jedrzej

Hello! I'm learning to program. I'm watching courses on how to create blogs in "laravel". I created an admin panel with the function of adding the article "form html". it is: title, description, text field - name is "section" I would like to add a button to add another "section". …

0
202
Member Avatar for davy_yg

Hello, I am trying to learn the basic of Installing CRUD Booster in Laravel. I wonder how to create the databases? I cannot understand the manual. http://crudbooster.com/doc/5.3/intro I am getting this error when trying to run: http://localhost/crudbooster/public/admin/login ErrorException (E_ERROR) SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) (SQL: …

Member Avatar for davy_yg
0
2K
Member Avatar for davy_yg

Hello, This is Laravel. After inputting the profile_info I wonder why after checking the dd($here) the result remains the same. I expect it to change the same just like the value that I input. setting.blade.php <div class="setting-box profile-open"> <form role="form" id="form_update_profile_info" method="post" action="{{action('AjaxController@postUpdateprofileInfo')}}"> <div class="form-group"> <div class="col-group"> <textarea style="height: 150px;" …

Member Avatar for pty
0
264
Member Avatar for davy_yg

Hello, I try to send auto mail through laravel using gmail yet getting this error: Swift_TransportException Connection could not be established with host smtp.gmail.com .env MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=465 MAIL_USERNAME=davy.yg1@gmail.com MAIL_PASSWORD=***** MAIL_ENCRYPTION=ssl MailController.php public function SendUndangan(Request $request) { $title = "Undang Saya"; $nama = $request->input('nama'); $telp = $request->input('telp'); $email = $request->input('email'); …

Member Avatar for rproffitt
0
8K
Member Avatar for davy_yg

I wonder why this minus (-) on one place is able to hide the content while the others unable to hide the content, like nothing happen. It has the same codes. You can check the button simulation in : http://fresway.com/ on the right top corner of the articles. apages.blade.php @extends('home') …

Member Avatar for davy_yg
0
426
Member Avatar for davy_yg

Hello, I am trying to understand someone else codes: articles.blade.php <div class="notes-nav"> <a href="#" class="btn btn-green btn-act-delete" onclick="deleteTimeLine(this)" data-id="{{$data->id}}" data-type="article"><img src="{{url('')}}/images//icon-trash.png"/></a> <a href="#" class="btn btn-green btn-act-edit" data-id="{{$data->id}}" data-tittle="{{$data->tittle}}" data-content="{{$data->content}}" ><i class="fa fa-pencil"></i></a> @if($data->status=="0") <a href="#" class="btn btn-green btn-publish" data-toggle="tooltip" data-placement="top" title="publish?" data-id="{{$data->id}}" data-status="1"><span class="glyphicon glyphicon-ok"></span></a> @else <a href="#" class="btn btn-green …

Member Avatar for gentlemedia
0
350
Member Avatar for davy_yg

Hello, I wonder how do you create auto send invoice everyyear as scheduled for each client that you have? Can you create such a program with laravel? Thanks.

Member Avatar for gentlemedia
0
216
Member Avatar for davy_yg

Hello, This is laravel. Please help me fix the quotation so that my program works. <button type="button" onclick="window.location.href = 'route('pemesanan')';">Beli</button> If I click Beli (buy) it should run pemesanan (order) route. I don't think the route works correctly. please help me fix the quotation around the route. Thanks in advance.

Member Avatar for AndrisP
0
293
Member Avatar for davy_yg

Call to undefined function routes() (View: C:\xampp\htdocs\Julmarice\framework\resources\views\soulfy\apages.blade.php) Why this is undefine? apages.blade.php <form action="{{ routes('navcolor') }}" method="post"> <div style="color: white;">Select Pages Navigation Color :</div> {{ csrf_field() }} <select name="NavColor"> <option value="black">Black</option> <option value="blue">Blue</option> <option value="gray">Gray</option> <option value="brown">Brown</option> </select> <input type="submit" value="Submit"><br><br> </form> routes.php Route::post('/home/navcolor', 'SettingController@postNavColor')->name('navcolor'); SettingController.php public function postNavColor(Request $request) …

Member Avatar for davy_yg
0
7K
Member Avatar for davy_yg

Hello, This time I am having problem with html tag. pages.blade.php <section id="container"> <menu></menu> <cont> <center><b>{{ $pages2->pages_title }}</b></center><br> {!! $pages2->pages_content !!} </cont> <sidenav> @foreach( $pages as $p) <a href="{{url('')}}/home/pages/{{ $p->id }}">{{ $p->pages_name }}</a><br><br> @endforeach </sidenav> </section> If I let the html appears: {{ $pages2->pages_content }} This is the title and …

0
214
Member Avatar for davy_yg

Hello, I have two files with slightly different codes from two different programmer. Me and the other guy. And I would like to move part of the working feature from one file to the other codes. Any software that could compare php / laravel codes and highlight the difference? Something …

Member Avatar for Reverend Jim
0
560
Member Avatar for muralibobby2015

I have developed Laravel application which allows dynamic subdomains. I mean single code for all tenants.each tenant will have separate database. But how can I setup crons for each subdomain?

Member Avatar for cereal
0
428
Member Avatar for davy_yg

Hello, I wonder why this code won't work: HomeController.php `$content = $email."\n".$phone."\n".$select; ` I expect that it goes to the next line after \n

Member Avatar for diafol
0
328
Member Avatar for davy_yg

Hello, I am trying to utilize facebook comment plugin: Cek this website that I created: http://julmarice.com/ this site consist of many articles. I wonder why after I add the fb comment plugin which is good for different articles it shows the same comments? I would like for different article should …

Member Avatar for pixelsoul
0
248
Member Avatar for davy_yg

Hello, I am trying to print html message: And when I print it out instead of showing the real message it shows me this: " Ini content baru 2 <br/> <br/> <br/> <br/> " I wonder how to make it shows the message only without the html codes.

Member Avatar for diafol
0
193

The End.