Posts by Daniel Santos • 35 points
9 posts
-
0
votes0
answers851
viewsQ: I cannot run the command "php Artisan Storage:link"
Is there any way to execute this command on a server like hostgator? on my pc I can only with administrative rights, but in connection with hostgator it is not possible to appear the following error…
-
0
votes1
answer93
viewsA: Pagination Laravel
I managed to solve, it was my foreach on the php page that was wrong, I changed to @if($categories->count()>0) @foreach($categories as $post) and it worked.…
-
0
votes1
answer93
viewsQ: Pagination Laravel
I want to filter a page by category and create her pagination.. Here is the route Route::get('/category/{id}',[ 'uses' => 'FrontEndController@category', 'as' => 'category.single' ]); The…
-
0
votes3
answers558
viewsQ: Display only part of the text in an Html page
I would like to display only part of a String that contains a text. Make a "Click to read more", I tried with substr but since I don’t know what character a word ends in, he cuts the text in the…
-
0
votes2
answers426
viewsQ: Interpretation of Tags with HTML
I am programming using the Laravel framework and normally to use PHP within HTML use double keys {{ $variavel }} When I should interpret the HTML inside this variable I use {!!$variavel!!} I didn’t…
-
1
votes1
answer93
viewsQ: Leave the selected item marked in the menu
I took this example of menu $(function(){ var menu = $('.menu-navigation-round'); menu.slicknav(); // Mark the clicked item as selected menu.on('click', 'a', function(){ var a = $(this);…
javascriptasked Daniel Santos 35 -
0
votes0
answers66
viewsQ: Doubts about the $_GET variable
I have this research form And I’m getting her fee for the $_GET on this route $app->get("/search", function() { $page = (isset($_GET['page'])) ? (int)$_GET['page'] : 1; $pagination =…
-
0
votes1
answer197
viewsQ: How to make a database query with multiple filters
I have this list of filters I can receive all her normal values in an array by get method, but I’m having doubts about how to do this search with several filters, I performed a filter for example…
-
1
votes0
answers106
viewsQ: include no Raintpl
I use Raintpl and I’m trying to make a include on a page by calling a page from the previous folder, but I’m not able to make it work, in the same folder it works like this {include="cities-search"}…