TinyMCE in CodeIgniter

My init setting:
selector:’textarea’,
plugins: ‘code, link’,
language: ‘hu_HU’,
entity_encoding : “raw”

TinyMCE to HTML Element in CodeIgniter https://makitweb.com/add-tinymce-to-html-element-in-codeigniter/

How to Change Language in TinyMCE Editor https://makitweb.com/how-to-change-language-in-tinymce-editor/

UTF-8 issues with tinymce?

https://www.tiny.cloud/docs-3x/reference/configuration/Configuration3x@entity_encoding/

https://stackoverflow.com/questions/31051710/utf-8-issues-with-tinymce

TinyMCE UTF-8 saving to MySQL Database
https://stackoverflow.com/questions/20814377/tinymce-utf-8-saving-to-mysql-database

Laravel 5 – Remove Public from URL

Rename server.php in your Laravel root folder to index.php
Copy the .htaccess file from /public directory to your Laravel root folder.

AND Protect your env file:

 

<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>

RewriteEngine On

# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

# Redirect Trailing Slashes If Not A Folder…
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]

# Handle Front Controller…
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

#Added env protect
RewriteCond %{THE_REQUEST} ^.*/\.
RewriteRule ^(.*)$ – [R=404]

</IfModule>

 

More info

https://stackoverflow.com/questions/28364496/laravel-5-remove-public-from-url

+++

Laravel 5 change public_path()

public/ index.php :

$app->bind(‘path.public’, function() {
return __DIR__.’/../’;
});

(My uploads folder in application root/uploads )

Laravel and Sass

Laravel from Scratch #3 – Compile SASS with Laravel Mix

npm install

npm install -g cross-env

npm run watch

_hero.scss

video: 13:38

How to use SASS to create new set of color styles in Bootstrap 4 ?

https://www.geeksforgeeks.org/how-to-use-sass-to-create-new-set-of-color-styles-in-bootstrap-4/

How to create new set of color styles in Bootstrap 4 with sass

https://stackoverflow.com/questions/39382588/how-to-create-new-set-of-color-styles-in-bootstrap-4-with-sass

https://www.codeply.com/go/7qDwaKnBzc/bootstrap-4-sass-add-custom-color

bootsrap 4 theming change colors with Sass

Max: Bootstrap 4 Theme Customization (with Sass) | BOOTSTRAP 4 TUTORIAL

How to customize Bootstrap 4 using Sass https://www.mugo.ca/Blog/How-to-customize-Bootstrap-4-using-Sass

Now, theming is accomplished by Sass variables, Sass maps, and custom CSS. There’s no more dedicated theme stylesheet; instead, you can enable the built-in theme to add gradients, shadows, and more.

Assuming you’re using a package manager like npm

https://getbootstrap.com/docs/4.0/getting-started/theming/

Sass Basics https://sass-lang.com/guide

How to Customize Bootstrap https://bootstrap.themes.guide/how-to-customize-bootstrap.html

https://bootstrap.themes.guide/how-to-customize-bootstrap.html https://bootstrapcreative.com/customize-bootstrap-colors/

Color palette generator https://loading.io/me/

Multi mix: https://www.schemecolor.com/multi-mix2.php