Simple Content Folder Integration Tutorial
How it works:
- Generate static HTML pages in a subfolder of the site, based on static HTML templates.
Simple Content Folder Limitations:
- No Redirect Support
- No Server-side code in pages (unless publish templates are used)
Overview:
The simple content folder is the easiest integration method - serving fully generated HTML files out of a public subfolder of the Laravel application. This does not require installing the jsHarmony CMS SDK.
Watch Video Tutorial
Integration:
- In the jsHarmony CMS, on the Sites tab, create a new Site
- In the Site Settings, add a Deployment Target:
- Configure the Deployment Target to publish to a public folder in the Laravel application
- Set the URL Prefix to "/" if CMS files will be available off the root of the target domain, or otherwise set URL Prefix to the path prefix
* Files can be published to a subfolder, but still served as root. More information is available in the Apache / .htaccess Integration tutorial.
- Create a Page Template:
- Local Page Templates can be defined in the CMS, by using the Site's SFTP
:: Creating Page Templates
- Remote Page Templates can be defined in a public subfolder of the Laravel application, and linked to the CMS in the Site Settings "Page Templates" tab.
:: Configuring Remote Page Templates
- Add CMS content and publish to the Deployment Target, generating HTML files in a public subfolder of the Laravel application
Video Tutorial: