Back to Littlefoot Manual

Create a file at LF/skins/myskin/index.php and select it as the default skin in Skins

Tools

%{relbase}% - $lf->relbase

%{skinbase}% - The public folder of the skin (ie, lf/skins/myskin/)

If you link to a CSS or JS file from the index,

<link href="%{skinbase}%/css/custom.css" rel="stylesheet">

<script src="%{skinbase}%/js/myscripts.js"></script>

it will appear as a link on the right. Clicking that link will open an editor for that file, saving it with content will create the file.

home.php

If you create a home.php from the skin editor, it will make a copy of index.php and load home.php when the home page is loaded on the front end.

Framework

Use the .lf class in a parent element to use our built in framework.

Example: http://littlefootcms.com/XV/

blog comments powered by Disqus