Posts by Guilherme Pichok • 163 points
15 posts
-
1
votes0
answers38
viewsQ: How to add an image size to certain type of media in wordpress?
When inserting a post I can select some images to include, such as featured image, images in the body of the post and also by fields created by plugins (e.g., Advanced Custom Fields). These images…
-
1
votes1
answer1006
viewsQ: Ioerror: [Errno 24] Too Many open files
When using the command python generator video.mp4 2 150 80 10 thumbnails.jpg I have the following return Extracting 734 frames [####################################] 100% Frames extracted. Traceback…
-
2
votes1
answer694
viewsA: Laravel 5.3 - About Changing the App Directory
In the archive composer.json alter: "psr-4": { "Massoterapia\\": "app/" } for "psr-4": { "Massoterapia\\": "nome_do_novo_diretorio/" }…
laravel-5.3answered Guilherme Pichok 163 -
1
votes1
answer458
viewsA: Create new users with Laravel 5.3
You can disable this option within the framework’s standard log file: MeuProjeto\vendor\laravel\framework\src\Illuminate\Foundation\Auth\RegistersUsers.php This is the method that performs the…
-
1
votes1
answer380
viewsA: Authenticate in a database and change information in others
You can create a middleware that takes the user’s authenticated bd information and sets a new database configuration: $conn = array( 'driver' => 'mysql', 'host' => 'localhost', 'database'…
-
2
votes5
answers1534
viewsA: Ionic 2 - Status Bar
The configuration is correct. However, my device was Android 5.0 and the Stautsbar works only in later versions, as specified in the documentation. This installation method requires Cordova 5.0+…
-
1
votes1
answer250
viewsQ: Restricted access to authenticated user data - Laravel 5.3
I have a table that relates to another one and this relates to some user. How do I so that only the owner of this relation can change/delete the item. Even if I just bring on the form the records…
-
2
votes5
answers1534
viewsQ: Ionic 2 - Status Bar
I am unable to change the color of my Status Bar with Ionic 2. I have checked the documentation and am doing the following. app js. import {StatusBar} from 'ionic-native'; app.js (constructor())…
-
1
votes1
answer179
viewsQ: Cakephp 3 - Vendors
How do I import a vendor into cakephp3? I tried it this way: require_once(APP . 'Vendor' . DS . 'Dailymotion' . DS . 'Dailymotion.php'); but it returns me the error: Fatal error: require_once()…
-
0
votes0
answers95
viewsQ: Update information without updating the page with Cakephp 3
How do I update some information without updating the page, I am working with Cakephp 3. Ex: I have 2 lists, one with all items and another with favorite items. In the first list I have the option…
-
0
votes1
answer1166
viewsQ: Cakephp 3 - Inner Join
How do I link an article table to a table of favorite articles using cakephp 3. bookmark table: CREATE TABLE IF NOT EXISTS `favorites` ( `id` int(11) NOT NULL, `user_id` int(11) NOT NULL,…
-
0
votes1
answer50
viewsQ: Ajax + Auth Cakephp only returns false
I’m using ajax to log in to my system using Cakephp Page with Ajax <form id="login"> <input type="text" name="username" placeholder="Usuário" required> <input type="text"…
-
0
votes1
answer108
viewsQ: What’s wrong with my Ajax?
My code has no return and I can’t figure out why. index php. <form id="login" method="POST"> <input type="text" name="username" placeholder="Usuário ou email" /> <input type="text"…
-
0
votes1
answer8171
viewsQ: Conversion from site to application
What’s the best way to 'convert' a website (with cakephp) to an android app. I would like to convert with all functions and that the databases were 'synchronized' The functions that it has are…
-
0
votes1
answer448
viewsQ: Cakephp Passing Information Between Controllers
How do I pass information between two controllers, example: I have in my database two tables, one of users and another of books, then I select a book that is in the books table, I take your id and I…