To publish the config, run the vendor publish command
php artisan vendor:publish --tag=cms_config
This will create new config files named
config/network.php. But we don't recommend doing this, it can lead to having to manually change the config file every time you update. Instead, we recommend adding/editing/removing settings in the
Add/edit/remove settings in your file
.env to config according to your needs.
To deny the access from a document in an iframe, we'll need to modify the X-Frame-Options of the header. Websites like YouTube disallow its access from iframes, if you try to embed their website from in an iframe i.e:
<iframe width="1000px" height="700px" src="https://www.youtube.com" ></iframe>
You'll find the error message in the console:
Error : Refused to display 'https://www.youtube.com/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
To deny iframe to your website: (default
The CMS will generate the necessary APIs for use by SPA websites or other applications. If you need to use it, enable it by adding this config to your
.env file (default
You have the ability to create a network of sites by using the multisite feature.
Run the vendor publish command
php artisan vendor:publish --tag=cms_assets