Download the PHP package andrevanzuydam/tina4cms without Composer
On this page you can find all versions of the php package andrevanzuydam/tina4cms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package tina4cms
Tina4 CMS Module
Welcome to the Tina4CMS module, how does it work?
Sqlite is recommended for small to medium websites
Add the database connection to your index.php file which would have been created
Run the CMS
Open up the CMS to set up the admin user
http://localhost:8080/cms/login -> will get you started
The Landing Page - home
You need to create a landing page called "home" as your starting page for things to working properly.
Customization
Make a base.twig file in your /src/templates folder, it needs the following blocks
or an example which extends the existing base in the tina4-cms
Example of a navigation.twig which you can over write
Create a navigation.twig file in your src/templates folder
Including your snippets in the CMS
There are two ways you can do this:
When you want to include content as it is, and not have the snippet parsed with Twig you can simply use the following: Use the raw filter when you want to have scripts or other things included correctly
The following is how you would include a snippet where you want variables in the page for example parsed in the snippet
Example:
Page content of "home"
Snippet content of "mySnippet"
Adding articles into a page
Overwriting the default CMS twig namespace - your own namespace
Page Builder
The page builder should implement GrapeJS and allow you to build pages using blocks and components. The blocks and components should be simple to load. We need to flag off pages that have been edited by the Page builder so the generic CMS does not try to render them.
Themes
Use with care, this is currently experimental but will be introduced into the CMS at some point as a base for the pages Current thoughts are as follows:
Theme Structure
The default theme can be cloned to make other themes.
Examples of extending the CMS Page Builder
In your index.php file where your config is initialized you can define the following.
Our Sponsors
Sponsored with 🩵 by Code Infinity
Supporting open source communities • Innovate • Code • Empower
All versions of tina4cms with dependencies
tina4stack/tina4php Version ^2.0
ext-json Version *
bissolli/php-css-js-minifier Version ^1.1
ext-sqlite3 Version *
