PHP code example of despark / html-template-curator
1. Go to this page and download the library: Download despark/html-template-curator library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
@@<script>
$(function () {
$('.js-artice-template').templateEditor('#content');
/* In addition you can define the currently selected template with its value in select box as second parameter - usefull when editing already saved page. And custom selector for the container, which will contain the visual presentation of the template as a 3rd parameter
E.g. $('.js-artice-template').templateEditor('#content', 'book', '#my_selector');*/
});
</script>
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.