WebsiteBaker Support (2.8.x) > Templates, Menus & Design
(cms-lab.com) Do Lepton templates still work with WebsiteBaker?
seanie_morris:
--- Code: ---[quote author=seanie_morris]
There is the lack of an info.php file, I am going to make one and re-zip the files, see if that helps.[/quote]
While adding the info.php file does get the template installed, the frontend view is all blank. I have the following as the code:
[c[de]<?php
$template_directory = 'spacious137';
$template_name = 'spacious';
$template_version = '1.3.7';
$template_platform = '2.7.x';
$template_author = 'Seanie_Morris';
$template_license = 'Creative Commons Attribution Licence 3.0 / http://creativecommons.org/licenses/by/3.0/deed.de';
$template_description = 'See Licence.txt';
$menu[1] = 'Main';
$menu[2] = 'none';
$block[1] = 'Main';
$block[2] = 'none';
?>
--- End code ---
while also trying variations on 'Main', 'Content', and even leaving out the $menu and $block parameters, but no effect. (Each time I change the info.php file, I create a new template zip file, uninstall the old one in the admin backend, re-install the new zip file and change accordingly under Settings)
Seanie.
Ruud:
--- Quote from: seanie_morris on April 06, 2016, 08:39:41 PM ---The desired template is called 'spacious':
http://themegrill.com/themes/spacious/
--- End quote ---
This website does not provide WB templates.
The download you are looking for is here (half way down the page the "Download" button.
seanie_morris:
--- Quote from: Ruud on April 06, 2016, 11:12:59 PM ---
--- Quote from: seanie_morris on April 06, 2016, 08:39:41 PM ---The desired template is called 'spacious':
http://themegrill.com/themes/spacious/
--- End quote ---
This website does not provide WB templates.
The download you are looking for is here (half way down the page the "Download" button.
--- End quote ---
Thanks for the reply Ruud. The site does say that its templates can be used for both WB and lepton (I've never used Lepton before). The link you're referring to does show requirements that the readme file in the other download link does not show (from the Spacious demo page menu). However, the modules in question do seem to be specific to Lepton, I have just found out.
It seems, unfortunately for my curiosity, that this template can't be used in WB (through no fault of WB). :(
Seanie.
jacobi22:
i try the template (link from Ruud) yesterday. its a TWIG-template and use in Lepton a special module for the TWIG-Engine, called lib_twig
its of couse possible to change the template, that its work in WB, and also, that the template use the wb-own-twig-routine, but its a lot of work and needs also a lot of experience to use the TWIG there. But i'm not sure about the license for this template
this template and also the wordpress-version using different template-files in subfolders to show some functions like header, footer etc. its possible, to put all the files together in one index.php, but TWIG give you more place
Example: here a simple TWIG-Code for the seachbox
--- Code: ---{{ search }}
--- End code ---
its a placeholder for the complete search-form with a input-field, submit-button etc, insert in a droplet
simple methode is a copy from the source code of the demo-page, use it a your index.php together with your info.php in a existed folder of "templates" (named: like your used name in $template_directory)
use the folder structure from the original ZIP also in your copy and set the links to CSS- or JS-files with the normale WB-methodes like
--- Quote ---<link rel="stylesheet" type="text/css" href="<?php echo TEMPLATE_DIR; ?>/css/template1.css" media="screen,projection" />
--- End quote ---
then remove the content from the demo-page in your html-code step by step and set only a small description for you. this template use 6 content blocks, not sure, that you need it also. if yes, you need maybe a php-switch and a buffer for your content. look into other templates for solutions for that.
if i have to port a normale html-project-design (like our templates) to a new wb-project, i replace the the original demo-content with my own content in a simple html-file first, without php-funktions etc, so that i see, how it looks, when i'm finish. maybe the nice effects of this template are gone, if you have to change any structure
all together... its possible, but a job for long winter nights ;-)
seanie_morris:
That is one point worth mentioning: I tried to install the extra modules, then WB was not able to install any other templates or modules after lib_twig is attempted. I found this out yesterday while experimenting. I had to clean out the /temp folder to continue working on the website. When I tried to install the modules relating to the Spacious template, I got neither an error or successful message after it tried to install them. Everything was stored and partially unzipped in the /temp folder. Once I deleted everything in there, the backend returned to normal.
Seanie.
Navigation
[0] Message Index
[*] Previous page
Go to full version