Posts by Raank • 263 points
13 posts
-
0
votes1
answer62
viewsQ: Payment Method divided between accounts
I am developing an E-commerce in which it will have several brands, each brand will have its proper integration with Pagseguro, the question in question is how to separate the values of each brand…
-
1
votes1
answer693
viewsQ: Notifications/Mail com Laravel
I’m having trouble firing notifications with Laravel 5.4, I’ve already followed the steps of the documentation, but was unsuccessful. Follows my code \Larashop Users Notifications Messageuser…
-
0
votes1
answer557
viewsQ: Dynamic routes for Laravel pages
I want to create a dynamic routing system, without having to code gambiarras. Come on. I have the Routes: Route::group([ 'middleware' => ['web'], 'namespace' =>…
-
0
votes2
answers212
viewsA: Issues with Laravel Resources 5.4 within Groups
The simple solution to the case is: route.php Route::resource('admin/products', '\LaraShop\Products\Http\Controllers\ProductsController', [ 'as' => 'admin' ]); Productscontroller.php class…
-
1
votes2
answers212
viewsQ: Issues with Laravel Resources 5.4 within Groups
I’m having trouble trying to access some routes that come from a Resource (products), She’s inside a group, follows my code: Route::group([ 'middleware' => ['web', 'auth'], 'prefix' =>…
-
1
votes0
answers138
views -
0
votes0
answers263
viewsQ: Using Cache from Laravel
I wonder if the way I am working with cache is correct and if you have something more practical for it. Follows the code: <?php namespace App\Modules\Admin\Controllers; use Cache; use Auth; class…
-
0
votes0
answers68
viewsQ: Frequently disconnects Laravel App
I created a CMS on the platform of Laravel 5.2, created the whole user system (login, Register, reset pass, logout), but the user disconnects frequently, already disabled the Middleware…
-
2
votes1
answer545
viewsQ: Skipping git folder inside the repository
How do I ignore folders . git/ and . gitignore within my project? I’m having problems cloning external vendors in my project because of this, every time I clone/download some dependency with Poser…
-
0
votes0
answers73
viewsQ: Model does not load Codeigniter
I am trying to make a Model work, it works on MAC with MAMP PRO, but in Ubuntu with Apache2 it does not work. models/users_model.php <?php if ( ! defined('BASEPATH')) exit('No direct script…
-
5
votes1
answer4759
viewsQ: Change class when resizing screen
I want to change classes as the screen is resized, the code I’m using only works if I refresh the page, I’d like to make the class change without having to refresh the page. Code:…
-
3
votes2
answers374
viewsQ: Joining Modal Bootstrap with HTML5 History API
There is a way to join the modal from Bootstrap (any version) with the API History? The logic would look like this: Opening the modal URL in the navigation bar would change to…
-
2
votes1
answer2117
viewsQ: How to add and remove classes when clicking an SVG path?
I am working with a map of Brazil in SVG, and I need that when you click on a state, it add the "active" class and remove the "active" class from the others. It also has the function of adding the…