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.
Vendor andrevanzuydam Package tina4cms Short Description Tina4 CMS Module License
MIT
FAQ
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
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.
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package andrevanzuydam/tina4cms contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.