by Garth | Oct 8, 2022 | MetaBox
############################################################################ // Registration Form Custom Fields Configured Here add_filter( ‘rwmb_meta_boxes’, ‘registration’ ); function registration( $meta_boxes ) { $meta_boxes[] = [...
by Garth | Oct 5, 2022 | Javascript, Vue JS
axios.post(‘/your-url-or-api-destination’, payload) .then((response) => { // Show Success Message this.$bvToast.toast(‘Terms and Conditions Saved’, { title: ‘Success’, variant: ‘success’, solid: true }); })...
by Garth | Sep 30, 2022 | Laravel
class MyCustomClassName { public function __construct() { } public function whatever_whatever(){ // Code goes here. And can use anything from the construct. The construct will always load first }...
by Garth | Sep 29, 2022 | Laravel
A Controller or Class in MVC are both just classes. So… Technically speaking. It is possible to write all your functionality inside your controllers and completely ditch the classes folder. But! The purpose of breaking out into separate classes is re-usability....
by Garth | Sep 29, 2022 | Laravel
Save Function (Update and Add in 1 function based on ID) <?php namespace App\Http\Controllers; use Illuminate\Support\Facades\DB; use Illuminate\Http\Request; class RandomController extends WhateverWhateverController { public function saveTermsAndConditions(Request...
by Garth | Sep 29, 2022 | Laravel
Required Laravel includes use Illuminate\Support\Facades\DB; use Illuminate\Http\Request; Select Query class MySpecialController extends Controller { public function rawQueryFunctionNameSelect(Request $request){ $rawQuery= DB::select( DB::raw( ‘SELECT * FROM...
by Garth | Sep 7, 2022 | CSS, Design, Random Cool, Themes
by Garth | Sep 7, 2022 | Flutter and Dart
contentPadding: EdgeInsets.zero, Stackoverflowhttps://stackoverflow.com/questions/50905591/flutter-how-to-remove-white-spaces-around-dialog-box
by Garth | Sep 2, 2022 | Flutter and Dart
View Full Article Here https://proandroiddev.com/how-to-securely-build-and-sign-your-android-app-with-github-actions-ad5323452ce 2 Encoding the KeyStore The next step treats the encoding of the KeyStore file. At this point, I assume you already own your KeyStore file....
by Garth | Aug 30, 2022 | Windows
In the Administrator: Command Prompt window, type the following commands.Press Enter key after each command: DISM.exe /Online /Cleanup-image /Scanhealth DISM.exe /Online /Cleanup-image /Restorehealth Important: When you run this command, DISM uses Windows Update to...